Home | History | Annotate | Download | only in resources
      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title i18n-content="title"></title>
      5 <style>
      6 body {
      7   background-color:#500;
      8   font-family:Helvetica,Arial,sans-serif;
      9   margin:0px;
     10 }
     11 .background {
     12   position:absolute;
     13   width:100%;
     14   height:100%;
     15 }
     16 .cell {
     17   padding:40px;
     18 }
     19 .box {
     20   width:80%;
     21   background-color:white;
     22   color:black;
     23   font-size:10pt;
     24   line-height:16pt;
     25   text-align:left;
     26   padding:20px;
     27   position:relative;
     28   -webkit-box-shadow:3px 3px 8px #200;
     29   border-radius:5px;
     30 }
     31 html[dir='rtl'] .box {
     32   text-align:right;
     33 }
     34 
     35 .icon {
     36   position:absolute;
     37 }
     38 .title {
     39   margin:0px 87px 0px;
     40   font-size:18pt;
     41   line-height: 140%;
     42   margin-bottom:6pt;
     43   font-weight:bold;
     44   color:#660000;
     45 }
     46 .main {
     47   margin:0px 90px 0px;
     48 }
     49 .submission {
     50   margin:15px 5px 15px 0px;
     51   padding:0px;
     52 }
     53 input {
     54   margin:0px;
     55 }
     56 .proceedbutton {
     57 }
     58 .helpbutton {
     59   float:right;
     60 }
     61 .example {
     62   margin: 30px 90px 0px;
     63   border-top:1px solid #ccc;
     64   padding-top:6px;
     65 }
     66 .moreinfotitle {
     67   margin-left:5px;
     68   margin-right:5px;
     69 }
     70 
     71 .errorlist {
     72   background-color:white;
     73   color:black;
     74   font-size:10pt;
     75   line-height:16pt;
     76   text-align:left;
     77 }
     78 </style>
     79 
     80 <script>
     81 function agreed(form) {
     82   form.continue_button.disabled = !form.continue_button.disabled;
     83 }
     84 
     85 function sendCommand(command) {
     86   window.domAutomationController.setAutomationId(1);
     87   window.domAutomationController.send(command);
     88 }
     89 
     90 function showDiagnostic(errorID) {
     91   sendCommand("showDiagnostic:" + errorID);
     92 }
     93 
     94 function reportError(errorID) {
     95   sendCommand("reportError:" + errorID);
     96 }
     97 
     98 function learnMore() {
     99   sendCommand("learnMore");
    100 }
    101 
    102 function proceed() {
    103   sendCommand("proceed");
    104 }
    105 
    106 function takeMeBack() {
    107   sendCommand("takeMeBack");
    108 }
    109 </script>
    110 </head>
    111 
    112 <body oncontextmenu="return false;">
    113 <div class="background"><img src="ssl_roadblock_background.png" width="100%" height="100%" alt="background" onmousedown="return false;"/></div>
    114 <table width="100%" cellspacing="0" cellpadding="0">
    115   <td class="cell" valign="middle" align="center">
    116     <div class="box">
    117       <div class="icon"><img src="shared/images/phishing_icon.png" alt="Malware Icon" onmousedown="return false;"/></div>
    118       <div class="title" i18n-content="headLine"></div>
    119       <div class="main" i18n-values=".innerHTML:description1"></div>
    120       <div class="main" i18n-content="description2"></div>
    121       <div class="main" id="template_root">
    122         <table cellpadding="5" jsvalues="$counter:{value: 0}">
    123           <tr jsselect="errors" class="errorlist">
    124             <td jscontent="typeLabel"></td>
    125             <td jscontent="url"></td>
    126             <td><a href="" onclick="var id= this.getAttribute('chromiumID'); this.getAttribute('chromiumIsMalware') ? showDiagnostic(id) : reportError(id); return false;" jscontent="errorLink" jsvalues="chromiumID:$counter.value;chromiumIsMalware:type=='malware'" jseval="$counter.value++"></a></td>
    127           </tr>
    128         </table>
    129       </div>
    130 
    131       <div class="main"><a href="" i18n-content="description3" onclick="learnMore(); return false;" onmousedown="return false;"></a></div>
    132       <div class="main">
    133         <form class="submission">
    134           <input name="checky" id="checky" type="checkbox" onclick="agreed(this.form)">&nbsp;<label for="checky" i18n-content="confirm_text"></label>
    135           <input type="button" name="continue_button" i18n-values="value:continue_button" disabled="true" onclick="proceed();"><br>
    136           <input type="button" name="back_button" i18n-values="value:back_button" onclick="takeMeBack()">
    137         </form>
    138       </div>
    139     </div>
    140   </td>
    141 </table>
    142 </body>
    143 </html>
    144