resourceContentManage.html
2.73 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="/resource/index/index">资源管理</a></li>
<li>资源内容管理</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>资源内容管理</h4>
</div>
</div>
</div>
</div>
</div>
<div class="contentpanel" id="content-list">
</div>
<script type="text/template" id="content-template">
<div id="base-form">
<div class="source-content" id="source-m">
<!-- left -->
<div class="content-left" id="contentLeft">
<h4 class="title" data-type="title" style="text-align: center">[[resource.name]]</h4>
<ul class="add-box showContain ui-sortable" id="add-content">
</ul>
<nav>
<em><i></i></em>
<ul class="contents">
</ul>
<input type="button" name="sub-btn" value="保存" style="float: right; margin:10px;">
</nav>
</div>
<input type="hidden" name="r_id" value="630">
</div>
</div>
</script>
<script type="text/template" id="text-template">
<div id="text-baseFrom">
<textarea id="myArea" style="width: 100%;max-width: 100%;height: 200px;max-height: 500px; border: 1px solid #000;">[[data.text]]</textarea>
</div>
</script>
<script type="text/template" id="singleImage-template">
<div id="singleImage-baseFrom">
</div>
</script>
<script type="text/template" id="titleImage-template">
<div class="panel-body" id="titleImage-baseFrom">
<div class="form-group">
<label class="col-sm-3 control-label">标题:</label>
<div class="col-sm-9">
<input type="hidden" value="[[platformId]]", id="platformId" />
<input type="text" name="platform_name" class="form-control" value="[[platformName]]" id="platformName" placeholder="请填写平台名称" required="required">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">更多名称</label>
<div class="col-sm-9">
<input type="text" name="platform_flag" value="[[platformFlag]]" id="platformFlag" class="form-control">
</div>
</div>
<div class="form-group">
</div><!-- form-group -->
<input type="file" src="[[content]]" />
</div>
</script>