159 lines
6.4 KiB
Plaintext
159 lines
6.4 KiB
Plaintext
<%= stylesheet_link_tag "lib/wrap-nav" %>
|
||
<%= stylesheet_link_tag "lib/main-list" %>
|
||
<%= stylesheet_link_tag "lib/main-forms" %>
|
||
<%= stylesheet_link_tag "lib/fileupload.css" %>
|
||
<%= stylesheet_link_tag "lib/togglebox.css" %>
|
||
<%= stylesheet_link_tag "lib/list-check.css" %>
|
||
|
||
<%= javascript_include_tag "lib/site_set" %>
|
||
<%= javascript_include_tag "lib/list-check" %>
|
||
|
||
<% 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 %>
|
||
|
||
<form class="form-horizontal main-forms">
|
||
<fieldset>
|
||
<div class="input-area">
|
||
<div class="nav-name"><strong><%= t("preferences.classification") %></strong></div>
|
||
<ul class="nav nav-pills language-nav">
|
||
<li class="active"><a href="#overview" data-toggle="tab"><%= t("site.system_preference_.tab_summary") %></a></li>
|
||
<li><a href="#mail-cron-logs" data-toggle="tab"><%= t("site.system_preference_.tab_send_reminders_log") %></a></li>
|
||
</ul>
|
||
|
||
<div class="tab-content">
|
||
<!-- Overview -->
|
||
<div id="overview" class="tab-pane fade in active">
|
||
<h3 class="muted"><%= t("site.system_preference_.summary.disk_space") %></h3>
|
||
<blockquote>
|
||
<p>
|
||
<%= @disk_free %>
|
||
</p>
|
||
</blockquote>
|
||
<h3 class="muted">Nginx <%= t("site.system_preference_.summary.version") %></h3>
|
||
<blockquote>
|
||
<p>
|
||
<%= @nginx_version %>
|
||
</p>
|
||
</blockquote>
|
||
</span>
|
||
<h3 class="muted">MongoDB <%= t("site.system_preference_.summary.version") %></h3>
|
||
<blockquote>
|
||
<p>
|
||
<%= @mongo_version %>
|
||
</p>
|
||
</blockquote>
|
||
<h3 class="muted">Linux <%= t("site.system_preference_.summary.version") %></h3>
|
||
<blockquote>
|
||
<p>
|
||
<%= @linux_version %>
|
||
</p>
|
||
</blockquote>
|
||
</span>
|
||
</div>
|
||
|
||
<!-- Email Log -->
|
||
<div id="mail-cron-logs" class="tab-pane fade">
|
||
<ul class="nav nav-pills">
|
||
<li class="active">
|
||
<a href="#send-log" data-toggle="tab"><%= t(:email_log) %></a>
|
||
</li>
|
||
<li>
|
||
<a href="#waiting-sent" data-toggle="tab"><%= t(:email_queue) %></a>
|
||
</li>
|
||
</ul>
|
||
<div class="tab-content">
|
||
<div class="tab-pane fade in active" id="send-log">
|
||
<p class="">
|
||
<a href="#" class="btn list-active-btn disabled" data-check-action="list-be-remove" rel="/panel/announcement/back_end/bulletins/delete"><i class="icons-trash"></i></a>
|
||
</p>
|
||
<table class="table main-list table-striped">
|
||
<thead>
|
||
<tr>
|
||
<th>
|
||
<input type="checkbox" class="list-check" name="to_delete[]" value="b" />
|
||
</th>
|
||
<th><%= t(:sent_date) %></th>
|
||
<th><%= t(:subject) %></th>
|
||
<th><%= t(:mail_to) %></th>
|
||
<th><%= t(:mail_user) %></th>
|
||
<th><%= t(:mail_from_app) %></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<input type="checkbox" class="list-check" name="to_delete[]" value="b" />
|
||
</td>
|
||
<td>2014-01-16 17:57</td>
|
||
<td>【轉知】國家教育研究院辦理普通高級中學語文及社會領域課綱微調分區公聽會
|
||
<div class="quick-edit">
|
||
<ul class="nav nav-pills">
|
||
<li><a href="#" class="text-error"><%= t(:delete_) %></a></li>
|
||
</ul>
|
||
</div>
|
||
</td>
|
||
<td>alluser@tea.ntue.edu.tw</td>
|
||
<td>蔣 欣潔</td>
|
||
<td>er_email</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="tab-pane fade in" id="waiting-sent">
|
||
<p class="">
|
||
<a href="#" class="btn list-active-btn disabled" data-check-action="list-be-remove" rel="/panel/announcement/back_end/bulletins/delete"><i class="icons-trash"></i></a>
|
||
</p>
|
||
<table class="table main-list table-striped">
|
||
<thead>
|
||
<tr>
|
||
<th>
|
||
<input type="checkbox" class="list-check" name="to_delete[]" value="b" />
|
||
</th>
|
||
<th>Sentdate</th>
|
||
<th>Subject</th>
|
||
<th>Mail To</th>
|
||
<th>Mail User</th>
|
||
<th>Mail From App</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<input type="checkbox" class="list-check" name="to_delete[]" value="b" />
|
||
</td>
|
||
<td>2014-01-16 17:57</td>
|
||
<td>【轉知】國家教育研究院辦理普通高級中學語文及社會領域課綱微調分區公聽會
|
||
<div class="quick-edit">
|
||
<ul class="nav nav-pills">
|
||
<li><a href="#" class="text-error"><%= t(:delete_) %></a></li>
|
||
</ul>
|
||
</div>
|
||
</td>
|
||
<td>alluser@tea.ntue.edu.tw</td>
|
||
<td>蔣 欣潔</td>
|
||
<td>er_email</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</fieldset>
|
||
</form>
|
||
|
||
<div id="dialog" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="Delete item" aria-hidden="true">
|
||
<div class="modal-header">
|
||
<a class="close" data-dismiss="modal">×</a>
|
||
<h3><%= t(:sure?) %></h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<span class="text-warning text-center"><%= t(:this_action_can_not_be_restore) %></span>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button class="btn" data-dismiss="modal" aria-hidden="true"><%= t(:close) %></button>
|
||
<button class="delete-item btn btn-danger"><%= t(:delete_) %></button>
|
||
</div>
|
||
</div> |