2013-05-02 03:35:48 +00:00
|
|
|
<!-- <div id="isotope">
|
|
|
|
|
2012-05-15 13:26:09 +00:00
|
|
|
|
|
|
|
|
2012-04-29 16:17:18 +00:00
|
|
|
<div class="item element">
|
2013-01-09 07:57:31 +00:00
|
|
|
<h3><i class="icons-airplane"></i><%= t(:traffic) %></h3>
|
2012-05-15 13:26:09 +00:00
|
|
|
<div class="detail w-a h-a">
|
|
|
|
<p class="totle"><span><%= t(:total_visitors) %></span><%= display_visitors %></p>
|
2012-04-29 16:17:18 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><%= t(:item) %></th>
|
2012-05-15 13:26:09 +00:00
|
|
|
<th class="span2"><%= t(:data) %></th>
|
2012-04-29 16:17:18 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</table>
|
|
|
|
<div class="detal-list my_scroll">
|
|
|
|
<div class="scrollbar">
|
|
|
|
<div class="track">
|
|
|
|
<div class="thumb">
|
|
|
|
<div class="end"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="viewport">
|
|
|
|
<div class="overview">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<tbody>
|
2012-02-23 07:48:23 +00:00
|
|
|
<tr>
|
2012-05-15 13:26:09 +00:00
|
|
|
<td><%= t(:visitors_today) %></td>
|
|
|
|
<td><%= display_visitors_today %></td>
|
2012-02-23 07:48:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-05-15 13:26:09 +00:00
|
|
|
<td><%= t(:visitors_this_week) %></td>
|
|
|
|
<td><%= display_visitors_this_week %></td>
|
2012-02-23 07:48:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-05-15 13:26:09 +00:00
|
|
|
<td><%= t(:visitors_this_month) %></td>
|
|
|
|
<td><%= display_visitors_this_month %></td>
|
2012-02-23 07:48:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-05-15 13:26:09 +00:00
|
|
|
<td><%= t(:visitors_this_year) %></td>
|
|
|
|
<td><%= display_visitors_this_year %></td>
|
2012-02-23 07:48:23 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-05-15 13:26:09 +00:00
|
|
|
</div>
|
|
|
|
|
2012-02-23 07:48:23 +00:00
|
|
|
<div class="item element">
|
2013-05-02 03:35:48 +00:00
|
|
|
<h3><i class="icons-trophy"></i><%= t(:most_visited_page) %></h3>
|
2012-05-08 21:53:07 +00:00
|
|
|
<div class="detail noStatistics w-b h-a">
|
2012-04-29 16:17:18 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><%= t(:title) %></th>
|
|
|
|
<th class="span2"><%= t(:module) %></th>
|
2013-05-02 03:35:48 +00:00
|
|
|
<th class="span2"><%= t(:hits) %></th>
|
2012-04-29 16:17:18 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</table>
|
2012-02-23 07:48:23 +00:00
|
|
|
<div class="detal-list my_scroll">
|
|
|
|
<div class="scrollbar">
|
|
|
|
<div class="track">
|
|
|
|
<div class="thumb">
|
|
|
|
<div class="end"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="viewport">
|
|
|
|
<div class="overview">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<tbody>
|
2013-05-02 03:35:48 +00:00
|
|
|
<% @most_visited.each do |object| %>
|
2012-05-08 21:53:07 +00:00
|
|
|
<tr>
|
2012-07-25 21:58:09 +00:00
|
|
|
<td><%= link_to ((object[0].title rescue nil) || (object[0].page.title rescue nil)), get_link_to_object(object[0]) %></td>
|
2012-07-30 10:37:20 +00:00
|
|
|
<td class="span2"><%= link_to t("dashboard.#{object[0].class.to_s.underscore}"), get_link(object[0].class.to_s.underscore) %></td>
|
2013-05-02 03:35:48 +00:00
|
|
|
<td class="span2"><%= object[1] %></td>
|
2012-05-08 21:53:07 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
2012-02-23 07:48:23 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-05-02 03:35:48 +00:00
|
|
|
</div> -->
|
2012-05-15 13:26:09 +00:00
|
|
|
|
2013-05-02 03:35:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section id="main-wrap">
|
|
|
|
<div class="wrap-inner initial">
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="box span8">
|
|
|
|
<div class="box-header">
|
|
|
|
<h2>
|
|
|
|
<i class="icons-cycle"></i>
|
|
|
|
<span class="break"></span>
|
|
|
|
<%= t(:recent_update) %>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
|
|
|
<table class="table table-bordered table-striped table-hover">
|
2012-05-15 13:26:09 +00:00
|
|
|
<thead>
|
2013-05-02 03:35:48 +00:00
|
|
|
<tr>
|
|
|
|
<th><%= t(:title) %></th>
|
|
|
|
<th class="span2"><%= t(:module) %></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @recent_updated.each do |object| %>
|
2012-05-15 13:26:09 +00:00
|
|
|
<tr>
|
2013-05-02 03:35:48 +00:00
|
|
|
<td><%= link_to ((object[0].title rescue nil) || (object[0].page.title rescue nil)), get_link_to_object(object[0]) %></td>
|
|
|
|
<td><%= link_to t("dashboard.#{object[0].class.to_s.underscore}"), get_link(object[0].class.to_s.underscore) %></td>
|
2012-05-15 13:26:09 +00:00
|
|
|
</tr>
|
2013-05-02 03:35:48 +00:00
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<ul class="pager">
|
|
|
|
<li><a href="#">Previous</a></li>
|
|
|
|
<li><a href="#">Next</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box span4">
|
|
|
|
<div class="box-header">
|
|
|
|
<h2>
|
|
|
|
<i class="icons-book-2"></i>
|
|
|
|
<span class="break"></span>
|
|
|
|
<%= t(:all_content) %>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
|
|
|
<table class="table table-bordered table-striped table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><%= t(:module) %></th>
|
|
|
|
<th class="span1"><%= t(:quantity) %></th>
|
|
|
|
</tr>
|
2012-05-15 13:26:09 +00:00
|
|
|
</thead>
|
2013-05-02 03:35:48 +00:00
|
|
|
<tbody>
|
|
|
|
<% @module_app_contents.each do |module_app_content| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= link_to t("dashboard.#{module_app_content[0]}"), get_link(module_app_content[0]) %></td>
|
|
|
|
<td><%= module_app_content[1] %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<ul class="pager">
|
|
|
|
<li><a href="#">Previous</a></li>
|
|
|
|
<li><a href="#">Next</a></li>
|
|
|
|
</ul>
|
2012-05-15 13:26:09 +00:00
|
|
|
</div>
|
2013-05-02 03:35:48 +00:00
|
|
|
</div>
|
2012-05-15 13:26:09 +00:00
|
|
|
</div>
|
2013-05-02 03:35:48 +00:00
|
|
|
<hr>
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="box span5">
|
|
|
|
<div class="box-header">
|
|
|
|
<h2>
|
|
|
|
<i class="icons-star"></i>
|
|
|
|
<span class="break"></span>
|
|
|
|
Event
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
|
|
|
<span class="label label-info">23/12/2012</span>
|
|
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
|
|
|
<span class="label label-info">23/02/2012</span>
|
|
|
|
<p>Lorem ipsum dolor sit amet dolore.</p>
|
|
|
|
<span class="label label-info">13/02/2012</span>
|
|
|
|
<p>Lorem ipsum dolor sit amet dolore.</p>
|
|
|
|
<span class="label label-info">13/02/2012</span>
|
|
|
|
<p>Lorem ipsum dolor sit amet dolore.</p>
|
|
|
|
<span class="label label-info">13/02/2012</span>
|
|
|
|
<p>Lorem ipsum dolor sit amet dolore.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box span7">
|
|
|
|
<div class="box-header">
|
|
|
|
<h2>
|
|
|
|
<i class="icons-trophy"></i>
|
|
|
|
<span class="break"></span>
|
|
|
|
Most Visited Page
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
|
|
|
<table class="table table-bordered table-striped table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Module</th>
|
|
|
|
<th class="span1">Quantity</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Page</td>
|
|
|
|
<td>215</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Announcement</td>
|
|
|
|
<td>145</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Link</td>
|
|
|
|
<td>73</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>4</td>
|
|
|
|
<td>31</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>5</td>
|
|
|
|
<td>65</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<ul class="pager">
|
|
|
|
<li><a href="#">Previous</a></li>
|
|
|
|
<li><a href="#">Next</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|