ContentManage.html
2.63 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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<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>
<%include '../__partail/actions'%>
<%include '../__partail/taoyu'%>
<%include '../__partail/weiqingting'%>
<%include '../__partail/jiangming'%>