CASA/BrowserExtensions/common/casajar/content/debug.xul
2006-07-28 19:34:44 +00:00

50 lines
1.8 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window class="dialog"
title="Debug"
id="debugwindow"
orient="vertical"
autostretch="always"
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-logo2.png"/>
<separator class="thin"/>
<separator class="thin"/>
<hbox>
</hbox>
<separator class="thin"/>
</vbox>
<hbox>
<spacer flex="1"/>
<button id="selectall" label="dumpRealms" onclick="dumpRealms()"/>
<button id="selectall" label="Read test Secret" onclick="readTestKey()"/>
<button id="selectall" label="Write test Secret" onclick="writeTestKey()"/>
<button id="selectall" label="Show Java Info" onclick="displayJavaInfo()"/>
<button id="selectall" label="Open Java Console" onclick="showConsole()"/>
<button id="selectall" label="Show user.dir" onclick="displayUserDir()"/>
<button id="notnow" label="Show user.home" onclick="displayUserHome()"/>
<button id="notnow" label="Show Bandit User" onclick="getBanditUsername()"/>
<button id="notnow" label="Show Bandit Password" onclick="getBanditPassword()"/>
</hbox>
<spacer flex="1"/>
</window>