index.html
2.2 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
<div class="panel panel-default panel-intro">
{:build_heading()}
<div class="panel-body">
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade active in" id="one">
<div class="widget-body no-padding">
<div id="toolbar" class="toolbar">
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('inspection/project/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
<a href="javascript:;" class="btn btn-warning btn-generate {:$auth->check('inspection/project/generate')?'':'hide'}" title="{:__('生成巡检任务')}" id="btn-generate"><i class="fa fa-bullseye"></i> {:__('生成巡检任务')}</a>
</div>
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
data-operate-edit="{:$auth->check('inspection/project/edit')}"
data-operate-del="{:$auth->check('inspection/project/del')}"
width="100%">
</table>
</div>
</div>
</div>
</div>
</div>
<script id="categorytpl" type="text/html">
<div class="row">
<div class="col-xs-12">
<div class="form-inline" data-toggle="cxselect" data-selects="area,site">
<select class="area form-control" name="area_name" data-url="inspection/area/cxselect"></select>
<select class="site form-control" name="area_site_id" data-url="inspection/areasite/cxselect" data-query-name="area_id"></select>
<input type="hidden" class="operate" data-name="area_site_id" value="=" />
</div>
</div>
</div>
</script>
<style>
.btn-success{
background-color: #3498DB;
}
.btn-primary{
background-color: #3498DB;
}
/*.btn-primary:hover*/
/*{*/
/* outline:none;*/
/* border:none;*/
/* background-color:#7fadf9;*/
/*}*/
</style>