| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <!-- TODO(wnwen): Investigate using widgets from ui/webui/resources --> | 4 <!-- TODO(wnwen): Investigate using widgets from ui/webui/resources --> |
| 5 <link rel="stylesheet" type="text/css" href="../res/cvd.css"> | 5 <link rel="stylesheet" type="text/css" href="../res/cvd.css"> |
| 6 <link rel="stylesheet" type="text/css" href="../res/setup.css"> | 6 <link rel="stylesheet" type="text/css" href="../res/setup.css"> |
| 7 <style type="text/css"> | 7 <style type="text/css"> |
| 8 * { | 8 * { |
| 9 font-family: Arial, Helvetica, sans-serif; | 9 font-family: Arial, Helvetica, sans-serif; |
| 10 font-size: 10pt; | 10 font-size: 10pt; |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 <script type="text/javascript" src="common.js"></script> | 13 <script type="text/javascript" src="common.js"></script> |
| 14 <script type="text/javascript" src="storage.js"></script> | 14 <script type="text/javascript" src="storage.js"></script> |
| 15 <script type="text/javascript" src="cvd.js"></script> | 15 <script type="text/javascript" src="cvd.js"></script> |
| 16 <script type="text/javascript" src="popup.js"></script> | 16 <script type="text/javascript" src="popup.js"></script> |
| 17 </head> | 17 </head> |
| 18 <body> | 18 <body> |
| 19 <h2><span i18n-content="IDS_COLOR_ENHANCER_APPNAME">Color Enhancer<span></h2> | 19 <h2><span i18n-content="color_enhancer_appname"><span></h2> |
| 20 | 20 |
| 21 <table> | 21 <table> |
| 22 <tr> | 22 <tr> |
| 23 <th><span i18n-content="IDS_COLOR_ENHANCER_ENABLE">Enable?</span></th> | 23 <th><span i18n-content="color_enhancer_enable"></span></th> |
| 24 <th> | 24 <th> |
| 25 <span i18n-content="IDS_COLOR_ENHANCER_ADJUSTMENT_FACTOR"> | 25 <span i18n-content="color_enhancer_adjustment_factor"> |
| 26 Color adjustment | |
| 27 </span> | 26 </span> |
| 28 </th> | 27 </th> |
| 29 </tr> | 28 </tr> |
| 30 <tr> | 29 <tr> |
| 31 <td><input id="enable" type="checkbox"></td> | 30 <td><input id="enable" type="checkbox"></td> |
| 32 <td> | 31 <td> |
| 33 <input id="delta" type="range" min=0 max=1.0 step=0.1 | 32 <input id="delta" type="range" min=0 max=1.0 step=0.1 |
| 34 defaultValue="0.5"> | 33 defaultValue="0.5"> |
| 35 </td> | 34 </td> |
| 36 <td> | 35 <td> |
| 37 <!-- TOOD(kevers): i18n --> | 36 <button id="setup" i18n-content="color_enhancer_setup"></button> |
| 38 <input id="setup" type="button" value="Setup"> | |
| 39 </td> | 37 </td> |
| 40 </tr> | 38 </tr> |
| 41 </table> | 39 </table> |
| 42 </div> | 40 </div> |
| 43 | 41 |
| 44 <div id="setup-panel" class = "collapsed"> | 42 <div id="setup-panel" class="collapsed"> |
| 45 <h3><span i18n-content="IDS_COLOR_ENHANCER_ADVANCED">Setup:</span></h3> | 43 <h3><span i18n-content="color_enhancer_setup"></span></h3> |
| 46 <section id="step-1"> | 44 <section id="step-1"> |
| 47 <div> | 45 <div> |
| 48 <span i18n-content="IDS_COLOR_ENHANCER_TYPE_CHOICE"> | 46 <span i18n-content="color_enhancer_type_choice"> |
| 49 Step 1: Select the row with the faintest stars: | |
| 50 </span> | 47 </span> |
| 51 </div> | 48 </div> |
| 52 <div class="template swatch"> | 49 <div class="template swatch"> |
| 53 <span>⋆</span> | 50 <span>⋆</span> |
| 54 </div> | 51 </div> |
| 55 <div id="swatches"> | 52 <div id="swatches"> |
| 56 <div id="row-highlight" hidden></div> | 53 <div id="row-highlight" hidden></div> |
| 57 <!-- Auto populated by initialize() --> | 54 <!-- Auto populated by initialize() --> |
| 58 </div> | 55 </div> |
| 59 </section> | 56 </section> |
| 60 <section id="step-2"> | 57 <section id="step-2"> |
| 61 <div> | 58 <div> |
| 62 <span i18n-content="IDS_COLOR_ENHANCER_SEVERITY"> | 59 <span i18n-content="color_enhancer_severity"> |
| 63 Step 2: Adjust the slider until all of the stars are visible in the | |
| 64 selected row | |
| 65 </span> | 60 </span> |
| 66 <input id="severity" type="range" min=0 max=1.0 step=0.1 value="0"> | 61 <input id="severity" type="range" min=0 max=1.0 step=0.1 value="0"> |
| 67 </div> | 62 </div> |
| 68 </section> | 63 </section> |
| 69 <div id="setup-button-strip" class="row"> | 64 <div id="setup-button-strip" class="row"> |
| 70 <!-- TODO(kevers): i18n --> | 65 <button id="reset" i18n-content="color_enhancer_reset"></button> |
| 71 <input id="reset" type="button" value="Reset"> | 66 <button id="ok" i18n-content="color_enhancer_ok"></button> |
| 72 <input id="ok" type="button" value="OK"> | 67 <button id="cancel" i18n-content="color_enhancer_cancel"></button> |
| 73 <input id="cancel" type="button" value="Cancel"> | |
| 74 </div> | 68 </div> |
| 75 </div> | 69 </div> |
| 76 </body> | 70 </body> |
| 77 </html> | 71 </html> |
| OLD | NEW |