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

Side by Side Diff: chrome/renderer/resources/neterror.html

Issue 952563003: Reinstate the error code to main content area + bug fixes on security / network interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust vertical alignment of details button, remove net error string prefix Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/resources/neterror.css ('k') | chrome/renderer/resources/neterror.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language"> 2 <html i18n-values="dir:textdirection;lang:language">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0, 5 <meta name="viewport" content="width=device-width, initial-scale=1.0,
6 maximum-scale=1.0, user-scalable=no"> 6 maximum-scale=1.0, user-scalable=no">
7 <title i18n-content="title"></title> 7 <title i18n-content="title"></title>
8 <link rel="stylesheet" href="../../browser/resources/security_warnings/interst itial_v2.css"> 8 <link rel="stylesheet" href="../../browser/resources/security_warnings/interst itial_v2.css">
9 <link rel="stylesheet" href="neterror.css"> 9 <link rel="stylesheet" href="neterror.css">
10 <script src="../../browser/resources/security_warnings/interstitial_v2_mobile. js"></script> 10 <script src="../../browser/resources/security_warnings/interstitial_v2_mobile. js"></script>
11 <script src="neterror.js"></script> 11 <script src="neterror.js"></script>
12 <script src="offline.js"></script> 12 <script src="offline.js"></script>
13 </head> 13 </head>
14 <body id="t" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize" > 14 <body id="t" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize" >
15 <div id="main-frame-error" class="interstitial-wrapper"> 15 <div id="main-frame-error" class="interstitial-wrapper">
16 <div id="main-content"> 16 <div id="main-content">
17 <img class="icon" 17 <img class="icon"
18 jseval="updateIconClass(this.classList, iconClass)"> 18 jseval="updateIconClass(this.classList, iconClass)">
19 <div id="main-message"> 19 <div id="main-message">
20 <h1 i18n-content="heading"></h1> 20 <h1 i18n-content="heading"></h1>
21 <p hidden></p> 21 <p hidden></p>
22 <div class="error-code" jscontent="errorCode"></div>
22 </div> 23 </div>
23 </div> 24 </div>
24 <div id="buttons" class="nav-wrapper"> 25 <div id="buttons" class="nav-wrapper">
25 <div id="control-buttons" hidden> 26 <div id="control-buttons" hidden>
26 <button id="reload-button" 27 <button id="reload-button"
27 class="blue-button text-button" 28 class="blue-button text-button"
28 onclick="trackClick(this.trackingId); 29 onclick="trackClick(this.trackingId);
29 reloadButtonClick(this.url);" 30 reloadButtonClick(this.url);"
30 jsselect="reloadButton" 31 jsselect="reloadButton"
31 jsvalues=".url:reloadUrl; .trackingId:reloadTrackingId" 32 jsvalues=".url:reloadUrl; .trackingId:reloadTrackingId"
(...skipping 27 matching lines...) Expand all
59 <div class="suggestion-header" jscontent="searchHeader"></div> 60 <div class="suggestion-header" jscontent="searchHeader"></div>
60 <div id="search-container"> 61 <div id="search-container">
61 <input type="text" name="q" id="search-box" 62 <input type="text" name="q" id="search-box"
62 jsvalues=".value:searchTerms" /> 63 jsvalues=".value:searchTerms" />
63 <button type="submit" id="search-button" class="blue-button" 64 <button type="submit" id="search-button" class="blue-button"
64 jsvalues="aria-label:searchHeader"> 65 jsvalues="aria-label:searchHeader">
65 <img id="search-image"> 66 <img id="search-image">
66 </button> 67 </button>
67 </div> 68 </div>
68 </form> 69 </form>
69 <div class="error-code" jscontent="errorCode"></div>
70 </div> 70 </div>
71 </div> 71 </div>
72 <div id="sub-frame-error"> 72 <div id="sub-frame-error">
73 <!-- Show details when hovering over the icon, in case the details are 73 <!-- Show details when hovering over the icon, in case the details are
74 hidden because they're too large. --> 74 hidden because they're too large. -->
75 <img class="icon" jseval="updateIconClass(this.classList, iconClass)" 75 <img class="icon" jseval="updateIconClass(this.classList, iconClass)"
76 jsvalues=".title:errorDetails"> 76 jsvalues=".title:errorDetails">
77 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> 77 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
78 </div> 78 </div>
79 79
(...skipping 17 matching lines...) Expand all
97 <img id="2x-restart" src="default_200_percent/offline/200-restart.png"> 97 <img id="2x-restart" src="default_200_percent/offline/200-restart.png">
98 </div> 98 </div>
99 <template id="audio-resources"> 99 <template id="audio-resources">
100 <audio id="offline-sound-press" src="sounds/button-press.mp3"></audio> 100 <audio id="offline-sound-press" src="sounds/button-press.mp3"></audio>
101 <audio id="offline-sound-hit" src="sounds/hit.mp3"></audio> 101 <audio id="offline-sound-hit" src="sounds/hit.mp3"></audio>
102 <audio id="offline-sound-reached" src="sounds/score-reached.mp3"></audio> 102 <audio id="offline-sound-reached" src="sounds/score-reached.mp3"></audio>
103 </template> 103 </template>
104 </div> 104 </div>
105 </body> 105 </body>
106 </html> 106 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/resources/neterror.css ('k') | chrome/renderer/resources/neterror.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698