Subversion Repositories SmartDukaan

Rev

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

Rev 19120 Rev 19127
Line 1... Line 1...
1
<style>
1
<style>
-
 
2
	.notifi a:hover{
-
 
3
		color : black;
-
 
4
	}
-
 
5
 
2
	.unseen {
6
	.unseen {
3
/* 		background:#D9FACF; */
-
 
4
/* 		color:#54D199; */
7
/* 		color:#54D199; */
5
	}
8
	}
6
	.seen {
9
	.seen {
7
/* 		background:#f8f8f8; */
10
/* 		background:#f8f8f8; */
8
		color:#828181;
11
		color:#828181;
Line 13... Line 16...
13
	.text{
16
	.text{
14
		font-weight : bold;
17
		font-weight : bold;
15
	}
18
	}
16
	.expiredtext{
19
	.expiredtext{
17
		font-size : 10px;
20
		font-size : 10px;
18
/* 		color : red; */
-
 
19
	}
21
	}
20
	.notirow{
22
	.notirow{
21
		background-color: white;
23
		background-color: white;
22
		margin: 5px 0 0 0;
24
		margin: 5px 0 0 0;
23
		padding: 5px 5px 0 5px;
25
		padding: 5px 5px 0 5px;
24
		position:relative;
26
		position:relative;
25
		min-height: 30px;
27
		min-height: 30px;
26
	}
28
	}
27
/* 	#go_back{ */
-
 
28
/*     margin: 2px auto; */
-
 
29
/*     height: 30px; */
-
 
30
/*     color: #555; */
-
 
31
/*     background-color: #f5f5f5; */
-
 
32
/*     padding:4px; */
-
 
33
/* } */
-
 
34
</style>
29
</style>
35
 
30
 
36
<script>
31
<script>
37
onload=function(){
32
// onload=function(){
38
	var e=document.getElementById("refreshed");
33
// 	var e=document.getElementById("refreshed");
39
	if(e.value=="no"){
34
// 	if(e.value=="no"){
40
		e.value="yes";
35
// 		e.value="yes";
41
		$('.notilist').removeClass('hidden');
36
// 		$('.notilist').removeClass('hidden');
42
		$('#loadModal').modal('hide');
37
// 		$('#loadModal').modal('hide');
43
	}
38
// 	}
44
	else{
39
// 	else{
45
		e.value="no";
40
// 		e.value="no";
46
		location.reload();}
41
// 		location.reload();}
47
	}
42
// 	}
48
	$(document).ready(function(){
43
	$(document).ready(function(){
49
		$('#loadModal').modal('show');
44
// 		$('#loadModal').modal('show');
50
			$('.notifi a').click(function(){
45
			$('.notifi a').click(function(){
51
				
46
				
52
				$('#loadModal').modal('show');
47
				$('#loadModal').modal('show');
53
				});
48
				});
54
// 			$('.notifi').click(function(){
49
// 			$('.notifi').click(function(){
Line 90... Line 85...
90
      </div>      
85
      </div>      
91
    </div><!-- /.modal-content -->
86
    </div><!-- /.modal-content -->
92
  </div><!-- /.modal-dialog -->
87
  </div><!-- /.modal-dialog -->
93
</div>
88
</div>
94
 
89
 
95
<input type="hidden" id="refreshed" value="no">
90
<!-- <input type="hidden" id="refreshed" value="no"> -->
96
<div id= "go_back" class= "cartpagedetails" style="width:100%;z-index:5;top:0px;position:fixed;margin-top: 0px;height:35px;padding:5px;">    
91
<div id= "go_back" class= "cartpagedetails" style="z-index:5;padding:5px;font-size: 15px;">    
97
    	<span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span> <b>Notifications</b>
92
    	<span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span> <b>Notifications</b>
98
</div>
93
</div>
99
<div class = "container notilist hidden" style="margin-top: 35px;">
94
<div class = "container notilist" style="margin-top: 40px;">
100
	
95
	
101
	<div class="row scroll cscrollselector" >
96
	<div class="row scroll cscrollselector" >
102
		<?php echo $this->element('getnotification');?>	
97
		<?php echo $this->element('getnotification');?>	
103
	</div>
98
	</div>
104
</div>
99
</div>