Debian Codegraph @

terps/tads/tads3/lib/webuires/main.htm

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
2 <!--
3
4 TADS Web UI main window. This is a generic page that can be used as the
5 top-level user interface window. This page is a "layout window", which
6 is designed to be divided up via IFRAMEs into sub-windows that contain
7 the UI elements (status line, main command transcript window, etc).
8 This page also sets up the main server-to-client event handler request
9 "thread", which sits in a loop asking the server for events and
10 displatching the event replies.
11
12 -->
13 <html>
14 <head>
15 <title>TADS</title>
16 <link rel="stylesheet" type="text/css" href="/webuires/tads.css">
17 <link rel="stylesheet" type="text/css" href="/webuires/layoutwin.css">
18 <link rel="stylesheet" type="text/css" href="/webuires/main.css">
19 <script src="/webuires/util.js"></script>
20 <script src="/webuires/layoutwin.js"></script>
21 <script src="/webuires/main.js"></script>
22 <script src="/webuires/defaultPrefs.js"></script>
23 </head>
24
25 <body onload="javascript:mainInit();"
26 onkeydown="javascript:return $kd(event, mainBodyKey);"
27 onkeypress="javascript:return $kp(event, mainBodyKey);">
28
29 <div id="debugLogDiv"
30 onkeydown="javascript:return $kd(event, popupDivKey);"
31 onkeypress="javascript:return $kp(event, popupDivKey);">
32 </div>
33
34 <div id="errorPopupDiv"
35 onkeydown="javascript:return $kd(event, popupDivKey);"
36 onkeypress="javascript:return $kp(event, popupDivKey);">
37 <div style="position: relative;"><!-- workaround for weird IE7 bug -->
38 <div class="icon"></div>
39 <div class="content">
40 Error -
41 <a href="#" onclick="javascript:showErrorLog();return false;">
42 Details</a> |
43 <a href="#" onclick="javscript:hideErrorPopup();return false;">
44 Ignore</a>
45 </div>
46 </div>
47 </div>
48
49 <div id="downloadPopupDiv"
50 onkeydown="javascript:return $kd(event, popupDivKey);"
51 onkeypress="javascript:return $kp(event, popupDivKey);">
52 <div style="position: relative;"><!-- workaround for weird IE7 bug -->
53 <div class="icon"></div>
54 <div class="content">
55 <b>File Downloads</b>
56 </div>
57 </div>
58 </div>
59
60
61 <div id="dialogTemplate" style="display:none;">
62 <div class="dialogTitleBar"
63 onmousedown="javascript:return dlgTitleDown(event);">
64 <div class="dialogDiv-tl"></div>
65 <div class="dialogDiv-tr"></div>
66 <div class="dialogTitle"></div>
67 <div class="dialogCloseBox" title="Close"
68 onclick="javascript:dismissDialog(null);return false;"
69 onmousedown="javascript:return trackButton(event, this);"
70 onmouseover="javascript:return trackButton(event, this);">
71 </div>
72 </div>
73 <div class="dialogMoveCover"></div>
74 <div class="dialogWrapper">
75 <div class="dialogContent"></div>
76 </div>
77 <div class="dialogDiv-bl"></div>
78 <div class="dialogDiv-br"></div>
79 </div>
80
81 <div id="colorPicker" class="colorPicker"
82 onkeydown="javascript:return $kd(event, colorPopupKey);"
83 onkeypress="javascript:return $kp(event, colorPopupKey);">
84 <!-- we populate the contents with javascript on the first use -->
85 </div>
86
87 <div id="prefsDialog" style="display: none;">
88
89 <div class="prefsSection">
90 <span class="prefsLabel">Current profile:</span>
91 <select id="curProfile" size="1"
92 onchange="javascript:onChangeProfile(event, this);"></select>
93 <a href="#" onclick="javascript:renamePrefProfile();return false;"
94 class="dlgButton">
95 Rename</a>
96 <a href="#" onclick="javascript:delPrefProfile();return false;"
97 class="dlgButton">
98 Delete</a>
99 <a href="#" onclick="javascript:resetPrefProfile();return false;"
100 class="dlgButton">
101 Reset</a>
102 <a href="#" onclick="javascript:newPrefProfile();return false;"
103 class="dlgButton">
104 Create New</a>
105 </div>
106
107 <div class="hr"></div>
108
109 <div class="prefsSection">
110 <span class="prefsLabel"></span>
111 <span class="details"><nobr>* <i>indicates a default setting</i></nobr>
112 </span><br>
113
114 <nobr>
115 <span class="prefsLabel">Main game text:</span>
116 $[fontpicker id="mainFont"] $[colorpicker id="mainColor"]
117 </nobr>
118 <br>
119 <nobr>
120 <span class="prefsLabel">Link colors:</span>
121 $[colorpicker id="mainLinkColor"]
122 &nbsp; Hover: $[colorpicker id="mainLinkHover"]
123 &nbsp; Active: $[colorpicker id="mainLinkActive"]
124 </nobr>
125 <br>
126 <nobr>
127 <span class="prefsLabel">Main background:</span>
128 $[colorpicker id="mainBkg"]
129 </nobr>
130 <br>
131 <nobr>
132 <span class="prefsLabel">Command-line text:</span>
133 $[fontpicker id="cmdFont"] $[colorpicker id="cmdColor"]
134 </nobr>
135 <br>
136 <nobr>
137 <span class="prefsLabel"></span>
138 $[checkbox id="cmdBold" label="Bold"]
139 $[checkbox id="cmdItalic" label="Italic"]
140 </nobr>
141 </div>
142
143 <div class="hr"></div>
144
145 <div class="prefsSection">
146 <nobr>
147 <span class="prefsLabel">Status line text:</span>
148 $[fontpicker id="statusFont"] $[colorpicker id="statusColor"]
149 </nobr>
150 <br>
151 <nobr>
152 <span class="prefsLabel">Link colors:</span>
153 $[colorpicker id="statusLinkColor"]
154 &nbsp; Hover: $[colorpicker id="statusLinkHover"]
155 &nbsp; Active: $[colorpicker id="statusLinkActive"]
156 </nobr>
157 <br>
158 <nobr>
159 <span class="prefsLabel">Status line background:</span>
160 $[colorpicker id="statusBkg"]
161 </nobr>
162 </div>
163
164 <div class="hr"></div>
165
166 <div class="prefsSection">
167 <nobr>
168 <span class="prefsLabel">Serifed font:</span>
169 $[fontpicker id="serifFont"]
170 </nobr>
171 <br>
172 <nobr>
173 <span class="prefsLabel">Sans-serif font:</span>
174 $[fontpicker id="sansFont"]
175 </nobr>
176 <br>
177 <nobr>
178 <span class="prefsLabel">Cursive/script font:</span>
179 $[fontpicker id="scriptFont"]
180 </nobr>
181 <br>
182 <nobr>
183 <span class="prefsLabel">Typewriter font:</span>
184 $[fontpicker id="ttFont"]
185 </nobr>
186 </div>
187 </div>
188
189 <div id="fileDialog" style="display: none;">
190 <iframe
191 frameBorder="0"
192 style="position: static; height: 30em;">
193 </iframe><br>
194 </div>
195
196 <div id="uploadDialog" style="display: none;">
197 <iframe frameBorder="0" style="position: static; height: 10em;">
198 </iframe>
199 </div>
200
201 <div id="__TADS_swf_div">
202 <div> &nbsp; </div>
203 <br>
204 <span id="__font_test" style="font-size: 48pt;"
205 >ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%?</span>
206 <br>
207 <span id="__font_ref"
208 style="font-family: Comic Sans MS, Times New Roman; font-size: 48pt;"
209 >ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%?</span>
210 <br>
211 </div>
212
213 <div id="pageMenuDiv">
214 <div class="pageMenuWrapper">
215 <nobr><a href="#" onclick="javascript:pageMenuClick('prefs');return false;">
216 Customize Display</a></nobr><br>
217 <nobr><a href="#" onclick="javascript:pageMenuClick('errlog');return false;">
218 View Error Log</a></nobr>
219 </div>
220 </div>
221
222 </body>
223 </html>