forked from EFForg/https-everywhere
-
Notifications
You must be signed in to change notification settings - Fork 4
/
observatory-warning.xul
49 lines (46 loc) · 1.86 KB
/
observatory-warning.xul
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
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://https-everywhere/locale/ssl-observatory.dtd">
<window id="ssl-observatory-dialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
title="&ssl-observatory.warning.title;"
width="600"
height="500"
align="center"
onload="warning_populate(window.arguments[0])"
>
<script type="application/x-javascript" src="observatory-xul.js" />
<image src="chrome://https-everywhere/skin/https-everywhere-banner.png" />
<vbox flex="1">
<vbox id="warning-container" flex="1">
<label style="padding:25px 25px 10px;">&ssl-observatory.warning.text;</label>
<spacer flex="1" />
</vbox>
<commandgroup>
<command id="showcert" oncommand="show_certs()" />
<command id="okay" oncommand='window.close()'
/>
</commandgroup>
<spacer flex="1" />
<label style="padding:5px 25px 0px;">&ssl-observatory.warning.defense;</label>
<separator class="thin"/>
<hbox>
<spacer flex="2" />
<button label="&ssl-observatory.warning.showcert;" accesskey="S"
id="show-certificate" command='showcert'/>
<spacer flex="1" />
<button label="&ssl-observatory.warning.okay;" accesskey="I"
command='okay'/>
<spacer flex="2" />
</hbox>
<separator class="thin" />
</vbox>
<!--
<hbox style="padding-top:10px;">
<label class="text-link" href="https://www.eff.org/" tabindex="3" value="&ssl-observatory.popup.details;" />
<spacer flex="1" />
<button label="&ssl-observatory.popup.later;" id="ask-me-later" tabindex="0" style="font-size:0.8em;" accesskey="l"
oncommand="doCancel()"/>-
</hbox>-->
</window>