567 lines
24 KiB
Plaintext
567 lines
24 KiB
Plaintext
<div id="isotope">
|
|
<div class="item element">
|
|
<h3><i class="icons-content"></i><%= t(:content) %></h3>
|
|
<div class="detail w-a h-a">
|
|
<p class="totle"><span><%= t(:all_content) %></span><%= @module_app_contents_total %></p>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:module) %></th>
|
|
<th class="span2"><%= t(:quantity) %></th>
|
|
</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>
|
|
<% @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 class="span2"><%= module_app_content[1] %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="item element">
|
|
<h3><i class="icons-member"></i><a href=""><%= t(:member) %></a></h3>
|
|
<div class="detail w-a h-a">
|
|
<p class="totle"><span><%= t(:all_member) %></span>2,217</p>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:role) %></th>
|
|
<th class="span2"><%= t(:quantity) %></th>
|
|
</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>
|
|
<tr>
|
|
<td>University</td>
|
|
<td>2,304</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Master</td>
|
|
<td>783</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Doctor</td>
|
|
<td>45</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Staff</td>
|
|
<td>62</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Teacher</td>
|
|
<td>52</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Professor</td>
|
|
<td>20</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Assistant Professor</td>
|
|
<td>41</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Substitute teacher</td>
|
|
<td>37</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Lecturer</td>
|
|
<td>41</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Part-time teacher</td>
|
|
<td>20</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="item element">
|
|
<h3><i class="icons-asset"></i><a href=""><%= t(:file) %></a></a></h3>
|
|
<div class="detail w-a h-a">
|
|
<p class="totle"><span><%= t(:all_file) %></span>3,422</p>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:file_type) %></th>
|
|
<th class="span2"><%= t(:quantity) %></th>
|
|
</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>
|
|
<tr>
|
|
<td>Word</td>
|
|
<td>304</td>
|
|
</tr>
|
|
<tr>
|
|
<td>PDF</td>
|
|
<td>783</td>
|
|
</tr>
|
|
<tr>
|
|
<td>PowerPoint</td>
|
|
<td>45</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Excel</td>
|
|
<td>62</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Jpeg</td>
|
|
<td>52</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Gif</td>
|
|
<td>20</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Png</td>
|
|
<td>41</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Avi</td>
|
|
<td>37</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Txt</td>
|
|
<td>41</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Zip</td>
|
|
<td>20</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
<!-- <div class="item element">
|
|
<h3><i class="icons-"></i><a href=""><%= t(:referral_in_links) %></a></h3>
|
|
<div class="detail w-a h-a">
|
|
<p class="totle"><span><%= t(:statistics) %></span>517</p>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:site_name) %></th>
|
|
<th class="span2"><%= t(:statistics) %></th>
|
|
</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>
|
|
<tr>
|
|
<td>Ruling</td>
|
|
<td class="span2">36</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Yahoo</td>
|
|
<td class="span2">31</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Google</td>
|
|
<td class="span2">3,187</td>
|
|
</tr>
|
|
<tr>
|
|
<td>facebook</td>
|
|
<td class="span2">公告</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title5</td>
|
|
<td class="span2">公告</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title6</td>
|
|
<td class="span2">頁面</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title7</td>
|
|
<td class="span2">頁面</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title8</td>
|
|
<td class="span2">公告</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title9</td>
|
|
<td class="span2">頁面</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title10</td>
|
|
<td class="span2">公告</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
<!-- <div class="item element">
|
|
<h3><i class="icons-"></i><a href=""><%= t(:most_visited_page) %></a></h3>
|
|
<div class="detail noStatistics w-b h-a">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:title) %></th>
|
|
<th class="span2"><%= t(:module) %></th>
|
|
<th class="span2"><%= t(:hits) %></th>
|
|
</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>
|
|
<tr>
|
|
<td>Title1</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">2,549</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title2</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">1,022</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title3</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">928</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title4</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">904</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title5</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">867</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title6</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">830</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title7</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">749</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title8</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">702</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title9</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">639</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title10</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">549</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title1</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">2,549</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title2</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">1,022</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title3</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">928</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title4</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">904</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title5</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">867</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title6</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">830</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title7</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">749</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title8</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">702</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title9</td>
|
|
<td class="span2">頁面</td>
|
|
<td class="span2">639</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title10</td>
|
|
<td class="span2">公告</td>
|
|
<td class="span2">549</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="item element">
|
|
<h3><i class="icons-"></i><a href=""><%= t(:site_info) %></a></h3>
|
|
<div class="detail noStatistics w-b h-a">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:item) %></th>
|
|
<th class="span6"><%= t(:content) %></th>
|
|
</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>
|
|
<tr>
|
|
<td>Title:</td>
|
|
<td class="span6">National Chengchi University</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Description:</td>
|
|
<td class="span6">......</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Keywords</td>
|
|
<td class="span6">.....</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Online Date:</td>
|
|
<td class="span6">2012/04/30</td>
|
|
</tr>
|
|
<tr>
|
|
<td>WedID:</td>
|
|
<td class="span6">nccu</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Softwave Version:</td>
|
|
<td class="span6">R4 beta</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Warranty:</td>
|
|
<td class="span6">Valid</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
|
|
|
|
<div class="item element">
|
|
<h3><i class="icons-"></i><%= t(:traffic) %></h3>
|
|
<div class="detail w-a h-a">
|
|
<p class="totle"><span><%= t(:total_visitors) %></span><%= display_visitors %></p>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:item) %></th>
|
|
<th class="span2"><%= t(:data) %></th>
|
|
</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>
|
|
<tr>
|
|
<td><%= t(:visitors_today) %></td>
|
|
<td><%= display_visitors_today %></td>
|
|
</tr>
|
|
<tr>
|
|
<td><%= t(:visitors_this_week) %></td>
|
|
<td><%= display_visitors_this_week %></td>
|
|
</tr>
|
|
<tr>
|
|
<td><%= t(:visitors_this_month) %></td>
|
|
<td><%= display_visitors_this_month %></td>
|
|
</tr>
|
|
<tr>
|
|
<td><%= t(:visitors_this_year) %></td>
|
|
<td><%= display_visitors_this_year %></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="item element">
|
|
<h3><i class="icons-"></i><%= t(:recent_update) %></h3>
|
|
<div class="detail noStatistics w-b h-a">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:title) %></th>
|
|
<th class="span2"><%= t(:module) %></th>
|
|
</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>
|
|
<% @recent_updated.each do |object| %>
|
|
<tr>
|
|
<td><%= link_to ((object[0].title[I18n.locale] rescue nil) || (object[0].page.i18n_variable[I18n.locale] rescue nil)), get_link_to_object(object[0]) %></td>
|
|
<td class="span2"><%= link_to t("dashboard.#{object[0]._type.underscore}"), get_link(object[0]._type.underscore) %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="item element">
|
|
<h3><i class="icons-"></i><a href=""><%= t(:most_visited_page) %></a></h3>
|
|
<div class="detail noStatistics w-b h-a">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t(:title) %></th>
|
|
<th class="span2"><%= t(:module) %></th>
|
|
<th class="span2"><%= t(:hits) %></th>
|
|
</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>
|
|
<% @most_visited.each do |object| %>
|
|
<tr>
|
|
<td><%= link_to ((object[0].title[I18n.locale] rescue nil) || (object[0].page.i18n_variable[I18n.locale] rescue nil)), get_link_to_object(object[0]) %></td>
|
|
<td class="span2"><%= link_to t("dashboard.#{object[0]._type.underscore}"), get_link(object[0]._type.underscore) %></td>
|
|
<td class="span2"><%= object[1] %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |