summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/safe_browsing_multiple_threat_block.html
blob: 40dd0c4efea99375a18ca0e2d6962e5deecea868 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<title i18n-content="title"></title>
<style>
body {
  background-color:#500;
  font-family:Helvetica,Arial,sans-serif;
  margin:0px;
}
.background {
  position:absolute;
  width:100%;
  height:100%;
}
.cell {
  padding:40px;
}
.box {
  width:80%;
  background-color:white;
  color:black;
  font-size:10pt;
  line-height:16pt;
  text-align:left;
  padding:20px;
  position:relative;
  -webkit-box-shadow:3px 3px 8px #200;
  border-radius:5px;
}
html[dir='rtl'] .box {
  text-align:right;
}

.icon {
  position:absolute;
}
.title {
  margin:0px 87px 0px;
  font-size:18pt;
  line-height: 140%;
  margin-bottom:6pt;
  font-weight:bold;
  color:#660000;
}
.main {
  margin:0px 90px 0px;
}
.submission {
  margin:15px 5px 15px 0px;
  padding:0px;
}
input {
  margin:0px;
}
.proceedbutton {
}
.helpbutton {
  float:right;
}
.example {
  margin: 30px 90px 0px;
  border-top:1px solid #ccc;
  padding-top:6px;
}
.moreinfotitle {
  margin-left:5px;
  margin-right:5px;
}

.errorlist {
  background-color:white;
  color:black;
  font-size:10pt;
  line-height:16pt;
  text-align:left;
}
</style>

<script>
function agreed(form) {
  form.continue_button.disabled = !form.continue_button.disabled;
}

function sendCommand(command) {
  window.domAutomationController.setAutomationId(1);
  window.domAutomationController.send(command);
}

function showDiagnostic(errorID) {
  sendCommand("showDiagnostic:" + errorID);
}

function reportError(errorID) {
  sendCommand("reportError:" + errorID);
}

function learnMore() {
  sendCommand("learnMore");
}

function proceed() {
  sendCommand("proceed");
}

function takeMeBack() {
  sendCommand("takeMeBack");
}
</script>
</head>

<body oncontextmenu="return false;">
<div class="background"><img src="ssl_roadblock_background.png" width="100%" height="100%" alt="background" onmousedown="return false;"/></div>
<table width="100%" cellspacing="0" cellpadding="0">
  <td class="cell" valign="middle" align="center">
    <div class="box">
      <div class="icon"><img src="shared/images/phishing_icon.png" alt="Malware Icon" onmousedown="return false;"/></div>
      <div class="title" i18n-content="headLine"></div>
      <div class="main" i18n-values=".innerHTML:description1"></div>
      <div class="main" i18n-content="description2"></div>
      <div class="main" id="template_root">
        <table cellpadding="5" jsvalues="$counter:{value: 0}">
          <tr jsselect="errors" class="errorlist">
            <td jscontent="typeLabel"></td>
            <td jscontent="url"></td>
            <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>
          </tr>
        </table>
      </div>

      <div class="main"><a href="" i18n-content="description3" onclick="learnMore(); return false;" onmousedown="return false;"></a></div>
      <div class="main">
        <form class="submission">
          <input name="checky" id="checky" type="checkbox" onclick="agreed(this.form)">&nbsp;<label for="checky" i18n-content="confirm_text"></label>
          <input type="button" name="continue_button" i18n-values="value:continue_button" disabled="true" onclick="proceed();"><br>
          <input type="button" name="back_button" i18n-values="value:back_button" onclick="takeMeBack()">
        </form>
      </div>
    </div>
  </td>
</table>
</body>
</html>