Subversion Repositories SmartDukaan

Rev

Rev 36080 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36080 Rev 37734
Line 1062... Line 1062...
1062
 
1062
 
1063
	  hasGift=$hasGift;
1063
	  hasGift=$hasGift;
1064
	giftItemId = $giftItemId;
1064
	giftItemId = $giftItemId;
1065
	monthDays=$monthDays;
1065
	monthDays=$monthDays;
1066
	dayOfMonth = $dayOfMonth;
1066
	dayOfMonth = $dayOfMonth;
1067
	$(function(){
-
 
1068
		$('#links_bar').popover({
-
 
1069
			container:".notification-row",
-
 
1070
			template:`<div class="popover">
-
 
1071
							<div class="arrow"></div>
-
 
1072
							<div class="popover-inner">
-
 
1073
								<h4 class="popover-title">
-
 
1074
								</h4>
-
 
1075
								<div class="popover-content"><p></p></div>
-
 
1076
							</div>
-
 
1077
						</div>`,
-
 
1078
		    html: true,
-
 
1079
		    content: `<div class="container-fluid">
-
 
1080
		    				<div class="row"><h5 class="page-header" style="color:#333;margin:6px 0 3px">Quick Links</h5></div>
-
 
1081
		    				<div class="row">
-
 
1082
							    <div class="col-lg-3">
-
 
1083
								    <a href="/spicemoney/getToken" target="_blank" href="">
-
 
1084
								    	<img title="Spice Money" src="/resources/images/icons/provider-logos/spicemoney.jpg" style="width:40px"></img>
-
 
1085
								    </a>
-
 
1086
								</div>
-
 
1087
							</div>
-
 
1088
		    			</div>`,
-
 
1089
		    placement: "bottom",
-
 
1090
		    trigger: "focus"
-
 
1091
		});
-
 
1092
	});
-
 
1093
 
1067
 
1094
	  function showAttendanceModal() {
1068
	  function showAttendanceModal() {
1095
		var today = new Date().getTime();
1069
		var today = new Date().getTime();
1096
		if ($.cookie("punchIn") == undefined) {
1070
		if ($.cookie("punchIn") == undefined) {
1097
			document.cookie = "punchIn=" + today;
1071
			document.cookie = "punchIn=" + today;