1、调整admin界面项目列表显示样式

2、项目列表增加序号
tmp
sw 10 years ago
parent f9880a00fd
commit d48a733502

@ -27,21 +27,29 @@
<div class="autoscroll">
<table class="list" style="width: 100%;table-layout: fixed">
<thead><tr>
<th>
<thead>
<tr>
<th style="width: 30px;">
序号
</th>
<th style="width: 120px;">
<%=l(:label_project)%>
</th>
<th>
<th style="width: 20px;">
<%=l(:field_is_public)%>
</th>
<th>
<th style="width: 30px;">
<%=l(:field_created_on)%>
</th>
<th></th>
</tr></thead>
<th style="width: 70px;"></th>
</tr>
</thead>
<tbody>
<% project_tree(@projects) do |project, level| %>
<tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<td style="text-align: center;">
<%= project.id %>
</td>
<td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name" title='<%=project.name%>'>
<span>
<%= link_to_project_settings(project, {}) %>

Loading…
Cancel
Save