/[webpac2]/Webpacus/root/editor/css.tt
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 /Webpacus/root/editor/css.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (show annotations)
Tue Nov 29 14:31:26 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 1056 byte(s)
 r11253@llin:  dpavlin | 2005-11-29 15:34:17 +0100
 much simplified editor html and css [0.09]

1 <td class="editor-form">
2
3 [% c.prototype.form_remote_tag(
4 url => base _ 'editor/css',
5 update => 'div_css_status',
6 loading => 'show_working();',
7 loaded => 'reload_css(); hide_working();',
8 html_options => {
9 name => 'form_editor_css',
10 }
11 ) %]
12
13 <div id="css_content_toolbar" class="content_toolbar">
14 <span class="notice">...not changed yet...</span>
15 </div>
16
17 <textarea name="css_content" id="css_content" cols="80" rows="10"
18 onkeydown="return edTab(event);"
19 onfocus="return edFocus('css_content');"
20 onblur="_cs('not saved'); return edBlur();"
21 >
22 [% css_content %]
23 </textarea>
24
25 <div class="edit-bar">
26
27 <input type="submit" name="save_css" value="Save" />
28 <span id="div_css_status" class="notice">idle</span>
29
30 <input type="hidden" name="css_filename" value="[% css_filename %]" />
31
32 </div>
33
34 </form>
35
36 </td><td class="file-list">
37
38 CSS:
39
40 <ul>
41 [% FOREACH t IN css_list %]
42 [% IF t == css_filename %]
43 <li clas="file-selected">[% t %]</li>
44 [% ELSE %]
45 <li><a href="#" onclick="return load_css('[% t %]');">[% t %]</a></li>
46 [% END %]
47 [% END %]
48 </ul>
49
50 </td>

  ViewVC Help
Powered by ViewVC 1.1.26