Orbit/app/views/admin/dashboards/index.html.erb

47 lines
1.1 KiB
Plaintext

<%= javascript_include_tag "//www.google.com/jsapi", "chartkick" %>
<section id="main-wrap">
<div class="wrap-inner initial">
<div class="row-fluid">
<% if is_admin? %>
<div class="box span6">
<div id='server_loading'>
<%= render 'server_loading' %>
</div>
</div>
<% end %>
<div class="box span6">
<div id='traffic'>
<%= render 'traffic' %>
</div>
</div>
</div>
<div class="row-fluid">
<div class="box span">
<div id='server_loading'>
<%= render 'traffic_loading' %>
</div>
</div>
</div>
<hr>
<div class="row-fluid">
<div class="box span8">
<div id='recent_update'>
<%= render 'recent_update' %>
</div>
</div>
<div class="box span4">
<div id='all_content'>
<%= render 'all_content' %>
</div>
</div>
</div>
<hr>
<div class="row-fluid">
<div class="box span8">
<div id='most_visited'>
<%= render 'most_visited' %>
</div>
</div>
</div>
</div>
</section>