/[wopi2]/trunk/template/editor.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/template/editor.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Wed Jun 23 11:56:27 2004 UTC (19 years, 11 months ago) by dpavlin
File MIME type: text/html
File size: 1386 byte(s)
initial import of WOPI v2

1 <html xmlns="http://www.w3.org/1999/xhtml"><head>
2 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
3 <title>WOPI :: [% poll_name %] :: [% order %]</title>
4 <link rel="stylesheet" href="style.css" type="text/css">
5 <script type="text/javascript" src="preview.js"></script></head>
6
7 <body onLoad="preview_text('var'); preview_html('q'); preview_html('a');">
8
9 [% INCLUDE "hint_edit.html" %]
10
11 <div class="left">
12
13 <form action="[% self %]" method="get">
14
15 <p>
16 <label for="var" class="note">Variable name:</label>
17 <input tabindex="1" id="var" name="var" size="5" onkeyup="preview_text('var');" onchange="peview_text('var');" value="v[% order %]">
18 </p>
19
20 <p>
21
22 </p>
23 <label for="text" class="note">Question text (preview below):</label><br>
24 <textarea tabindex="3" id="q" name="q" rows="2" cols="50" onkeyup="preview_html('q');">[% q %]</textarea>
25 <p>
26 <label for="text" class="note">Answer text (preview below):</label><br>
27 <textarea tabindex=43" id="a" name="a" rows="10" cols="50" onkeyup="preview_html('a');">[% a %]</textarea>
28 </p>
29
30 <input style="font-weight: bold;" type="submit" name="save" value=" Save ">
31 <span id="var_preview"></span>
32 <input type="hidden" name="order" value="[% order %]">
33 <input type="hidden" name="do" value="save_question">
34 </form>
35
36 </div>
37
38 <div class="preview">
39 <div id="q_preview"></div>
40
41 <div id="a_preview"></div>
42 </div>
43

  ViewVC Help
Powered by ViewVC 1.1.26