Subversion Repositories SmartDukaan

Rev

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

Rev 19215 Rev 19314
Line 1... Line 1...
1
<style>
1
<style>
2
	.notifi a:hover{
2
	.notifi a:hover{
3
		color : black;
3
/* 		color : black; */
4
	}
4
	}
5
 
5
 
6
	.unseen {
6
	.unseen {
7
/* 		color:#54D199; */
7
/* 		color:#54D199; */
-
 
8
		background:#F2FFEC;
8
	}
9
	}
9
	.seen {
10
	.seen {
10
/* 		background:#f8f8f8; */
11
/* 		background:#f8f8f8; */
11
		color:#828181;
12
/* 		color:#828181; */
12
	}
13
	}
13
	.expired{
14
	.expired{
14
		color:#BBB9B9;
15
		color:#BBB9B9;
15
	}
16
	}
16
	.text{
17
	.text{
Line 27... Line 28...
27
		min-height: 30px;
28
		min-height: 30px;
28
	}
29
	}
29
</style>
30
</style>
30
 
31
 
31
<script>
32
<script>
-
 
33
$(document).on('click','#go_back',function(){
-
 
34
	window.history.back();
-
 
35
});
32
// onload=function(){
36
// onload=function(){
33
// 	var e=document.getElementById("refreshed");
37
// 	var e=document.getElementById("refreshed");
34
// 	if(e.value=="no"){
38
// 	if(e.value=="no"){
35
// 		e.value="yes";
39
// 		e.value="yes";
36
// 		$('.notilist').removeClass('hidden');
40
// 		$('.notilist').removeClass('hidden');
Line 39... Line 43...
39
// 	else{
43
// 	else{
40
// 		e.value="no";
44
// 		e.value="no";
41
// 		location.reload();}
45
// 		location.reload();}
42
// 	}
46
// 	}
43
	$(document).ready(function(){
47
	$(document).ready(function(){
44
// 		$('#loadModal').modal('show');
-
 
-
 
48
		
45
			$('.notifi').click(function(){
49
			$('.notifi').click(function(){
-
 
50
				$('#loadModal').modal('show');
46
				var cid = $(this).data('cid');
51
				var cid = $(this).data('cid');
47
				var url = $(this).data('url');
52
				var url = $(this).data('url');
48
				var urlType = $(this).data('notificationtype');
53
				var urlType = $(this).data('notificationtype');
49
				if(urlType!="expired"){
54
				if(urlType!="expired"){
50
	// 				$('#loadModal').modal('show');
55
	// 				$('#loadModal').modal('show');
Line 69... Line 74...
69
//                  .done(function(msg){
74
//                  .done(function(msg){
70
 
75
 
71
// 					});
76
// 					});
72
// 			});
77
// 			});
73
 
78
 
74
			$("#go_back").click(function(){
-
 
75
				window.history.back();
-
 
76
			});
79
			
77
 
80
 
78
			if($('.cscrollselector > .card').length>0) {
81
			if($('.cscrollselector > .card').length>0) {
79
                    $('.cscrollselector').jscroll({
82
                    $('.cscrollselector').jscroll({
80
                        loadingHtml: '<center><img src="/img/ajax-loader.gif" alt="Loading" /></center>',
83
                        loadingHtml: '<center><img src="/img/ajax-loader.gif" alt="Loading" /></center>',
81
                        autoTriggerUntil: 3,
84
                        autoTriggerUntil: 3,
Line 98... Line 101...
98
  </div><!-- /.modal-dialog -->
101
  </div><!-- /.modal-dialog -->
99
</div>
102
</div>
100
 
103
 
101
<!-- <input type="hidden" id="refreshed" value="no"> -->
104
<!-- <input type="hidden" id="refreshed" value="no"> -->
102
<div id= "go_back" class= "cartpagedetails" style="z-index:5;padding:5px;font-size: 15px;">    
105
<div id= "go_back" class= "cartpagedetails" style="z-index:5;padding:5px;font-size: 15px;">    
103
    	<span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span> <b>Notifications</b>
106
    	<b>Notifications</b>
104
</div>
107
</div>
105
<div class = "container notilist" style="margin-top: 40px;">
108
<div class = "container notilist" style="margin-top:25px;">
106
	
109
	
107
	<div class="row scroll cscrollselector" >
110
	<div class="row scroll cscrollselector" >
108
		<?php echo $this->element('getnotification');?>	
111
		<?php echo $this->element('getnotification');?>	
109
	</div>
112
	</div>
110
</div>
113
</div>