Index: chrome/browser/resources/ssl/overridable_v2.html |
diff --git a/chrome/browser/resources/ssl/overridable_v2.html b/chrome/browser/resources/ssl/overridable_v2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..001fd7f80aee0859bc5eaa0cc7fbb419fd717fe0 |
--- /dev/null |
+++ b/chrome/browser/resources/ssl/overridable_v2.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<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.
|
+ <head> |
+ <meta charset="utf-8"> |
+ <meta name="viewport" |
+ 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.
|
+ <title i18n-content="tabTitle"></title> |
+ <link rel="stylesheet" href="overridable_v2.css"> |
+ <script src="../../../../ui/webui/resources/js/util.js"></script> |
+ <script src="ssl_errors_common.js"></script> |
+ <script src="overridable_v2.js"></script> |
+ </head> |
+<body> |
+ <div class="interstitial-wrapper"> |
+ <div class="icon"></div> |
+ <div id="main-message"> |
+ <h1 i18n-content="heading"></h1> |
+ <p i18n-values=".innerHTML:primaryParagraph"></p> |
+ </div> |
+ <div class="nav-wrapper"> |
+ <button i18n-content="safetyButtonText" id="safety-button"></button> |
+ <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
|
+ i18n-content="openDetails"></a> |
+ </div> |
+ <div id="details" class="hidden"> |
+ <p i18n-values=".innerHTML:explanationParagraph"></p> |
+ <p i18n-values=".innerHTML:proceedParagraph"></p> |
+ </div> |
+ </div> |
+</body> |
+</html> |