2012-11-28 18:02:37 +00:00
|
|
|
<% content_for :side_bar do %>
|
|
|
|
<%= 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'} %>
|
|
|
|
<% 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 'module-store' %>
|
2012-11-28 18:02:37 +00:00
|
|
|
<% end %>
|
2012-12-06 08:06:47 +00:00
|
|
|
<% content_for :page_specific_javascript do %>
|
|
|
|
<%= javascript_include_tag "jquery.cycle" %>
|
|
|
|
<%= javascript_include_tag "rulingorbit" %>
|
|
|
|
<% end %>
|
2012-11-28 18:02:37 +00:00
|
|
|
|
|
|
|
|
2012-12-05 05:46:10 +00:00
|
|
|
<div class="wrapper">
|
|
|
|
<div id="toolbar">
|
|
|
|
<div class="fn"><a class="ui btn" href="/admin/module_store">Back to Store</a></div>
|
|
|
|
</div>
|
|
|
|
<div id="content" class="clearfix">
|
|
|
|
<div class="side">
|
|
|
|
<div id="item-info">
|
2012-12-06 18:37:05 +00:00
|
|
|
<img src="/assets/module/thumb/mt<%= params[:m] %>.jpg" alt="" class="item-thumb">
|
2014-01-14 03:20:30 +00:00
|
|
|
<h2 class="item-name"><%= @extension.first["title"] %></h2>
|
2012-12-05 05:46:10 +00:00
|
|
|
<a id="download" href="">free download</a>
|
|
|
|
<ul class="item-extra-info">
|
2012-12-07 01:07:49 +00:00
|
|
|
<li><span class="title">downloads</span><span class="count"><%= Random.new.rand(10..100) %></span></li>
|
2012-12-05 05:46:10 +00:00
|
|
|
</ul>
|
|
|
|
<h3>who use it?</h3>
|
|
|
|
<ul class="user-list">
|
|
|
|
<li>Unversity 1</li>
|
|
|
|
<li>Unversity 2</li>
|
|
|
|
<li>Unversity 3</li>
|
|
|
|
<li>Unversity 4</li>
|
|
|
|
<li>Unversity 5</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="main clearfix">
|
2014-01-14 03:20:30 +00:00
|
|
|
<h3>Description</h3>
|
|
|
|
<div id="desc-holder" class="paragraph"><%= @extension.first["description"].html_safe%></div>
|
2012-12-05 05:46:10 +00:00
|
|
|
<h3>screen shot</h3>
|
|
|
|
<div id="screen-shot">
|
|
|
|
<div class="holder">
|
2014-01-14 03:20:30 +00:00
|
|
|
<%= image_tag "#{STORE_CONFIG[:store_settings]["url"]}/#{@extension.first['preview']['preview']['url']}"%>
|
2012-11-28 18:02:37 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-12-05 05:46:10 +00:00
|
|
|
</div>
|
2012-11-28 18:02:37 +00:00
|
|
|
</div>
|
|
|
|
</div>
|