2 <html i18n-values=
"lang:language">
5 <title i18n-content=
"title"></title>
6 <link rel=
"stylesheet" href=
"chrome://resources/css/text_defaults.css">
7 <style type=
"text/css">
9 background-color: #500;
21 background-color: white
;
23 box-shadow: 3px 3px 8px #200;
32 html
[dir
='rtl'] .box
{
37 background-image: url
(ssl/images/roadblock.png);
38 background-repeat: no-repeat
;
56 margin: 15px 5px 15px 0;
65 function sendCommand(cmd
) {
66 window
.domAutomationController
.setAutomationId(1);
67 window
.domAutomationController
.send(cmd
);
70 function getChecked() {
71 for (var i
= 0; i
< document
.form
.group
.length
; i
++) {
72 if (document
.form
.group
[i
].checked
)
73 return parseInt(document
.form
.group
[i
].value
);
79 <body oncontextmenu=
"return false;">
80 <div class=
"background"><img src=
"ssl/roadblock_background.png" width=
"100%"
81 height=
"100%" alt=
"background" onmousedown=
"return false;"></div>
82 <table width=
"100%" cellspacing=
"0" cellpadding=
"0">
83 <td class=
"cell" valign=
"middle" align=
"center">
85 <div class=
"icon"></div>
86 <div class=
"title" i18n-content=
"headLine"></div>
88 <form name=
"form" class=
"submission">
89 <input type=
"radio" name=
"group" value=
"1" checked
>
90 <span i18n-content=
"update"></span>
92 <input type=
"radio" name=
"group" value=
"2">
93 <span i18n-content=
"open_with_reader"></span>
96 <input type=
"button" i18n-values=
"value:ok" name=
"ok"
97 class=
"proceedbutton" onclick=
"sendCommand(getChecked());">
98 <input type=
"button" i18n-values=
"value:cancel" name=
"cancel"
99 onclick=
"sendCommand(0);">