resourceContentManage.html
3.11 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
81
82
83
84
85
<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="allContents">
<div id="times-list">
</div>
<div class="clearfix"></div>
<div class="col-sm-10 col-sm-offset-2">
<a href="javascript:;" id="copyTab" class="btn btn-info btn-sm">复制</a>
<a href="javascript:;" id="delTab" class="btn btn-danger btn-sm">删除</a>
<a href="javascript:;" id="saveTime" class="btn btn-info btn-sm">保存时间</a>
</div>
<div class="clearfix"></div>
<div class="contentpanel" id="content-list">
</div>
</div>
<script type="text/template" id="times-template">
<div class="dataTab_wrapper" id="resourcePre">
<ul class="nav" style="padding: 0; margin: 0">
<input type="hidden" class="form-control"id="dateFromInfinity"value="1970-01-01 08:00:00">
[[each times as item index]]
<li class="[[index==selected?'active':'']] timesLi" data-index="[[index]]">
<input type="text" [[(item.time=="" || item.status == "进行中") ? "disabled" : (index==selected?"":"disabled")]] class="form-control preTimes" data-index="[[index]]" jsaction="time" id="dateFrom[[index]]" prompt="时间" value="[[item.time]]" readonly required>
<span style="display: block; line-height: 20px">[[item.status||"默认"]]</span>
</li>
[[/each]]
<input type="hidden" class="form-control"id="dateFromInfinity1"value="2970-01-01 08:00:00">
</ul>
</div>
</script>
<!--内容模板-->
<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 clearfix">
</ul>
<input type="button" id="sub_btn" name="sub_btn" value="保存" style="float: right; margin:10px;">
</nav>
</div>
</div>
</div>
</script>
<!-- 按钮 -->
<script type="text/template" id="template_content_btns">
[[each btns as btn index]]
<li><a href="javascript:void(0)" name="text" class="add_btn" data-index="[[index]]">[[btn.button_name]]</a></li>
[[/each]]
</script>
{{> resource/actions}}
{{> resource/taoyu}}
{{> resource/weiqingting}}
{{> resource/jiangming}}