Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html class="google" lang="en" i18n-values="dir:textDirection"> | |
|
Bernhard Bauer
2014/05/26 10:13:20
We always set lang="en"?
felt
2014/05/27 12:25:06
Ha, no. Copy and paste fail. Fixed.
| |
| 3 <head> | |
| 4 <meta charset="utf-8"> | |
| 5 <meta name="viewport" | |
| 6 content="initial-scale=1, minimum-scale=1, width=device-width"> | |
|
Bernhard Bauer
2014/05/26 10:13:20
Nit: Attributes aren't usually aligned. Just inden
felt
2014/05/27 12:25:06
Done.
| |
| 7 <title i18n-content="tabTitle"></title> | |
| 8 <link rel="stylesheet" href="overridable_v2.css"> | |
| 9 <script src="../../../../ui/webui/resources/js/util.js"></script> | |
| 10 <script src="ssl_errors_common.js"></script> | |
| 11 <script src="overridable_v2.js"></script> | |
| 12 </head> | |
| 13 <body> | |
| 14 <div class="interstitial-wrapper"> | |
| 15 <div class="icon"></div> | |
| 16 <div id="main-message"> | |
| 17 <h1 i18n-content="heading"></h1> | |
| 18 <p i18n-values=".innerHTML:primaryParagraph"></p> | |
| 19 </div> | |
| 20 <div class="nav-wrapper"> | |
| 21 <button i18n-content="safetyButtonText" id="safety-button"></button> | |
| 22 <a href="javascript:void(0)" id="details-button" | |
|
Bernhard Bauer
2014/05/26 10:13:20
Just set the target to "#"? It's shorter, and you'
felt
2014/05/27 12:25:06
Done. How do I set a CSP for a Chrome page? Is the
Bernhard Bauer
2014/05/27 14:13:34
Hm... The prefered way would be via HTTP headers,
felt
2014/05/28 12:56:29
I didn't know about the meta tags, cool. However,
Bernhard Bauer
2014/05/28 13:17:47
Hm, I don't know any reason why the templating sys
felt
2014/06/02 17:58:46
I've updated this to use the v2 and removed the in
| |
| 23 i18n-content="openDetails"></a> | |
| 24 </div> | |
| 25 <div id="details" class="hidden"> | |
| 26 <p i18n-values=".innerHTML:explanationParagraph"></p> | |
| 27 <p i18n-values=".innerHTML:proceedParagraph"></p> | |
| 28 </div> | |
| 29 </div> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |