Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / reader_out_of_date.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title i18n-content="title"></title>
6 <style type="text/css">
7 body {
8   background-color:#500;
9   font-family:Helvetica,Arial,sans-serif;
10   margin:0px;
11 }
12 .background {
13   position:absolute;
14   width:100%;
15   height:100%;
16 }
17 .cell {
18   padding:40px;
19 }
20 .box {
21   width:80%;
22   background-color:white;
23   color:black;
24   font-size:10pt;
25   line-height:16pt;
26   text-align:left;
27   padding:20px;
28   position:relative;
29   -webkit-box-shadow:3px 3px 8px #200;
30   border-radius:5px;
31 }
32 html[dir='rtl'] .box {
33   text-align:right;
34 }
35
36 .icon {
37   background-image: url('ssl/images/roadblock.png');
38   background-repeat: no-repeat;
39   height: 53px;
40   position: absolute;
41   width: 64px;
42 }
43 .title {
44   margin: 0px 77px 0px;
45   font-size:18pt;
46   line-height: 140%;
47   margin-bottom:6pt;
48   font-weight:bold;
49   color:#660000;
50 }
51 .main {
52   margin:0px 80px 0px;
53 }
54
55 .submission {
56   margin:15px 5px 15px 0px;
57   padding:0px;
58 }
59 input {
60   margin:0px;
61 }
62 .proceedbutton {
63 }
64 </style>
65
66 <script>
67 function sendCommand(cmd) {
68   window.domAutomationController.setAutomationId(1);
69   window.domAutomationController.send(cmd);
70 }
71
72 function getChecked() {
73   for (var i = 0; i < document.form.group.length; i++) {
74     if (document.form.group[i].checked)
75       return parseInt(document.form.group[i].value);
76   }
77   return 0;
78 }
79 </script>
80 </head>
81 <body oncontextmenu="return false;">
82 <div class="background"><img src="ssl/roadblock_background.png" width="100%" height="100%" alt="background" onmousedown="return false;"></div>
83 <table width="100%" cellspacing="0" cellpadding="0">
84   <td class="cell" valign="middle" align="center">
85     <div class="box">
86       <div class="icon"></div>
87       <div class="title" i18n-content="headLine"></div>
88       <div class="main">
89         <form name="form" class="submission">
90           <input type="radio" name="group" value="1" checked> <span i18n-content="update"></span><br>
91           <input type="radio" name="group" value="2"> <span i18n-content="open_with_reader"></span><br>
92           <br>
93           <input type="button" i18n-values="value:ok" name="ok" class="proceedbutton" onClick="sendCommand(getChecked());">
94           <input type="button" i18n-values="value:cancel" name="cancel" onClick="sendCommand(0);">
95         </form>
96       </div>
97   </td>
98 </table>
99 </body>
100 </html>