Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html id="template_root" i18n-values="dir:textdirection"> | 2 <html id="template_root" i18n-values="dir:textdirection"> |
| 3 <head> | 3 <head> |
| 4 <title i18n-content="title"> | 4 <title i18n-content="title"> |
| 5 </title> | 5 </title> |
| 6 <style> | 6 <style> |
| 7 html { | 7 html { |
| 8 height: 100%; | 8 height: 100%; |
| 9 } | 9 } |
| 10 body { | 10 body { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 document.addEventListener('DOMContentLoaded', function() { | 118 document.addEventListener('DOMContentLoaded', function() { |
| 119 var timeToWait = localStrings.getString('time_to_wait'); | 119 var timeToWait = localStrings.getString('time_to_wait'); |
| 120 var showActivation = localStrings.getString('show_activation') == 'true'; | 120 var showActivation = localStrings.getString('show_activation') == 'true'; |
| 121 window.setTimeout(showPage, timeToWait); | 121 window.setTimeout(showPage, timeToWait); |
| 122 var lower = document.getElementById('lower'); | 122 var lower = document.getElementById('lower'); |
| 123 if (showActivation) | 123 if (showActivation) |
| 124 lower.style.display = 'block'; | 124 lower.style.display = 'block'; |
| 125 }); | 125 }); |
| 126 </script> | 126 </script> |
| 127 | 127 |
| 128 <body oncontextmenu="return false;"> | 128 <body oncontextmenu="return false;" |
|
Dan Beam
2013/04/17 00:57:01
^ does this handler actually work? I fixed a bug
rkc
2013/04/17 19:06:52
Seems to - right clicking on this offline page doe
| |
| 129 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | |
| 129 <div id="mainview"> | 130 <div id="mainview"> |
| 130 <div id="left"> | 131 <div id="left"> |
| 131 <div class="upper"> | 132 <div class="upper"> |
| 132 <div id="logo-container"> | 133 <div id="logo-container"> |
| 133 <img i18n-values=".src:icon"> | 134 <img i18n-values=".src:icon"> |
| 134 <div id="product-name" i18n-content="product_name"></div> | 135 <div id="product-name" i18n-content="product_name"></div> |
| 135 </div> | 136 </div> |
| 136 <div id="heading" i18n-content="heading"></div> | 137 <div id="heading" i18n-content="heading"></div> |
| 137 <div id="message" i18n-content="msg"></div> | 138 <div id="message" i18n-content="msg"></div> |
| 138 <div id="button"> | 139 <div id="button"> |
| 139 <button onclick="sendCommand('open_network_settings')" | 140 <button onclick="sendCommand('open_network_settings')" |
| 140 i18n-content="network_settings"></button> | 141 i18n-content="network_settings"></button> |
| 141 </div> | 142 </div> |
| 142 </div> | 143 </div> |
| 143 <div id="lower" class="hidden"> | 144 <div id="lower" class="hidden"> |
| 144 <div class="activation_message"> | 145 <div class="activation_message"> |
| 145 <div class="splitter"></div> | 146 <div class="splitter"></div> |
| 146 <iframe src="chrome-extension://iadeocfgjdjdmpenejdbfeaocpbikmab/activ ation_in_offline.html" | 147 <iframe src="chrome-extension://iadeocfgjdjdmpenejdbfeaocpbikmab/activ ation_in_offline.html" |
| 147 id="carrierPage" frameborder="0"></iframe> | 148 id="carrierPage" frameborder="0"></iframe> |
| 148 </div> | 149 </div> |
| 149 </div> | 150 </div> |
| 150 </div> | 151 </div> |
| 151 <div id="right"> | 152 <div id="right"> |
| 152 <img src="images/broken_robot.png"> | 153 <img src="images/broken_robot.png"> |
| 153 </div> | 154 </div> |
| 154 </div> | 155 </div> |
| 155 </body> | 156 </body> |
| 156 </html> | 157 </html> |
| OLD | NEW |