In the middle of adding custom theme supports. Skin_pictures table added to store...
[selectricity-live] / app / views / election / _themeupload.rhtml
1 <%= error_messages_for("skin_picture") %>
2
3 <p>If you want a custom theme upload it if here!<br />
4
5 <span><label for="skin_picture_topbar">Top Bar</span><br />
6         <%=file_field :skin_picture, :uploaded_data %><br />
7 <span><label for="skin_picture_default_image">Corner Image</span><br />
8         <%=file_field :skin_picture, :uploaded_data %><br />
9 <span><label for="skin_picture_vote_bg1">Background One</span><br />
10         <%=file_field :skin_picture, :uploaded_data %><br />
11 <span><label for="skin_picture_vote_bg2">Background Two</span><br />
12         <%=file_field :skin_picture, :uploaded_data %><br />
13 <span><label for="skin_picture_bottombar">Bottom Bar</span><br />
14         <%=file_field :skin_picture, :uploaded_data %><br />
15 </p>
16         
17 <p>Detailed Information:
18         Every embeddable widget uses five different picture files to create 
19                 it's color scheme and default image. If you have images you'd like to
20                 use in your widget. Please make sure they fit the
21                 specified dimensions.<br />
22                 Top Bar/ Bottom Bar/ Alternating Backgrounds: 330px wide 53px tall
23                 <br />
24                 Default Image: 70px wide 53px tall
25 </p>

Benjamin Mako Hill || Want to submit a patch?