|
@@ -96,11 +96,7 @@
|
|
|
<c:if test="${web_user.schoolAdmin==true}">
|
|
|
<a href="${ctx}/admin/exam/student/add" class="btn btn-primary">添加</a>
|
|
|
<input id="btnImport" class="btn" type="button" value="导入"/>
|
|
|
- </c:if>
|
|
|
- <c:if test="${query.totalCount>0 && query.totalCount<=10000}">
|
|
|
- <input id="export-button" class="btn" type="button" value="导出"/>
|
|
|
- </c:if>
|
|
|
- <div class="btn-group">
|
|
|
+ <div class="btn-group">
|
|
|
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
导入名单<span class="caret"></span>
|
|
|
</a>
|
|
@@ -109,6 +105,10 @@
|
|
|
<li><a href="##" id="absentBtnImport">缺考名单</a></li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${query.totalCount>0 && query.totalCount<=10000}">
|
|
|
+ <input id="export-button" class="btn" type="button" value="导出"/>
|
|
|
+ </c:if>
|
|
|
</div>
|
|
|
</form>
|
|
|
<tags:message content="${message}"/>
|
|
@@ -159,11 +159,14 @@
|
|
|
</td>
|
|
|
<td >
|
|
|
<c:if test="${student.breach==true}">
|
|
|
- <a href="##" onclick="updateBreach(${student.id});">违纪</a>
|
|
|
+ <c:if test="${web_user.schoolAdmin==true}">
|
|
|
+ <a href="##" onclick="updateBreach(${student.id});">违纪</a></c:if>
|
|
|
+ <c:if test="${web_user.schoolAdmin!=true}">违纪</c:if>
|
|
|
</c:if>
|
|
|
<c:if test="${student.breach==false}">
|
|
|
正常
|
|
|
</c:if>
|
|
|
+
|
|
|
<c:if test="${student.manualAbsent==true}">
|
|
|
人工指定
|
|
|
</c:if>
|