后台使用封装好的 web 组件
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
ms-duplex="newTitle"></div>
|
||||
<div class="form-group">
|
||||
<label>内容</label>
|
||||
<textarea id="edit-announcement-editor" data-autosave="edit-announcement-editor"></textarea>
|
||||
<ms:editor $id="editAnnouncementEditor" config="editAnnouncementEditor"></ms:editor>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>可见 <input ms-duplex-checked="announcementVisible" type="checkbox"/></label>
|
||||
@@ -62,8 +62,8 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>内容</label>
|
||||
<textarea id="create-announcement-editor" placeholder="公告内容" maxlength="10000" data-autosave="create-announcement-editor" required>
|
||||
</textarea>
|
||||
|
||||
<ms:editor $id="createAnnouncementEditor" config="createAnnouncementEditor"></ms:editor>
|
||||
|
||||
<div class="help-block with-errors"></div>
|
||||
</div>
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
|
||||
<div class="form-group col-md-12">
|
||||
<label>题目描述</label>
|
||||
<textarea id="problemDescription" placeholder="这里输入内容(此内容不能为空)" ms-duplex="description"></textarea>
|
||||
<p class="error-info" ms-visible="description==''">请填写题目描述</p>
|
||||
<ms:editor $id="problemDescriptionEditor" config="problemDescriptionEditor"></ms:editor>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -126,7 +125,7 @@
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label>提示</label>
|
||||
<textarea id="hint" placeholder="这里输入内容" ms-duplex="hint"></textarea>
|
||||
<ms:editor $id="problemHintEditor" config="problemHintEditor"></ms:editor>
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label>来源</label>
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
|
||||
<div class="form-group col-md-12">
|
||||
<label>题目描述</label>
|
||||
<textarea id="problemDescription" placeholder="这里输入内容(此内容不能为空)" ms-duplex="description"></textarea>
|
||||
<p class="error-info" ms-visible="description==''">请填写题目描述</p>
|
||||
<ms:editor $id="problemDescriptionEditor" config="problemDescriptionEditor"></ms:editor>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -132,7 +131,7 @@
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label>提示</label>
|
||||
<textarea id="hint" placeholder="这里输入内容" ms-duplex="hint"></textarea>
|
||||
<ms:editor $id="problemHintEditor" config="problemHintEditor"></ms:editor>
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<label>来源</label>
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
<div class="text-right">
|
||||
页数:{{ page }}/{{ totalPage }}
|
||||
<button ms-attr-class="getBtnClass('pre')" ms-click="getPrevious">上一页</button>
|
||||
<button ms-attr-class="getBtnClass('next')" ms-click="getNext">下一页</button>
|
||||
<ms:pager $id="submissionsListPager" config="pager"></ms:pager>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/js/app/admin/problem/submissionList.js"></script>
|
||||
Reference in New Issue
Block a user