Subversion Repositories SmartDukaan

Rev

Rev 23835 | Rev 24160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23835 Rev 24159
Line 5... Line 5...
5
	}
5
	}
6
	.table-striped > tbody > tr:nth-child(even) > td{
6
	.table-striped > tbody > tr:nth-child(even) > td{
7
  		background: white;
7
  		background: white;
8
  		background-color:white;
8
  		background-color:white;
9
	}
9
	}
10
	.table-striped > tbody > tr:hover > td,
-
 
11
	.table-striped > tbody > tr:hover {
-
 
12
		background-color: #e98c8f;
-
 
13
	  	color:white;
-
 
14
	}
10
 
15
	.btn:hover{
11
	.btn:hover{
16
  		color: grey;
12
  		color: grey;
17
  		text-decoration: none;
13
  		text-decoration: none;
18
	}
14
	}
19
	.btn-primary:hover{
15
	.btn-primary:hover{
Line 23... Line 19...
23
	.vendor-details{
19
	.vendor-details{
24
		cursor:pointer;
20
		cursor:pointer;
25
	}
21
	}
26
</style>
22
</style>
27
 
23
 
28
<section class="wrapper">            
24
<section class="wrapper">  
-
 
25
         
29
	<div class="row">
26
	<div class="row">
30
		<div class="col-lg-12">
27
		<div class="col-lg-12">
31
			<h3 class="page-header"><i class="icon_document_alt"></i>PUNCH IN/OUT</h3>
28
			<h3 class="page-header"><i class="icon_document_alt"></i>PUNCH IN/OUT</h3>
32
			<ol class="breadcrumb">
29
			<ol class="breadcrumb">
33
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
30
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
34
				<li><i class="icon_document_alt"></i>PUNCH IN/OUT</li>
31
				<li><i class="icon_document_alt"></i>PUNCH IN/OUT</li>
35
			</ol>
32
			</ol>
36
		</div>
33
		</div>
37
	</div>
34
	</div>
38
	
35
	<div class="col-lg-6"> 
39
	<div id="create-punch-in-out-container">
36
	<div id="create-punch-in-out-container">
40
    	<div class="row">
37
    	<div class="row">
41
			<div class="col-lg-2">
38
			<div class="col-lg-2">
42
				#if(!$punchInOut)
39
				#if(!$punchInOut)
43
	              	<button class="btn btn-primary" id="" onclick="createPunchInOut('IN')" type="button">Punch IN</button>
40
	              	<button class="btn btn-primary" id="" onclick="createPunchInOut('IN')" type="button">Punch IN</button>
Line 49... Line 46...
49
			</div>
46
			</div>
50
        			
47
        			
51
       	</div>
48
       	</div>
52
   	</div>
49
   	</div>
53
   	
50
   	
-
 
51
   
54
  	<div id="punch-in-outs-table">
52
  	<div id="punch-in-outs-table">
55
		<div class="row">
53
		<div class="row">
56
	    	<div class="col-lg-12">
54
	    	<div class="col-lg-12">
57
	    		<table class="table table-striped table-advance table-hover">
55
	    		<table class="table table-striped table-advance table-hover">
58
	    			<tbody>
56
	    			<tbody>
Line 90... Line 88...
90
    #if(!$punchInOuts.isEmpty())
88
    #if(!$punchInOuts.isEmpty())
91
    	<div class="row" id="punch-in-outs-paginated">
89
    	<div class="row" id="punch-in-outs-paginated">
92
    		<div class="col-lg-9">
90
    		<div class="col-lg-9">
93
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
91
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
94
    		</div>
92
    		</div>
95
    		<div class="col-lg-3" style="text-align:right;">
93
    		<div class="col-lg-4" style="text-align:right;">
96
				<div class="btn-group" style="width:40%">
94
				<div class="btn-group" style="width:40%">
97
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
95
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
98
				</div>
96
				</div>
99
				<div class="btn-group" style="width:40%">
97
				<div class="btn-group" style="width:40%">
100
					#if($end >= $size)
98
					#if($end >= $size)
Line 104... Line 102...
104
					#end
102
					#end
105
				</div>
103
				</div>
106
	    	</div>
104
	    	</div>
107
	    </div>
105
	    </div>
108
    #end
106
    #end
-
 
107
    </div>
-
 
108
    
-
 
109
     <div class="col-lg-6">
-
 
110
     
-
 
111
		 <div id="promoter-punchin-out-table">
-
 
112
		<div class="row">
-
 
113
	    	<div class="col-lg-12">
-
 
114
	    		<table class="table table-striped table-advance table-hover">
-
 
115
	    			<tbody>
-
 
116
	    				<tr>
-
 
117
	    					<th>Name</th>
-
 
118
	    					<th>Brand Name</th>
-
 
119
	    					<th>In Time</th>
-
 
120
	    					<th>OutTime</th>
-
 
121
	    				</tr>
-
 
122
	    				
-
 
123
	    				#if(!$userIdAndBrandPromoterMap.isEmpty())
-
 
124
			    			#foreach( $promoterId in $promoterIdAndPromoterMap.keySet())
-
 
125
			    			
-
 
126
			    				<tr>
-
 
127
			    				
-
 
128
			    				    <td>$promoterIdAndPromoterMap.get($promoterId).getName()</td>
-
 
129
			    					<td>$promoterIdAndPromoterMap.get($promoterId).getBrand()</td>
-
 
130
			    					#if($listPromoterAttendance.get($promoterId).getInTimestamp())
-
 
131
			    					<td>$listPromoterAttendance.get($promoterId).getInTimestamp().format($dateTimeFormatter)</td>
-
 
132
			    					#if($listPromoterAttendance.get($promoterId).getOutTimestamp())
-
 
133
			    					<td>$listPromoterAttendance.get($promoterId).getOutTimestamp().format($dateTimeFormatter)</td>
-
 
134
			    					#else
-
 
135
			    					<td><button class="btn btn-primary" id="" onclick="createPunchInOutForPromoter('OUT',$promoterId)"   type="button">Punch OUT</button></td>
-
 
136
			    					#end
-
 
137
									#else
-
 
138
									<td> <button class="btn btn-primary" id="" onclick="createPunchInOutForPromoter('IN',$promoterId)"  type="button">Punch IN</button></td>
-
 
139
									<td><button class="btn btn-primary" id="" onclick="createPunchInOutForPromoter('OUT',$promoterId)"   type="button" disabled>Punch OUT</button></td>
-
 
140
									#end
-
 
141
									
-
 
142
									
-
 
143
			    				</tr>	
-
 
144
			    	   #end
-
 
145
		    			#else
-
 
146
		    				<tr>
-
 
147
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
-
 
148
		    				</tr>
-
 
149
		    			#end
-
 
150
	    	
-
 
151
	    			</tbody>
-
 
152
	    		</table>
-
 
153
	    	</div>
-
 
154
	    </div>
-
 
155
    </div>
-
 
156
    </div>
109
</section>
157
</section>
110
158