Index.html
1.48 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
40
41
42
43
44
45
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<a class="btn btn-info" id="add-btn" >添加</a>
</div>
</div>
<div id="color-list" class="color">
</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>