RetroZilla/extensions/xmlterm/ui/content/xmlterm.html
2015-10-20 23:03:22 -04:00

219 lines
7.0 KiB
HTML

<!-- xmlterm.html: xmlterm page -->
<html>
<head>
<title>xmlterm page</title>
<link title="defaultstyle" rel="stylesheet" type="text/css"
href="chrome://xmlterm/skin/xmltpage.css">
<!--
NOTE: Ugly workaround for modifying CSS rules until bug 53448 is fixed
Put all the CSS stuff inline
<style type="text/css">
/* xmltpage.css: default style sheet for xmlterm.html */
BODY { font-family: monaco, courier, elite, monospace;
background-color: #FFFFFF;
}
DIV { margin: 0; padding-top: 0; padding-bottom: 0 }
SPAN { margin: 0; padding-top: 0; padding-bottom: 0 }
PRE { margin: 0; padding-top: 0; padding-bottom: 0;
line-height: 120% }
/* Input components */
SPAN.prompt { color: blue }
SPAN.command { color: blue }
/* Error messages */
DIV.errmsg { color: red }
/* Explicit hyperlinks (underlined) */
DIV.textlink { font-family: monaco; color: blue; cursor: hand;
text-decoration: underline }
SPAN.textlink { font-family: monaco; color: blue; cursor: hand;
text-decoration: underline }
/* Imlicit hyperlinks (highlighted) */
SPAN.highlight { font-family: monaco; color: blue; cursor: hand }
SPAN.directory { font-family: monaco; color: blue; cursor: hand }
SPAN.executable { font-family: monaco; color: blue; cursor: hand }
SPAN.plainfile { font-family: monaco; color: blue; cursor: hand }
SPAN.imagefile { font-family: monaco; color: blue; cursor: hand }
SPAN.urlfile { font-family: monaco; color: blue; cursor: hand }
/* Screen display */
PRE.row { margin: 0; padding-top: 0; padding-bottom: 0 }
SPAN.row { margin: 0; padding-top: 0; padding-bottom: 0 }
SPAN.boldstyle { font-weight: bold; margin: 0;
padding-top: 0; padding-bottom: 0 }
SPAN.underlinestyle { text-decoration: underline; margin: 0;
padding-top: 0; padding-bottom: 0 }
SPAN.blinkstyle { font-weight: bold; margin: 0;
padding-top: 0; padding-bottom: 0 }
SPAN.inversestyle { font-weight: bold; margin: 0;
padding-top: 0; padding-bottom: 0 }
/* Forms */
FORM { margin: 0; padding-top: 0; padding-bottom: 0 }
SPAN.formhead { font-family: sans-serif; font-weight: bold }
/* Tips */
SPAN.tipdata { font-family: sans-serif; background-color: #DDDDDD }
TABLE.tiptable { background-color: #DDDDDD }
DIV.tipelement { font-family: sans-serif }
/* Help links */
SPAN.helphighlight { font-family: sans-serif; color: green; cursor: hand }
SPAN.helplink { font-family: sans-serif; color: blue; cursor: hand;
text-decoration: underline }
/* Level style */
DIV.intermediate {display: none}
DIV.beginner {display: none}
/* Icons style */
SPAN.noicons {display: inline}
SPAN.icons {display: none}
IMG.icons {display: none}
TR.icons {display: none}
</style>
-->
<script language="JavaScript" src="XMLTermCommands.js">
</script>
</head>
<body onload="return LoadHandler();">
<!-- PNG alpha meld demo
<img src="file:///home/svn/ice.png" style="position:absolute; top:45px; right: 0px;">
-->
<div class="menus" id="menus">
<form name="xmltform1">
<span class="helplink" id="aboutxmlterm" onclick="return AboutXMLTerm();">
About XMLTerm
</span>
&nbsp;
<input type="button" size=4 value="New"
onClick="return NewXMLTerm('');">
<!--
&nbsp;
<input type="button" size=4 value="Webcast"
onClick="return ToggleWebcast();">
-->
&nbsp;
<span class="helplink" onclick="return ExplainTip('level');">
Level:</span>
<select name="userLevel" size=1 onchange="return UpdateSettings('userLevel');">
<option value="beginner">beginner</option>
<option value="intermediate">intermediate</option>
<option value="advanced" selected>advanced</option>
</select>
&nbsp;
<span class="helplink" onclick="return ExplainTip('icons');">
Icons:</span>
<select name="showIcons" size=1 onchange="return UpdateSettings('showIcons');">
<option value="off" selected>off</option>
<option value="on">on</option>
</select>
<!--
<span class="helplink" onclick="return ExplainTip('windows');">
Windows:</span>
<select name="windowsMode" size=1 onchange="return UpdateSettings('windowsMode');">
<option value="off" selected>off</option>
<option value="on">on</option>
</select>
<input type="button" value="Save Settings"
onClick="return SaveSettings();">
-->
<hr>
</form>
<div class="intermediate">
<div class="beginner">
<form name="xmltform2">
<center> <span class="formhead">Keyboard shortcuts</span> </center>
<table align=center>
<tr>
<td align=center> <span class="formhead">F1</span>
<td align=center> <span class="formhead">F2</span>
<td align=center> <span class="formhead">F7</span>
<td align=center> <span class="formhead">F8</span>
<td align=center> <span class="formhead">F9</span>
<tr>
<td align=center> <span class="formhead">ctl-Home</span>
<td align=center> <span class="formhead">ctl-End</span>
<tr>
<td><input type="button" value="Hide all output"
onClick="return F1Key();">
<td><input type="button" value="Show all output"
onClick="return F2Key();">
<td><input type="button" value="Explain tip"
onClick="return F7Key();">
<td><input type="button" value="New tip"
onClick="return F8Key();">
<td><input type="button" value="New XMLTerm"
onClick="return F9Key();">
</table>
<br>
<input type="button" value="Set History"
onClick="return SetHistoryValue();">
<input type="button" value="Set Prompt"
onClick="return SetPromptValue();">
<br>
<span class="formhead">Value:</span>
<input size=45 type="text" id="inputvalue"
value=""
onFocus="return FormFocus();" onBlur="return FormBlur();">
</form>
<hr>
</div>
<table id="xmlttip" width=100%>
<tr><td align=left valign=top nowrap>
<span class="helplink" id="tiphead" onclick="return NewTip();">
New Tip:
</span>
<td align=left valign=top>
<span class="tipdata" id="tipdata">
&nbsp;
</span>
<td align=right valign=top nowrap>
<span class="helplink" id="explaintip" onclick="return ExplainTip();">
Explain Tip
</span>
</table>
</div>
<br>
</div>
<!--
<iframe name="iframet" src="chrome://xmlterm/content/xmltblank.html"
frameborder=0>
</iframe>
-->
<div class="session" id="session">
</div>
</body>
</html>