CASA/BrowserExtensions/common/casajar/content/prompt.xul
2006-07-27 21:32:50 +00:00

52 lines
1.6 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window class="dialog"
title="CASA"
id="casawindow"
orient="vertical"
autostretch="always"
onload="centerPrompt()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script language="JavaScript" type="text/javascript" src="encode.js"></script>
<script language="JavaScript" type="text/javascript" src="casaOverlay.js"></script>
<script>
var button = document.getElementById("ok");
button.addEventListener('command', closeWin, true);
button = document.getElementById("notnow");
button.addEventListener('command', cancelWin, true);
</script>
<!-- <radiogroup onclick="alert('test');">-->
<vbox color="red">
<image src="chrome://casa/skin/casa-logo.png"/>
<separator class="thin"/>
<separator class="thin"/>
<separator class="thin"/>
<groupbox align="center" orient="horizontal">
<hbox>
<vbox>
<radiogroup>
<radio id="CASA.RememberMe" selected="true" label="Remember my login"/>
<radio id="CASA.RemAndLogin" label="Remember and log me in automatically"/>
<radio id="CASA.Never" label="Never for this site"/>
</radiogroup>
</vbox>
</hbox>
</groupbox>
</vbox>
<hbox>
<spacer flex="1"/>
<button id="notnow" label="Not now" onclick="cancelWin()"/>
<button id="ok" label="Ok" onclick="closeWin()"/>
</hbox>
<spacer flex="1"/>
</window>