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