Browse Source

Optimize problems tags UI

master
Menci 8 years ago
parent
commit
6bded49998
  1. 11
      views/problems.ejs

11
views/problems.ejs

@ -82,7 +82,6 @@ if (typeof tags !== 'undefined') tagIDs = tags.map(x => x.id);
<% } %> <% } %>
<th class="one wide">编号</th> <th class="one wide">编号</th>
<th class="left aligned">题目名称</th> <th class="left aligned">题目名称</th>
<th class="right aligned">&nbsp;</th>
<th class="one wide">通过</th> <th class="one wide">通过</th>
<th class="one wide">提交</th> <th class="one wide">提交</th>
<th class="one wide">通过率</th> <th class="one wide">通过率</th>
@ -104,11 +103,11 @@ if (typeof tags !== 'undefined') tagIDs = tags.map(x => x.id);
</td> </td>
<% } %> <% } %>
<td><%= problem.id %></td> <td><%= problem.id %></td>
<td class="left aligned"><a href="<%= syzoj.utils.makeUrl(['problem', problem.id]) %>"><%= problem.title %> <td class="left aligned">
<% if (!problem.is_public) { %><span class="ui header"><span class="ui tiny red label">未公开</span></span><% } %> <a style="vertical-align: middle; " href="<%= syzoj.utils.makeUrl(['problem', problem.id]) %>"><%= problem.title %>
</a></td> <% if (!problem.is_public) { %><span class="ui header"><span class="ui tiny red label">未公开</span></span><% } %>
<td class="right aligned"> </a>
<div class="show_tag_controled"> <div class="show_tag_controled" style="float: right; ">
<% <%
if (problem.tags) { if (problem.tags) {
for (let tag of problem.tags) { for (let tag of problem.tags) {

Loading…
Cancel
Save