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

Unified Diff: chrome/renderer/resources/neterror.html

Issue 865943002: Update SSL/malware/net error interstitial design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix hidden buttons on offline interstitial on CrOS Created 5 years, 11 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/renderer/resources/neterror.html
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index b9383646c283935de0f2f8b92f2f473eb81f3f14..c5948ef9b69bf966f5ac55f4b25c0397fd4c09f2 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -1,5 +1,5 @@
<!doctype html>
-<html i18n-values="dir:textdirection;.style.fontSize:fontsize">
+<html i18n-values="dir:textdirection">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
@@ -7,35 +7,38 @@
<title i18n-content="title"></title>
<link rel="stylesheet" href="../../browser/resources/security_warnings/interstitial_v2.css">
<link rel="stylesheet" href="neterror.css">
+ <script src="../../browser/resources/security_warnings/interstitial_v2_mobile.js"></script>
<script src="neterror.js"></script>
<script src="offline.js"></script>
</head>
-<body id="t" i18n-values=".style.fontFamily:fontfamily">
+<body id="t" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
edwardjung 2015/01/23 12:19:40 Font size was moved down from HTML per interstitia
<div id="main-frame-error" class="interstitial-wrapper">
- <img class="icon"
- jseval="updateIconClass(this.classList, iconClass)">
- <div id="main-message">
- <h1 i18n-content="heading"></h1>
- <p hidden></p>
- <div id="buttons" class="nav-wrapper">
- <div id="control-buttons" hidden>
- <button id="reload-button"
- class="blue-button text-button"
- onclick="trackClick(this.trackingId);
- reloadButtonClick(this.url);"
- jsselect="reloadButton"
- jsvalues=".url:reloadUrl; .trackingId:reloadTrackingId"
- jscontent="msg"></button>
- <button id="stale-load-button"
- class="blue-button text-button"
- onclick="loadStaleButtonClick()"
- jsselect="staleLoadButton"
- jscontent="msg" jsvalues="title:title"></button>
+ <div id="main-content">
+ <img class="icon"
+ jseval="updateIconClass(this.classList, iconClass)">
+ <div id="main-message">
+ <h1 i18n-content="heading"></h1>
+ <p hidden></p>
+ <div id="buttons" class="nav-wrapper">
+ <div id="control-buttons" hidden>
+ <button id="reload-button"
+ class="blue-button text-button"
+ onclick="trackClick(this.trackingId);
+ reloadButtonClick(this.url);"
+ jsselect="reloadButton"
+ jsvalues=".url:reloadUrl; .trackingId:reloadTrackingId"
+ jscontent="msg"></button>
+ <button id="stale-load-button"
+ class="blue-button text-button"
+ onclick="loadStaleButtonClick()"
+ jsselect="staleLoadButton"
+ jscontent="msg" jsvalues="title:title"></button>
+ </div>
+ <button id="details-button" class="text-button small-link"
+ onclick="detailsButtonClick(); toggleHelpBox()"
+ jsdisplay="details" jscontent="details"
+ jsvalues=".detailsText:details; .hideDetailsText:hideDetails;"></button>
</div>
- <button id="details-button" class="text-button small-link"
- onclick="detailsButtonClick(); toggleHelpBox()"
- jsdisplay="details" jscontent="details"
- jsvalues=".detailsText:details; .hideDetailsText:hideDetails;">
</div>
</div>
<!-- Outer and inner divs are needed both for margins and sizing. -->

Powered by Google App Engine
This is Rietveld 408576698