Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: chrome/browser/resources/safe_browsing_multiple_threat_block.html

Issue 18346: Adds support for multiple malware/phishing resources in a page (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <html id="template_root">
2
3 <head>
4 <title jscontent="title"></title>
5 <style type="text/css">
6 body {
7 background-color:#500;
8 font-family:arial;
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 -webkit-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 margin-bottom:6pt;
42 font-weight:bold;
43 color:#660000;
44 }
45 .main {
46 margin:0px 90px 0px;
47 }
48 .submission {
49 margin:15px 5px 15px 0px;
50 padding:0px;
51 }
52 input {
53 margin:0px;
54 }
55 .proceedbutton {
56 }
57 .helpbutton {
58 float:right;
59 }
60 .example {
61 margin: 30px 90px 0px;
62 border-top:1px solid #ccc;
63 padding-top:6px;
64 }
65 .moreinfotitle {
66 margin-left:5px;
67 margin-right:5px;
68 }
69
70 .errorlist {
71 background-color:white;
72 color:black;
73 font-size:10pt;
74 line-height:16pt;
75 text-align:left;
76 }
77 </style>
78
79 <script>
80 function agreed(form) {
81 form.continue_button.disabled = !form.continue_button.disabled;
82 }
83
84 function sendCommand(command) {
85 window.domAutomationController.setAutomationId(1);
86 window.domAutomationController.send(command);
87 }
88
89 function showDiagnostic(errorID) {
90 sendCommand("showDiagnostic:" + errorID);
91 }
92
93 function reportError(errorID) {
94 sendCommand("reportError:" + errorID);
95 }
96
97 function learnMore() {
98 sendCommand("learnMore");
99 }
100
101 function proceed() {
102 sendCommand("proceed");
103 }
104
105 function takeMeBack() {
106 sendCommand("takeMeBack");
107 }
108 </script>
109 </head>
110
111 <body oncontextmenu="return false;">
112 <div class="background"><img src="../security/resources/ssl_roadblock_background .png" width="100%" height="100%" alt="background" onmousedown="return false;"/>< /div>
113 <table width="100%" cellspacing="0" cellpadding="0">
114 <td class="cell" valign="middle" align="center">
115 <div class="box">
116 <div class="icon"><img src="phishing_icon.png" alt="Malware Icon" onmoused own="return false;"/></div>
117 <div class="title" jscontent="headLine"></div>
118 <div class="main" jseval="this.innerHTML = $this.description1;"></div>
119 <div class="main" jscontent="description2"></div>
120 <div class="main">
121 <table cellpadding="5" jsvalues="$counter:{value: 0}">
122 <tr jsselect="errors" class="errorlist">
123 <td jscontent="typeLabel"></td>
124 <td jscontent="url"></td>
125 <td><a href="" onclick="var id= this.getAttribute('chromiumID'); thi s.getAttribute('chromiumIsMalware') ? showDiagnostic(id) : reportError(id); retu rn false;" jscontent="errorLink" jsvalues="chromiumID:$counter.value;chromiumIsM alware:type=='malware'" jseval="$counter.value++"></a></td>
126 </tr>
127 </table>
128 </div>
129
130 <div class="main"><a href="" jscontent="description3" onclick="learnMore() ; return false;" onmousedown="return false;"></a></div>
131 <div class="main">
132 <form class="submission">
133 <input name="checky" type="checkbox" onclick="agreed(this.form)">&nbsp ;<span jscontent="confirm_text"></span>
134 <input type="button" name="continue_button" jsvalues="value:continue_b utton" disabled="true" onclick="proceed();"><br>
135 <input type="button" name="back_button" jsvalues="value:back_button" o nclick="takeMeBack()">
136 </form>
137 </div>
138 </div>
139 </td>
140 </table>
141 </body>
142 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/safe_browsing_malware_block.html ('k') | chrome/browser/resources/safe_browsing_phishing_block.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698