2012-04-11 09:26:25 +00:00
|
|
|
<div class="s_tab stb_h">
|
|
|
|
<ul>
|
2013-07-25 09:18:24 +00:00
|
|
|
<li><a href="#st1" class="hh1 hp thmc2 thmtxt" data-active="true">Themes</a></li>
|
2013-05-02 06:02:41 +00:00
|
|
|
<li><a href="#st2" class="hh1 hp admtxt admbg">Theme Color</a></li>
|
2013-03-05 01:39:01 +00:00
|
|
|
<li><a href="#st3" class="hh1 hp admtxt admbg">Wallpaper</a></li>
|
2013-08-01 13:50:49 +00:00
|
|
|
<li><a href="#st4" class="hh1 hp admtxt admbg">Upload Wallpaper</a></li>
|
2012-04-11 09:26:25 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-03-06 11:04:33 +00:00
|
|
|
|
2013-06-06 06:11:55 +00:00
|
|
|
<div class="overview tab_holder" content-layout="simple">
|
2013-07-25 09:18:24 +00:00
|
|
|
<div id="st1" class="st_c" style="display:block;">
|
2012-04-18 10:15:02 +00:00
|
|
|
<div class="theme_list ssl">
|
2012-04-23 13:04:02 +00:00
|
|
|
<% @themes.each do |theme| %>
|
2013-07-25 09:18:24 +00:00
|
|
|
<div id="<%= theme.id %>" class="ssl_item"><div class="theme_thumb"><img src="<%= theme.images.where(:name=>theme.background).first.file.thumb.url %>" alt="" width="120" height="96"></div><span class="theme_name ssl_des"><%= theme.name %></span></div>
|
2012-04-23 13:04:02 +00:00
|
|
|
<% end %>
|
2012-04-18 10:15:02 +00:00
|
|
|
</div>
|
2012-04-11 09:26:25 +00:00
|
|
|
</div>
|
2012-04-23 13:04:02 +00:00
|
|
|
|
|
|
|
|
2012-04-11 09:26:25 +00:00
|
|
|
<div id="st2" class="st_c">
|
2013-03-05 01:39:01 +00:00
|
|
|
<div class="s_title hh2">Preview</div>
|
2012-04-18 10:15:02 +00:00
|
|
|
<div class="theme_preview vp thmbgc" style="background-color: #000;" id="theme_preview_area">
|
2013-03-05 01:39:01 +00:00
|
|
|
<div class="thmtxth hh1 hp" style="margin-left:108px;">Theme Text1</div>
|
2012-04-11 09:26:25 +00:00
|
|
|
<div class="theme_plate">
|
2013-04-01 02:50:31 +00:00
|
|
|
<div class="thmc4 h1 wh2"></div>
|
2012-04-11 09:26:25 +00:00
|
|
|
<div class="thmc1 h1 w1"><div class="thmtxt hp">Theme Text2</div></div>
|
|
|
|
<div class="g_sep h1 op07"></div>
|
|
|
|
<div class="thmc2 h1 w1"><div class="thmtxt hp">Theme Text</div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
2012-04-18 10:15:02 +00:00
|
|
|
<table id="color_input" cellpadding="0" cellspacing="0" border="0" width="528" >
|
2012-04-11 09:26:25 +00:00
|
|
|
<tr>
|
2013-04-01 02:50:31 +00:00
|
|
|
<th class="s_title size_small hh2" width="190px">Theme Color</th>
|
|
|
|
<th class="s_title size_small hh2">Line Color</th>
|
|
|
|
<th class="s_title size_small hh2" width="120px">Text Color</th>
|
|
|
|
<th class="s_title size_small hh2" width="120px">Background Color</th>
|
2012-04-11 09:26:25 +00:00
|
|
|
</tr>
|
2012-04-18 10:15:02 +00:00
|
|
|
<tr>
|
2012-04-11 09:26:25 +00:00
|
|
|
<td>
|
2012-04-19 21:38:53 +00:00
|
|
|
<input type="hidden" class="color-picker black" value="" for="thmc4">
|
|
|
|
<input type="hidden" class="color-picker black" value="" for="thmc1">
|
|
|
|
<input type="hidden" class="color-picker black" value="" for="thmc2">
|
2012-04-11 09:26:25 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2012-04-19 21:38:53 +00:00
|
|
|
<input type="hidden" class="color-picker black" value="" for="g_sep">
|
2012-04-11 09:26:25 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2012-04-19 21:38:53 +00:00
|
|
|
<input type="hidden" class="color-picker black" value="" for="thmtxth">
|
|
|
|
<input type="hidden" class="color-picker black" value="" for="thmtxt">
|
2012-04-11 09:26:25 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2012-04-19 21:38:53 +00:00
|
|
|
<input type="hidden" class="color-picker black" value="" for="background">
|
2012-04-11 09:26:25 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<div class="s_action">
|
2013-03-05 01:39:01 +00:00
|
|
|
<a href="" id="theme_submit" class="setting_btn thmc1 thmtxt w1 hh1 hp" onclick="return false;">Confirm</a>
|
2012-04-11 09:26:25 +00:00
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-04-17 08:32:11 +00:00
|
|
|
<div id="st3" class="st_c">
|
2012-04-18 10:15:02 +00:00
|
|
|
<div class="stock_wallpaper ssl">
|
2013-08-01 13:50:49 +00:00
|
|
|
<% @wallpapers.each do |wallpaper| %>
|
|
|
|
<% if wallpaper.type == "file" %>
|
|
|
|
<div class="sb1 ssl_item"><img src="<%= wallpaper.file.thumb %>" data-type="<%= wallpaper.type %>" data-link="<%= wallpaper.file %>"></div>
|
|
|
|
<% elsif wallpaper.type == "url" %>
|
|
|
|
<div class="sb1 ssl_item"><img src="<%= wallpaper.link %>" data-type="<%= wallpaper.type %>" data-link="<%= wallpaper.link %>"></div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
2012-04-17 08:32:11 +00:00
|
|
|
</div>
|
2012-04-19 21:38:53 +00:00
|
|
|
<!-- <div class="s_action">
|
2013-03-05 01:39:01 +00:00
|
|
|
<div href="" class="setting_btn thmc1 thmtxt w1 hh1 hp" onclick="o.tempFunc();return false;">Confirm</a>
|
2012-04-19 21:38:53 +00:00
|
|
|
</div> -->
|
2012-04-17 08:32:11 +00:00
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
2013-08-01 13:50:49 +00:00
|
|
|
<div id="st4" class="st_c">
|
|
|
|
<form action="<%= desktop_wallpaper_upload_path %>" method="post" form-type="ajax_form" notification="Wallpaper uploaded successfully!!!">
|
|
|
|
<label>Image Link</label><input type="text" name="imagelink" />
|
|
|
|
Or
|
|
|
|
<label>Upload from computer</label><input type="file" name="imagefile" />
|
|
|
|
<input type="submit" class="fn_btn ini_input hp hh1 thmc2 thmtxt" value="Save" />
|
|
|
|
<input type="reset" class="fn_btn ini_input hp hh1 thmc2 thmtxt" value="Clear" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
2012-04-11 09:26:25 +00:00
|
|
|
</div>
|