This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/module_store/show.html.erb

51 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

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">
<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">
<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">
<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">
<%= 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>