/[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

Diff of /trunk/template/editor.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Fri Jun 25 11:46:24 2004 UTC revision 5 by dpavlin, Fri Jun 25 16:16:08 2004 UTC
# Line 1  Line 1 
1  <html xmlns="http://www.w3.org/1999/xhtml"><head>  <html xmlns="http://www.w3.org/1999/xhtml"><head>
2  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
3  <title>WOPI :: [% poll_name %] :: [% order %]</title>  <title>WOPI :: [% poll_name %] :: [% title %]</title>
4  <link rel="stylesheet" href="style.css" type="text/css">  <link rel="stylesheet" href="style.css" type="text/css">
5  <script type="text/javascript" src="preview.js"></script></head>  <script type="text/javascript" src="preview.js"></script></head>
6    
7  <body onLoad="preview_text('var'); preview_html('q'); preview_html('a');">  <body onLoad="preview_text('var'); preview_html('q'); preview_html('a');">
8    
9    [% USE dumper %]
10    
11  <div class="right">  <div class="right">
12    [% INCLUDE "status.html" %]
13  [% INCLUDE "question_list.html" %]  [% INCLUDE "question_list.html" %]
14  [% INCLUDE "hint_edit.html" %]  [% INCLUDE "hint_edit.html" %]
15  </div>  </div>
16    
17  <div class="left">  <div class="left">
18    
19  <form action="[% self %]" method="get">  <form action="[% self %]" method="post">
20    
21  <p>  <p>
22    <label for="var" class="note">Variable name:</label>    <label for="var" class="note">Variable name:</label>
23    <input tabindex="1" id="var" name="var" size="5" onkeyup="preview_text('var');" onchange="peview_text('var');" value="v[% order %]">    <input tabindex="1" id="var" name="var" size="5" onkeyup="preview_text('var');" onchange="peview_text('var');" value="[% var %]">
24  </p>  </p>
25    
26  <p>  <p>
# Line 30  Line 33 
33    <textarea tabindex=43" id="a" name="a" rows="10" cols="50" onkeyup="preview_html('a');">[% a %]</textarea>    <textarea tabindex=43" id="a" name="a" rows="10" cols="50" onkeyup="preview_html('a');">[% a %]</textarea>
34  </p>  </p>
35    
36    <input style="font-weight: bold;" type="submit" name="save" value=" Save ">  [% IF buttons -%]
37     [% FOR b IN buttons -%]
38      [% FOR keyval IN b.list -%]
39      <input style="font-weight: bold;" type="submit" name="[% keyval.key %]" value="[% keyval.value %]">
40      [% END -%]
41     [% END -%]
42    [% END -%]
43    <span id="var_preview"></span>    <span id="var_preview"></span>
44    <input type="hidden" name="order" value="[% order %]">    <input type="hidden" name="order" value="[% order %]">
45    <input type="hidden" name="do" value="save_question">    <input type="hidden" name="do" value="save_question">
# Line 45  Line 54 
54  </div>  </div>
55    
56  <div style="float: left; clear: left;">  <div style="float: left; clear: left;">
 [% USE dumper %]  
57  <small>  <small>
58  <pre>  <pre>
59  [% dumper.dump(poll.questions) %]  [% dumper.dump(poll.questions) %]

Legend:
Removed from v.4  
changed lines
  Added in v.5

  ViewVC Help
Powered by ViewVC 1.1.26