Subversion Repositories SmartDukaan

Rev

Rev 32381 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26014 amit.gupta 1
<style>
2
.btn:hover,
3
.btn:focus {
4
  	color: grey;
5
  	text-decoration: none;
6
	}
7
 
8
	.modal-dialog.modal-lg{
9
		left:10%;
10
		right:auto;
11
		width:80%;
12
	}
13
	.modal-content{
14
		background : white;
15
	}
16
 
17
	.border-highlight{
18
		border : 3px solid red;
19
	}
20
	td.highlight{
21
		background-color: yellowgreen !important;
33996 vikas.jang 22
	}
23
	.dataTables_length, .dataTables_filter{
24
		padding: 0 !important;
25
	}
26014 amit.gupta 26
</style>
27
 
28
<section class="wrapper">            
29
      <!--overview start-->
30
	<div class="row">
31
			<div class="col-lg-12">
30260 tejbeer 32
				<h3 class="page-header"><i class="icon_document_alt"></i>ACCESS MANAGEMENT</h3>
26014 amit.gupta 33
				<ol class="breadcrumb">
34
					<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
30260 tejbeer 35
					<li><i class="icon_document_alt"></i>ACCESS MANAGEMENT</li>						  	
26014 amit.gupta 36
				</ol>
37
			</div>
38
	</div>
39
	<div class="row">
32381 jai.hind 40
		<div class="col-lg-4">
26014 amit.gupta 41
			<table id="ticket-category" class="table table-striped table-condensed">
42
				<thead>
43
					<tr>
44
						<th>Role/Category</th>
45
					</tr>
46
				</thead>
47
				<tbody>
48
				#foreach($ticketCategory in $ticketCategories)
49
					#foreach($escalationType in $escalationTypes)
50
					<tr>
51
					<td>
52
						<a class="category-level" href="javascript:void(0)" data-level="$escalationType" data-category="$ticketCategory.getId()">$ticketCategory.getName()-$escalationType</a>
53
					</td>
54
					</tr>
55
					#end 
56
				#end
57
				</tbody>
58
			</table>
59
		</div>
60
		<div class="col-lg-4">
61
			<table id="access-resource" class="table table-striped table-condensed">
62
				<thead>
63
					<tr>
64
						<th>Resource</th>
65
					</tr>
66
				</thead>
67
				<tbody>
68
				#foreach($menuItem in $menuItems)
69
					#if($menuItem.get_parent())
70
					<tr><td>
71
						<div class="checkbox">
72
							<label><input type="checkbox" data-menuid="$menuItem.getId()" value="$menuItem.getId()" >
73
									$menuItem.get_parent().getDisplayText() - $menuItem.getDisplayText()
74
							</label>
75
						</div>
76
					</td></tr>
77
					#end
78
				#end
79
				</tbody>
80
			</table>
81
		</div>
82
	</div>
83
	<script type="text/javascript">
84
		$('#access-resource').dataTable({
85
			"iDisplayLength" : 20
86
		});
87
		$('#ticket-category').dataTable({
88
			"iDisplayLength" : 20
89
		});
90
	</script>
91
</section>