edit.rhtml
2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<form>
<%# FIXME %>
<h1 id='theme-name'>
<%= _('Editing theme %s') % text_field_tag('theme_name', 'my theme') %>
<%= icon_button(:save, _('Save'), '#') %>
</h1>
</form>
<div id='css-files-list'>
<h2><%= _('CSS files') %></h2>
<ul>
<li><a href="">common.css</a></li>
<li><a href="">header.css</a></li>
<li><a href="">footer.css</a></li>
<li><a href="">sideboxes.css</a></li>
<li><a href="">otherstuff1.css</a></li>
<li><a href="">otherstuff1.css</a></li>
<li><a href="">otherstuff1.css</a></li>
<li><a href="">otherstuff2css</a></li>
<li><a href="">otherstuff3.css</a></li>
<li><a href="">otherstuff4.css</a></li>
<li><a href="">otherstuff2css</a></li>
<li><a href="">otherstuff3.css</a></li>
<li><a href="">otherstuff4.css</a></li>
<li><a href="">otherstuff2css</a></li>
<li><a href="">otherstuff3.css</a></li>
<li><a href="">otherstuff4.css</a></li>
</ul>
<% button_bar do %>
<%= button(:add, _('New CSS'), '') %>
<% end %>
</div>
<div id='image-files-list'>
<h2><%= _('Images') %></h2>
<ul>
<li><img src='/images/icons-app/gtk-cancel.png' /><span>Image 1</span></li>
<li><img src='/images/icons-app/cms.png' /><span>Image_2_a_very_large_filename</span></li>
<li><img src='http://www.ynternet.org/banner/' /><span>a wide image</span></li>
<li><img src='/images/icons-app/enable.png' /><span>Image 3</span></li>
<li><img src='/images/icons-app/gnome-globe.png' /><span>Image 4</span></li>
<li><img src='/images/icons-app/gtk-yes.png' /><span>Image 5</span></li>
<li><img src='/images/icons-app/mail.png' /><span>Image 6</span></li>
</ul>
<% button_bar do %>
<%= button(:add, _('Upload image'), '') %>
<% end %>
</div>
<form id='css-code'>
<%# FIXME %>
<h2><%= _('CSS code: "%s"') % 'common.css' %></h2>
<textarea name='csscode' id="csscode" class='codepress css'>
body {
background: yellow;
}
</textarea>
<% button_bar do %>
<%= button(:save, _('Save'), '') %>
<% end %>
</form>
<%= render :file => 'shared/codepress' %>