Browse Source

Merge branch 'master' of zhaojunzhe/fair-web into master

master
richie 5 years ago committed by Gogs
parent
commit
cce0749822
  1. 4
      views/submissions.ejs
  2. 7
      views/submissions_item.ejs

4
views/submissions.ejs

@ -68,7 +68,7 @@
</div>
</div>
<% } %>
<label class="label">代码是否分享:</label>
<label class="label">分享:</label>
<div class="field">
<div class="ui fluid selection dropdown" id="select_share" style="width: 110px; ">
<input type="hidden" name="isshare" value="<%= form.isshare %>">
@ -106,7 +106,7 @@
<table id="vueAppFuckSafari" class="ui very basic center aligned table" style="white-space: nowrap; " id="table">
<thead>
<tr>
<th>是否分享</th>
<th>已分享</th>
<th>编号</th>
<th>题目</th>
<th>状态</th>

7
views/submissions_item.ejs

@ -63,10 +63,15 @@
}
});
</script>
<style>
.success{
color: #498E2B;
}
</style>
<script id="submissionItemTemplate" type="text/x-template">
<tr>
<td><i class="icon" :class="data.info.is_share ? 'smile': 'meh'" style="font-size: 1.5em"></i></td>
<td><i class="icon" :class="data.info.is_share ? 'smile outline success': 'meh outline'" style="font-size: 1.5em"></i></td>
<% if (active === 'submissions') { %>
<td><a :href="submissionLink"><b>#{{ data.info.submissionId }}</b></a></td>
<% } else { %>

Loading…
Cancel
Save