29 lines
851 B
Plaintext
29 lines
851 B
Plaintext
|
<% @nav_dispaly_home_path_label = 1
|
||
|
@nav_dispaly_main_course_label = 1
|
||
|
@nav_dispaly_main_project_label = 1
|
||
|
@nav_dispaly_main_contest_label = 1 %>
|
||
|
<% @nav_dispaly_forum_label = 1%>
|
||
|
<h1>日志</h1>
|
||
|
|
||
|
<div id='tool'>
|
||
|
<form action="/system_log/index" style="float:right" >
|
||
|
<input type="text" name="search" size="36" maxlength="100" />
|
||
|
<input type="submit" value="搜索" id="search"/>
|
||
|
</form>
|
||
|
|
||
|
<div id='tool-bar'>
|
||
|
<%=link_to '所有日志', :action=>:index %> |
|
||
|
<%=link_to '清空日志', {:action=>:clear}, {:confirm => '确认清除所有日志?'} %> |
|
||
|
<%=link_to_function '刷新', 'window.location.reload();' %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div> </div>
|
||
|
<%= paginate @logs %><br/>
|
||
|
|
||
|
<% @logs.each do |log| %>
|
||
|
<% unless log.blank? %>
|
||
|
<p><%= raw log %></p><hr/>
|
||
|
<% end %>
|
||
|
<%end %>
|
||
|
|
||
|
<%= paginate @logs %>
|