summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/chromeos/offline_net_load.html
blob: 804cc8da24f96bf992c088393ab15d5eb8b3b445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html i18n-values="dir:textdirection">
<head>
  <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="neterror.css">
  <script src="../../../../ui/webui/resources/js/util.js"></script>
  <script src="neterror.js"></script>
</head>
<body id="t">
  <div id="main-frame-error">
    <div id="box">
      <div id="content-top">
        <h1>
          <div>
            <img class="icon"
                jseval="updateIconClass(this.classList, iconClass)">
          </div>
          <span i18n-content="heading"></span>
        </h1>
         <button id="reload-button" onclick="location = this.url"
            jsselect="reload" jsvalues=".url:reloadUrl"
            jscontent="msg"></button>
        <button id="more-less-button" onclick="toggleHelpBox()" jsdisplay="more"
            jsvalues=".moreText:more; .lessText:less;"
            jscontent="more"></button>
      </div>
       <!-- Outer and inner divs are needed both for margins and sizing. -->
      <div id="help-box-outer" class="hidden">
        <div id="help-box-inner">
          <div jsselect="summary">
            <span jsvalues=".innerHTML:msg"></span>
          </div>
          <div class="suggestions" jsselect="suggestions">
            <div class="suggestion-header" jsvalues=".innerHTML:header"></div>
            <div class="suggestion-body" jsvalues=".innerHTML:body"></div>
          </div>
          <button id="diagnose-button" onclick="diagnoseErrors()"
            jscontent="diagnose" jsdisplay="diagnose"></button>
          <div class="error-code" jscontent="errorCode"></div>
        </div>
      </div>
    </div>
  </div>
  <div id="sub-frame-error">
    <!-- Show details when hovering over the icon, in case the details are
         hidden because they're too large. -->
    <img class="icon" jseval="updateIconClass(this.classList, iconClass)"
        jsvalues=".title:errorDetails">
    <div id="sub-frame-error-details" jsvalues=".innerHTML:errorDetails"></div>
  </div>
</body>
</html>