Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Unified Diff: chrome/browser/resources/ssl/captive_portal.html

Issue 318213002: Add custom interstitial for captive portals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Const all the things Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ssl/captive_portal.html
diff --git a/chrome/browser/resources/ssl/captive_portal.html b/chrome/browser/resources/ssl/captive_portal.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5042821f003c2c2fb7856471d4987f729949126
--- /dev/null
+++ b/chrome/browser/resources/ssl/captive_portal.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html i18n-values="dir:textdirection;.style.fontSize:fontsize">
+<head>
mmenke 2014/06/24 18:09:26 I wonder if we can just reuse interstitial_v2.html
meacer 2014/10/22 23:04:28 Done. I refactored security interstitials to share
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0,
+ maximum-scale=1.0, user-scalable=no">
+ <title i18n-content="title"></title>
+ <link rel="stylesheet" href="../../../renderer/resources/neterror.css">
+ <script src="../../../../ui/webui/resources/js/load_time_data.js"></script>
+ <script src="../../../../ui/webui/resources/js/util.js"></script>
+ <script src="captive_portal.js"></script>
+</head>
+<body>
+ <div id="main-frame-error">
+ <div id="box">
+ <div id="content-top">
+ <h1>
+ <div>
+ <img class="icon icon-offline">
+ </div>
+ <span i18n-content="heading"></span>
+ </h1>
+ <p i18n-values=".innerHTML:primaryParagraph"></p>
+ <div id="buttons">
+ <button class="blue-button text-button"
+ id="primary-button" i18n-content="primaryButtonText"></button>
+ <button id="details-button" class="text-button"
+ i18n-content="openDetails"></button>
+ </div>
+
+ <div id="details" class="hidden">
+ <p i18n-values=".innerHTML:explanationParagraph"></p>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698