OLD | NEW |
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 <button id="reload-button" class="blue-button text-button" |
24 onclick="location = this.url" | 24 onclick="location = this.url" |
25 jsselect="reload" jsvalues=".url:reloadUrl" | 25 jsselect="reload" jsvalues=".url:reloadUrl" |
26 jscontent="msg"></button> | 26 jscontent="msg"></button> |
| 27 <button id="stale-load-button" class="blue-button text-button" |
| 28 onclick="errorCacheLoad.reloadStaleInstance()" |
| 29 jsselect="staleCopyInCache" jscontent="msg"></button> |
27 <button id="more-less-button" class="text-button" | 30 <button id="more-less-button" class="text-button" |
28 onclick="toggleHelpBox()" jsdisplay="more" | 31 onclick="toggleHelpBox()" jsdisplay="more" |
29 jsvalues=".moreText:more; .lessText:less;" | 32 jsvalues=".moreText:more; .lessText:less;" |
30 jscontent="more"></button> | 33 jscontent="more"></button> |
31 </div> | 34 </div> |
32 </div> | 35 </div> |
33 <!-- Outer and inner divs are needed both for margins and sizing. --> | 36 <!-- Outer and inner divs are needed both for margins and sizing. --> |
34 <div id="help-box-outer" class="hidden"> | 37 <div id="help-box-outer" class="hidden"> |
35 <div id="help-box-inner"> | 38 <div id="help-box-inner"> |
36 <div jsselect="summary"> | 39 <div jsselect="summary"> |
(...skipping 26 matching lines...) Expand all Loading... |
63 </div> | 66 </div> |
64 <div id="sub-frame-error"> | 67 <div id="sub-frame-error"> |
65 <!-- Show details when hovering over the icon, in case the details are | 68 <!-- Show details when hovering over the icon, in case the details are |
66 hidden because they're too large. --> | 69 hidden because they're too large. --> |
67 <img class="icon" jseval="updateIconClass(this.classList, iconClass)" | 70 <img class="icon" jseval="updateIconClass(this.classList, iconClass)" |
68 jsvalues=".title:errorDetails"> | 71 jsvalues=".title:errorDetails"> |
69 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> | 72 <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div> |
70 </div> | 73 </div> |
71 </body> | 74 </body> |
72 </html> | 75 </html> |
OLD | NEW |