2012-11-28 09:27:23 +00:00
|
|
|
<% content_for :side_bar do %>
|
2012-11-28 18:02:37 +00:00
|
|
|
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
|
2012-11-28 09:27:23 +00:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :page_specific_css do %>
|
2012-12-05 05:46:10 +00:00
|
|
|
<%= stylesheet_link_tag 'normalize' %>
|
|
|
|
<%= stylesheet_link_tag 'bootstrap-responsive' %>
|
|
|
|
<%= stylesheet_link_tag 'rulingorbit' %>
|
|
|
|
<%= stylesheet_link_tag 'template-store' %>
|
2012-11-28 09:27:23 +00:00
|
|
|
<% end %>
|
|
|
|
|
2012-12-05 05:46:10 +00:00
|
|
|
|
|
|
|
<div class="wrapper">
|
|
|
|
<div id="toolbar">
|
|
|
|
<div class="filter fn">
|
|
|
|
<span class="label">Price</span>
|
|
|
|
<div class="drop-menu ui">
|
|
|
|
<a href="" class="controller">
|
|
|
|
<span class="option-default">All</span>
|
|
|
|
<span class="arrow down"></span>
|
|
|
|
</a>
|
|
|
|
<ul class="option-list">
|
|
|
|
<li><a class="option-item" href="">All</a></li>
|
|
|
|
<li><a class="option-item" href="">15,000</a></li>
|
|
|
|
<li><a class="option-item" href="">20,000</a></li>
|
|
|
|
<li><a class="option-item" href="">25,000</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="filter fn">
|
|
|
|
<span class="label">Color</span>
|
|
|
|
<div class="select single-select" id="color-filter">
|
|
|
|
<ul class="option-list">
|
|
|
|
<li><a href="" class="ui btn option-default">All</a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag red"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag yellow"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag green"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag blue"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag purple"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag white"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag gray"></span></a></li>
|
|
|
|
<li><a class="ui btn" href=""><span class="color-tag black"></span></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="filter fn">
|
|
|
|
<span class="label">Category</span>
|
|
|
|
<div class="drop-menu ui">
|
|
|
|
<a href="" class="controller">
|
|
|
|
<span class="option-default">All</span>
|
|
|
|
<span class="arrow down"></span>
|
|
|
|
</a>
|
|
|
|
<ul class="option-list">
|
|
|
|
<li><a class="option-item" href="">All</a></li>
|
|
|
|
<li><a class="option-item" href="">National Taiwan University</a></li>
|
|
|
|
<li><a class="option-item" href="">Category 1</a></li>
|
|
|
|
<li><a class="option-item" href="">Category 2</a></li>
|
|
|
|
<li><a class="option-item" href="">Category 3</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="filter fn">
|
|
|
|
<span class="label">Sort by</span>
|
|
|
|
<div class="drop-menu ui">
|
|
|
|
<a href="" class="controller">
|
|
|
|
<span class="option-default">Date</span>
|
|
|
|
<span class="arrow down"></span>
|
2012-11-28 09:27:23 +00:00
|
|
|
</a>
|
2012-12-05 05:46:10 +00:00
|
|
|
<ul class="option-list">
|
|
|
|
<li><a class="option-item" href="">Date</a></li>
|
|
|
|
<li><a class="option-item" href="">Popular</a></li>
|
|
|
|
<li><a class="option-item" href="">Recent Upload</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="item-list">
|
|
|
|
<ul class="clearfix">
|
2012-12-06 15:20:27 +00:00
|
|
|
<% @templates.each do |template| %>
|
|
|
|
<li>
|
|
|
|
<%= link_to admin_template_store_template_path(template['id']) do %>
|
|
|
|
<%= image_tag "http://#{APP_CONFIG['store_ip']}#{template['thumb']}", :class => "item-thumb" %>
|
|
|
|
<span class="item-info">
|
|
|
|
<b class="item-name"><%= template['title'] %></b>
|
|
|
|
<span class="item-price">Free</span>
|
|
|
|
</span>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% (12-@templates.size).times do |i| %>
|
|
|
|
<li><a href="template_store/show"><img src="" alt="" class="item-thumb"><span class="item-info"><b class="item-name">Template <%= i + @templates.size + 1 %></b><span class="item-price">Free</span></span></a></li>
|
|
|
|
<% end %>
|
2012-12-05 05:46:10 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2012-11-28 09:27:23 +00:00
|
|
|
</div>
|
2012-11-28 18:02:37 +00:00
|
|
|
|
|
|
|
|