Index.html
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div style="margin-bottom: 20px">
<a class="btn btn-success" id="add-btn" ><i class="fa fa-plus"></i> 添加作者</a>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div id="color-list" class="color dataTables_wrapper no-footer"></div>
</div>
</div>
</div>
<script type="text/template" id="template">
<div class="form-group">
<input type="hidden" name="" value="[[uid]]" id="uid" class="form-control" pattern="" title="">
<label for="username" class="col-sm-2 control-label">作者名称:</label>
<div class="col-sm-10">
<input type="text" value="[[username]]" name="content" id="username" placeholder="作者名称" required="required" class="form-control">
</div>
</div>
<div class="form-group">
<label for="authorDesc" class="col-sm-2 control-label">作者描述:</label>
<div class="col-sm-10">
<input type="text" value="[[authorDesc]]" name="content" id="authorDesc" placeholder="作者描述" required="required" class="form-control">
</div>
</div>
<div class="form-group">
<label for="avatar" class="col-sm-2 control-label">作者头像:</label>
<div class="col-sm-8" id="colorUrlBox">
<input type="file" id="avatar" name="colorValue" value="[[avatar]]">
</div>
</div>
</script>