Subversion Repositories SmartDukaan

Rev

Rev 26014 | Rev 26063 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26010 amit.gupta 1
<!DOCTYPE html>
2
<html lang="en">
3
  <head>
4
    <meta charset="utf-8">
5
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
    <meta name="description" content="Smart Dukaan FOCO Dashboard">
7
    <meta name="author" content="smartdukaan">
8
    <!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">--> 
9
	<link rel="shortcut icon" href="assets/images/icons/favicon.png">
10
 
11
    <title>Smart Dukaan - FOCO Dashboard</title>
12
 
13
    <!-- Bootstrap CSS -->    
14
    <!-- bootstrap theme -->
15
    <!--external css-->
16
    <!-- font icon -->
17
    <link href="resources/css/elegant-icons-style.css" rel="stylesheet" />
18
    <link href="resources/css/font-awesome.min.css" rel="stylesheet" />    
19
    <!-- full calendar css-->
20
    <!-- owl carousel -->
21
    <link rel="stylesheet" href="resources/css/owl.carousel.css" type="text/css">
22
	<link href="resources/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
23
    <!-- Custom styles -->
24
	<link href="resources/css/widgets.css" rel="stylesheet">
25
    <link href="resources/css/style.css?v=${cssVersion}" rel="stylesheet">
26
    <link href="resources/css/card.css?v=${cssVersion}" rel="stylesheet">
27
    <link href="resources/css/style-responsive.css" rel="stylesheet" />
28
	<link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
29
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
30
	<!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
31
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
32
	<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
33
 
34
	<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css" />
35
	<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
36
	<link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
37
	<style type="text/css">
38
		.loading {
39
  			display: none;
40
		}
41
		.breadcrumb {
42
    		padding: 0 15px;
43
    	}
44
 
45
    	.stars-outer {
46
		  display: inline-block;
47
		  position: relative;
48
		  font-family: FontAwesome;
49
		}
50
 
51
		.stars-outer::before {
52
		  content: "\f006 \f006 \f006 \f006 \f006";
53
		}
54
 
55
		.stars-inner {
56
		  position: absolute;
57
		  top: 0;
58
		  left: 0;
59
		  white-space: nowrap;
60
		  overflow: hidden;
61
		  width: 0;
62
		}
63
 
64
		.stars-inner::before {
65
		  content: "\f005 \f005 \f005 \f005 \f005";
66
		  color: #f8ce0b;
67
		}
68
 
69
 
70
	.table-striped > tbody > tr:nth-child(odd) > td{
71
  		background: white;
72
  		background-color: #dae5f4;
73
	}
74
	.table-striped > tbody > tr:nth-child(even) > td{
75
  		background:  #f2f2f2;
76
  		background-color: #b8d1f3;
77
	}
78
 
79
	.btn:hover{
80
  		color: grey;
81
  		text-decoration: none;
82
	}
83
	.btn-primary:hover{
84
  		color: grey;
85
  		text-decoration: none;
86
	}
87
	.sale-details{
88
		cursor:pointer;
89
	}
90
 
91
	.popover {
92
		min-width:18%;
93
	}
94
	.fa-2x {
95
		font-size:1.4em;
96
	}
97
	.cover {
98
	  object-fit: cover;
99
	  width: 100%;
100
	  height: 90px;
101
	  padding: 8px;
102
	}
103
	.info-box .notifications i {
104
    display: inline-block;
105
    margin-top:0px;
106
    height: 25px;
107
    font-size: 16px;
108
    line-height: 25px;
109
    width: 25px;
110
    float: none;
111
    text-align: center;
112
    padding-right: 0px;
113
    color:#768399;
114
  }
115
 
116
	#preview {
117
	  position: relative;
118
	  color: #fff;
119
	  float: left;
120
	  width: 100%;
121
	  -webkit-border-radius: 10px;
122
	  -moz-border-radius: 10px;
123
	  border-radius: 10px;
124
	  clear: both;
125
	}
126
	#canvas-preview{
127
	  width: 100%;
128
	  position: relative;
129
	  top:-15px;
130
	}
131
	#preview-textfield{
132
	  position: absolute; top: -10px; left: 0; right: 0;
133
	  text-align: center; font-size: 2em; font-weight: bold;
134
	  color: white; font-family: 'Amaranth', sans-serif;
135
	}
136
 
137
 
138
	</style>
139
  </head>
140
 
141
  <body style="zoom:90%;background-color:#f7f7f7">
142
  <!--<div class="loading"><img src="resources/images/icons/loading.gif"></div>-->
143
  <!-- container section start -->
144
  <section id="container">
145
 
146
 
147
      <header class="header dark-bg">
148
            <div class="toggle-nav">
149
                <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i class="icon_menu"></i></div>
150
            </div>
151
            <div class="top-nav notification-row">
152
                <!-- notificatoin dropdown start-->
153
                <ul class="nav pull-right top-menu">
154
                    <!-- alert notification start-->
155
                    <!--<li id="alert_notificatoin_bar" class="dropdown">
156
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
157
 
158
                            <i class="icon-bell-l"></i>
159
                            <span class="badge bg-important">0</span>
160
                        </a>
161
                        <ul class="dropdown-menu extended notification">
162
                            <div class="notify-arrow notify-arrow-blue"></div>
163
                            <li>
164
                                <p class="blue">You have no new notifications</p>
165
                            </li>
166
                            <li>
167
                                <a href="#">
168
                                    <span class="label label-primary"><i class="icon_profile"></i></span> 
169
                                    Friend Request
170
                                    <span class="small italic pull-right">5 mins</span>
171
                                </a>
172
                            </li>
173
                            <li>
174
                                <a href="#">
175
                                    <span class="label label-warning"><i class="icon_pin"></i></span>  
176
                                    John location.
177
                                    <span class="small italic pull-right">50 mins</span>
178
                                </a>
179
                            </li>
180
                            <li>
181
                                <a href="#">
182
                                    <span class="label label-danger"><i class="icon_book_alt"></i></span> 
183
                                    Project 3 Completed.
184
                                    <span class="small italic pull-right">1 hr</span>
185
                                </a>
186
                            </li>
187
                            <li>
188
                                <a href="#">
189
                                    <span class="label label-success"><i class="icon_like"></i></span> 
190
                                    Mick appreciated your work.
191
                                    <span class="small italic pull-right"> Today</span>
192
                                </a>
193
                            </li>
194
                            <li>
195
                                <a href="#">See all notifications</a>
196
                            </li>
197
                        </ul>
198
                    </li>
199
                    -->
200
                    <!-- alert notification end -->
201
					<li class="dropdown">
202
                        <ul class="dropdown-menu extended">
203
                            <div class="log-arrow-up"></div>
204
                            <li class="eborder-top">
205
                                <a href="javascript:void(0);" class="create-ticket">Create Ticket</a>
206
                            </li>
207
                        </ul>
208
                    </li>
209
                    <!-- user login dropdown start-->
210
                    <li class="dropdown">
211
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
212
                            <span class="profile-ava">
213
                                <img class="avatar-custom" id="photo" alt="" src="">
214
                            </span>
215
                            <span class="username" id="fofo_name"></span>
216
                            <b class="caret"></b>
217
                        </a>
218
                        <ul class="dropdown-menu extended logout">
219
                            <div class="log-arrow-up"></div>
220
                            <li class="eborder-top">
221
                                <a class="change-auth-user-password" href="javascript:void(0);"><i class=""></i>Change Password</a>
222
                            </li>
223
                            <li>
224
                                <a href="${rc.contextPath}/logout"><i class="icon_key_alt" id = "logout"></i> Log Out</a>
225
                            </li>
226
                        </ul>
227
                    </li>
228
                    <!-- user login dropdown end -->
229
                </ul>
230
                <!-- notificatoin dropdown end-->
231
            </div>
232
      </header>      
233
      <!--header end-->
234
 
235
      <!--sidebar start-->
236
      <aside>
237
          <div id="sidebar"  class="nav-collapse ">
238
              <!-- sidebar menu start-->
239
              <ul class="sidebar-menu">                
240
              	  <li class="active">
241
                      <a class="" href="${rc.contextPath}/dashboard">
242
                          <i class="icon_house_alt"></i>
243
                          <span>Dashboard</span>
244
                      </a>
245
                  </li>
26014 amit.gupta 246
                  #foreach($menuItem in $menu)
247
		            <li class="sub-menu">
248
		              <a href="javascript:;" class="">
249
	                       <i class="icon_document_alt"></i>
250
	                       <span>$menuItem.getDisplayText()</span>
251
	                       <span class="menu-arrow arrow_carrot-right"></span>
252
		              </a>
253
					  <ul class="sub">
254
					  #foreach($subMenu in $menuItem.getSubMenus())
255
						  <li><a class="$subMenu.getActionClass()" href="javascript:void(0);">$subMenu.getDisplayText()</a></li>
256
					  #end
257
					</ul>
258
		           	</li>
26010 amit.gupta 259
                  #end
260
              </ul>
261
              <!-- sidebar menu end-->
262
          </div>
263
      </aside>
264
      <!--sidebar end-->
265
 
266
	<!--main content start-->
267
	<section id="main-content">
268
		<section class="wrapper">
269
          	<!--overview start-->
270
			<div class="row">
271
				<div class="col-lg-12">
272
					<h3 class="page-header"><i class="fa fa-laptop"></i> Dashboard</h3>
273
					<ol class="breadcrumb">
274
						<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
275
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
276
					</ol>
277
				</div>
278
			</div>
279
			<!-- overview end -->
280
			<div class="row">
281
			</div>
282
			<div class="col-lg-6">
283
				<div class="row col-lg-12 info-box white-bg">
284
					<div class="col-lg-4">
285
					<h3 style="margin-top:-2px;margin-bottom:24px"><strong>My Messages</strong>
286
					</h3>
287
					</div>
288
					<div class="col-lg-4">
289
						<div class="btn-group message-filter"> 
290
							<button data-messagetype="notification" type="button" class="btn btn-default" aria-label="Notifications" title="Notifications">
291
							<span class="glyphicon glyphicon-bell" aria-hidden="true"></span></button> 
292
							<button data-messagetype="announcement" type="button" class="btn btn-default" aria-label="Announcements" title="Announcements">
293
							<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span></button> 
294
							<button data-messagetype="scheme" type="button" class="btn btn-default" aria-label="SmartDukaan Schemes" title="SmartDukaan Schemes">
295
								<span class="glyphicon glyphicon-tags" aria-hidden="true"></span>
296
							</button>
297
						</div>
298
					</div>
299
				    <div class="col-lg-12 row notification-container" style="max-height: 500px;overflow-y: scroll;">
300
					</div>
301
				</div>
302
			</div>
303
		</div>
304
		</section>
305
    	<div class="text-center">
306
          <div class="credits">
307
          	<p>All rights reserved.&copy;2017, Smart Dukaan</p>
308
          </div>
309
		</div>
310
	</section>
311
 
312
	<script type="text/javascript">
313
		context="${rc.contextPath}";
314
		webApiScheme="$webApiScheme";
315
		webApiRoot="$webApiRoot";
316
		webApiHost="$webApiHost";
317
		webApiPort="$webApiPort";
318
	</script>
319
	#parse("include-scripts.vm")
320
 
321
  <script>
322
 
323
      //knob
324
      $(function() {
325
        /*$(".knob").knob({
326
          'draw' : function () { 
327
            $(this.i).val(this.cv + '%')
328
          }
329
        });*/
330
        $.fn.dataTable.moment( 'DD/MM/YYYY' );
331
        $.fn.dataTable.moment( 'DD/MM/YYYY hh:mm' );
332
        $('.currency').each(function(index, ele) {
333
			if (!isNaN(parseInt($(ele).html()))) {
334
				$(ele).html(numberToComma($(ele).html()));
335
			}
336
		});
337
      });
338
 
339
      $(function() {
340
    	 	var profile = localStorage.getItem('profile');
341
    	 	if (profile){
342
    			$("#photo").attr("src",JSON.parse(profile).image_url);
343
    			$("#fofo_name").text(JSON.parse(profile).name);
344
    	 	}
345
    	 	else{
346
    	 		$("#photo").attr("src","");
347
    			$("#fofo_name").text("Welcome, User");
348
    	 	}
349
    });
350
 
351
 
352
 
353
	$(function(){
354
		dateRangeCallback(moment(),moment());
355
		loaderDialogObj = bootbox.dialog({
356
		    message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
357
		    show: false	
358
		});
359
	});
26062 tejbeer 360
 
361
		$(document).ready(function(){
362
 
363
		 $('div.message-filter').on('click', 'button', function() {
364
			messageType = $(this).data("messagetype");
365
			if($(this).hasClass('btn-pressed')) {
366
				messageType="";
367
				$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
368
			} else {
369
				$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
370
				$(this).addClass('btn-pressed').removeClass('btn-default');
371
			}
372
			notifyTypeChange(messageType);
373
		});
374
		notifyTypeChange("");
375
 
376
	});	
377
 
378
		$(function(){
379
 
380
		messageType = $(this).data("messagetype");
381
		if($(this).hasClass('btn-pressed')) {
382
			messageType="";
383
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
384
		} else {
385
			$('div.message-filter').find('button').removeClass('btn-pressed').addClass('btn-default');
386
			$(this).addClass('btn-pressed').removeClass('btn-default');
387
		}
388
		notifyTypeChange(messageType);
389
	});
26010 amit.gupta 390
</script>
391
 
392
  </body>
393
</html>