summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/safe_browsing_phishing_block.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/safe_browsing_phishing_block.html')
-rw-r--r--chrome/browser/resources/safe_browsing_phishing_block.html103
1 files changed, 103 insertions, 0 deletions
diff --git a/chrome/browser/resources/safe_browsing_phishing_block.html b/chrome/browser/resources/safe_browsing_phishing_block.html
new file mode 100644
index 0000000..2731f82
--- /dev/null
+++ b/chrome/browser/resources/safe_browsing_phishing_block.html
@@ -0,0 +1,103 @@
+<html id="template_root" jsvalues="dir:textdirection">
+<head>
+<title jscontent="title"></title>
+<style type="text/css">
+body {
+ background-color:#500;
+ font-family:arial;
+ 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;
+ -webkit-border-radius:5px;
+}
+html[dir='rtl'] .box {
+ text-align:right;
+}
+.icon {
+ position:absolute;
+}
+.title {
+ margin: 0px 87px 0px;
+ font-size:18pt;
+ 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;
+}
+html[dir='rtl'] .helpbutton {
+ float:left;
+}
+.example {
+ margin: 30px 90px 0px;
+ border-top:1px solid #ccc;
+ padding-top:6px;
+}
+.moreinfotitle {
+ margin-left:5px;
+ margin-right:5px;
+}
+</style>
+
+<script>
+ function sendCommand(cmd) {
+ window.domAutomationController.setAutomationId(1);
+ window.domAutomationController.send(cmd);
+ }
+
+ function agreed(form) {
+ form.continue_button.disabled = !form.continue_button.disabled;
+ }
+</script>
+</head>
+<body oncontextmenu="return false;">
+<div class="background"><img src="../security/resources/ssl_roadblock_background.png" width="100%" height="100%" alt="background" /></div>
+<table width="100%" cellspacing="0" cellpadding="0">
+ <td class="cell" valign="middle" align="center">
+ <div class="box">
+ <div class="icon"><img src="phishing_icon.png" alt="Phishing Warning Icon" /></div>
+ <div class="title" jscontent="headLine"></div>
+ <div class="main" jseval="this.innerHTML = $this.description1;"></div>
+ <div class="main"><a href="" jscontent="description2" onclick="sendCommand(2); return false;"></a></div>
+ <div class="main">
+ <form class="submission">
+ <input type="button" name="continue_button" jsvalues="value:continue_button" onclick="sendCommand(1)">
+ <input type="button" name="back_button" jsvalues="value:back_button" onclick="sendCommand(0)">
+ </form>
+ </div>
+ <div class="main"><a href="" onclick="sendCommand(3); return false;" jscontent="report_error"></a></div>
+ </div>
+ </td>
+</table>
+</body>
+</html>