Advertisement
Guest User

Untitled

a guest
Jul 11th, 2012
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.07 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2.                    "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5.   <script src="http://code.jquery.com/jquery-latest.js"></script>
  6.   <link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/css" media="screen" />
  7.   <link rel="stylesheet" href="../webapp/ImageAdjuster.css" type="text/css" media="screen" />
  8.     <script type="text/javascript" src="http://code.jquery.com/qunit/git/qunit.js"></script>
  9.     <script type="text/javascript" src="../shared/js/infusion/MyInfusion.js"></script>
  10.   <script type="text/javascript" src="js/jqUnit.js"></script>
  11.  
  12.   <!-- components being tested -->
  13.   <script type="text/javascript" src="../webapp/js/ImageAdjuster.js"></script>
  14.  
  15.     <script type="text/javascript" src="js/ImageAdjusterTests.js"></script>
  16.  
  17. </head>
  18. <body>
  19.   <h1 id="qunit-header">Image Adjustments Test Suite</h1>
  20.   <h2 id="qunit-banner"></h2>
  21.   <div id="qunit-testrunner-toolbar"></div>
  22.   <h2 id="qunit-userAgent"></h2>
  23.   <ol id="qunit-tests"></ol>
  24.   <div id="main"></div>
  25.    
  26.     <!-- TEST HTML -->
  27.   <div id="flc-image-adjuster-container">
  28.         <ul>
  29.             <li id="flc-image-adjuster-brightness">Bright / Contrast</li>
  30.             <li id="flc-image-adjuster-rotate">Rotate</li>
  31.             <li id="flc-image-adjuster-threshold">Threshold</li>
  32.         </ul>
  33.         <canvas width="750" height="750" id="flc-image-adjuster-canvas"></canvas>
  34.         <form id="flc-image-adjuster-form">
  35.         <div class="flc-image-adjuster-controls" id="flc-image-adjuster-brightness-controls">
  36.                 <fieldset id="brightness">
  37.                     <label name="Brightness Value">Brightness Value</label>
  38.                     <input type="text" size="3" name="flc-image-adjuster-brightness" />
  39.                     <div class="flc-image-adjuster-minus">-</div>
  40.                     <div class="flc-image-adjuster-plus">+</div>
  41.                 </fieldset>
  42.                 <fieldset id="contrast">
  43.                     <label name="Contrast Value">Contrast Value</label>
  44.                     <input type="text" size="3" name="flc-image-adjuster-contrast" />
  45.                     <div class="flc-image-adjuster-minus">-</div>
  46.                     <div class="flc-image-adjuster-plus">+</div>
  47.                 </fieldset>
  48.                 <input type="submit" class="apply" value="APPLY" />
  49.             </div>
  50.  
  51.  
  52.         <div class="flc-image-adjuster-controls" id="flc-image-adjuster-rotate-controls">
  53.                 <fieldset id="rotate">
  54.                     <label name="Rotate Value">Rotate Value</label>
  55.                     <input type="text" size="3" name="flc-image-adjuster-rotate" />
  56.                     <div class="flc-image-adjuster-minus">-</div>
  57.                     <div class="flc-image-adjuster-plus">+</div>
  58.                     <a class="apply" id="flc-image-adjuster-rotate-apply">APPLY</a>
  59.                 </fieldset>
  60.             </div>
  61.  
  62.    
  63.         <div class="flc-image-adjuster-controls" id="flc-image-adjuster-threshold-controls">
  64.                 <fieldset id="threshold">
  65.                     <label name="Threshold Value">Threshold Value</label>
  66.                     <input type="text" size="3" name="flc-image-adjuster-rotate" />
  67.                     <div class="flc-image-adjuster-minus">-</div>
  68.                     <div class="flc-image-adjuster-plus">+</div>
  69.                 </fieldset>
  70.             </div>
  71.         </form>
  72.  
  73.     </div>
  74.     <script>editor.imageAdjuster("#flc-image-adjuster-container");</script>
  75. </body>
  76. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement