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

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

Issue 422933002: Shift the error page "More" button over to text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'c to r287451 to get past removal of chrome/browser/resources/ssl/blocking.html and thus the pr… Created 6 years, 4 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 | Annotate | Revision Log
« 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"> 2 <html i18n-values="dir:textdirection">
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="neterror.css"> 8 <link rel="stylesheet" href="neterror.css">
9 <script src="neterror.js"></script> 9 <script src="neterror.js"></script>
10 </head> 10 </head>
11 <body id="t"> 11 <body id="t">
12 <div id="main-frame-error"> 12 <div id="main-frame-error">
13 <div id="box"> 13 <div id="box">
14 <div id="content-top"> 14 <div id="content-top">
15 <h1> 15 <h1>
16 <div> 16 <div>
17 <img class="icon" 17 <img class="icon"
18 jseval="updateIconClass(this.classList, iconClass)"> 18 jseval="updateIconClass(this.classList, iconClass)">
19 </div> 19 </div>
20 <span i18n-content="heading"></span> 20 <span i18n-content="heading"></span>
21 </h1> 21 </h1>
22 <div id="buttons"> 22 <div id="buttons">
23 <button id="reload-button" class="blue-button text-button" 23 <div id="control-buttons">
24 onclick="trackClick(this.trackingId); 24 <button id="reload-button"
25 reloadButtonClick(this.url);" 25 class="blue-button text-button"
26 jsselect="reloadButton" 26 onclick="trackClick(this.trackingId);
27 jsvalues=".url:reloadUrl; .trackingId:reloadTrackingId" 27 reloadButtonClick(this.url);"
28 jscontent="msg"></button> 28 jsselect="reloadButton"
29 <button id="stale-load-button" class="blue-button text-button" 29 jsvalues=".url:reloadUrl; .trackingId:reloadTrackingId"
30 onclick="loadStaleButtonClick()" 30 jscontent="msg"></button>
31 jsselect="staleLoadButton" 31 <button id="stale-load-button"
32 jscontent="msg" jsvalues="title:title"></button> 32 class="blue-button text-button"
33 <button id="more-less-button" class="text-button" 33 onclick="loadStaleButtonClick()"
34 onclick="moreButtonClick(); toggleHelpBox()" 34 jsselect="staleLoadButton"
35 jsdisplay="more" jsvalues=".moreText:more; .lessText:less;" 35 jscontent="msg" jsvalues="title:title"></button>
36 jscontent="more"></button> 36 </div>
37 <button id="details-button" class="text-button"
38 onclick="detailsButtonClick(); toggleHelpBox()"
39 jsdisplay="details" jscontent="details"
40 jsvalues=".detailsText:details; .hideDetailsText:hideDetails;">
41 </a>
37 </div> 42 </div>
38 </div> 43 </div>
39 <!-- Outer and inner divs are needed both for margins and sizing. --> 44 <!-- Outer and inner divs are needed both for margins and sizing. -->
40 <div id="help-box-outer" class="hidden"> 45 <div id="help-box-outer" class="hidden">
41 <div id="help-box-inner"> 46 <div id="help-box-inner">
42 <div jsselect="summary"> 47 <div jsselect="summary">
43 <span jsvalues=".innerHTML:msg"></span> 48 <span jsvalues=".innerHTML:msg"></span>
44 </div> 49 </div>
45 <div class="suggestions" jsselect="suggestions"> 50 <div class="suggestions" jsselect="suggestions">
46 <div class="suggestion-header" jsvalues=".innerHTML:header"></div> 51 <div class="suggestion-header" jsvalues=".innerHTML:header"></div>
(...skipping 23 matching lines...) Expand all
70 </div> 75 </div>
71 <div id="sub-frame-error"> 76 <div id="sub-frame-error">
72 <!-- Show details when hovering over the icon, in case the details are 77 <!-- Show details when hovering over the icon, in case the details are
73 hidden because they're too large. --> 78 hidden because they're too large. -->
74 <img class="icon" jseval="updateIconClass(this.classList, iconClass)" 79 <img class="icon" jseval="updateIconClass(this.classList, iconClass)"
75 jsvalues=".title:errorDetails"> 80 jsvalues=".title:errorDetails">
76 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> 81 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
77 </div> 82 </div>
78 </body> 83 </body>
79 </html> 84 </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