mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
[前端]统一admin中js命名方式. 为提交列表添加返回按钮[CI SKIP]
This commit is contained in:
parent
b9f5aeb773
commit
4881637c79
@ -1,4 +1,4 @@
|
|||||||
require(["jquery", "avalon", "csrfToken", "bsAlert", "formValidation"], function ($, avalon, csrfTokenHeader, bsAlert) {
|
require(["jquery", "avalon", "csrfToken", "bsAlert"], function ($, avalon, csrfTokenHeader, bsAlert) {
|
||||||
|
|
||||||
avalon.ready(function () {
|
avalon.ready(function () {
|
||||||
avalon.vmodels.submissionList = null;
|
avalon.vmodels.submissionList = null;
|
||||||
@ -41,9 +41,11 @@ require(["jquery", "avalon", "csrfToken", "bsAlert", "formValidation"], function
|
|||||||
getPage: function (page_index) {
|
getPage: function (page_index) {
|
||||||
getPageData(page_index);
|
getPageData(page_index);
|
||||||
},
|
},
|
||||||
|
|
||||||
showSubmissionDetailPage: function (submissionId) {
|
showSubmissionDetailPage: function (submissionId) {
|
||||||
|
|
||||||
|
},
|
||||||
|
showProblemListPage: function(){
|
||||||
|
vm.$fire("up!showProblemListPage");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -103,4 +103,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/static/js/app/admin/contest/add_contest.js"></script>
|
<script src="/static/js/app/admin/contest/addContest.js"></script>
|
||||||
|
|||||||
@ -185,4 +185,4 @@
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script src="/static/js/app/admin/contest/contest_list.js"></script>
|
<script src="/static/js/app/admin/contest/contestList.js"></script>
|
||||||
|
|||||||
@ -135,4 +135,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/static/js/app/admin/contest/edit_problem.js"></script>
|
<script src="/static/js/app/admin/contest/editProblem.js"></script>
|
||||||
|
|||||||
@ -134,4 +134,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/static/js/app/admin/problem/add_problem.js"></script>
|
<script src="/static/js/app/admin/problem/addProblem.js"></script>
|
||||||
@ -140,4 +140,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/static/js/app/admin/problem/edit_problem.js"></script>
|
<script src="/static/js/app/admin/problem/editProblem.js"></script>
|
||||||
|
|||||||
@ -1,4 +1,10 @@
|
|||||||
<div ms-controller="submissionList" class="col-md-9">
|
<div ms-controller="submissionList" class="col-md-9">
|
||||||
|
<nav>
|
||||||
|
<ul class="pager">
|
||||||
|
<li class="previous" ms-click="showProblemListPage()"><a href="javascript:void(0)"><span
|
||||||
|
aria-hidden="true">←</span> 返回</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
<h1>提交列表</h1>
|
<h1>提交列表</h1>
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
@ -25,4 +31,4 @@
|
|||||||
<button ms-attr-class="getBtnClass('next')" ms-click="getNext">下一页</button>
|
<button ms-attr-class="getBtnClass('next')" ms-click="getNext">下一页</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="/static/js/app/admin/problem/submission_list.js"></script>
|
<script src="/static/js/app/admin/problem/submissionList.js"></script>
|
||||||
Loading…
Reference in New Issue
Block a user