Subversion Repositories SmartDukaan

Rev

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

Rev 19103 Rev 19106
Line 1... Line 1...
1
<style>
1
<style>
2
	.unseen {
2
	.unseen {
3
/* 		background:#D9FACF; */
3
/* 		background:#D9FACF; */
4
/* 		color:#54D199; */
4
/* 		color:#54D199; */
5
	}
5
	}
6
	.expired {
6
	.seen {
7
/* 		background:#f8f8f8; */
7
/* 		background:#f8f8f8; */
8
		color:#707070;
8
		color:#828181;
-
 
9
	}
-
 
10
	.expired{
-
 
11
		color:#BBB9B9;
9
	}
12
	}
10
	.text{
13
	.text{
11
		font-weight : bold;
14
		font-weight : bold;
12
	}
15
	}
13
	.expiredtext{
16
	.expiredtext{
14
		font-size : 10px;
17
		font-size : 10px;
15
		color : red;
18
/* 		color : red; */
16
	}
19
	}
17
	.notirow{
20
	.notirow{
18
		background-color: white;
21
		background-color: white;
19
		margin: 5px 0 0 0;
22
		margin: 5px 0 0 0;
20
		padding: 5px 5px 0 5px;
23
		padding: 5px 5px 0 5px;
21
		position:relative;
24
		position:relative;
22
		min-height: 30px;
25
		min-height: 30px;
23
	}
26
	}
-
 
27
	#go_back{
-
 
28
    margin: 2px auto;
-
 
29
    height: 30px;
-
 
30
    color: #555;
-
 
31
    background-color: #f5f5f5;
-
 
32
    padding:4px;
-
 
33
}
24
</style>
34
</style>
25
 
35
 
26
<script>
36
<script>
27
onload=function(){
37
onload=function(){
28
	var e=document.getElementById("refreshed");
38
	var e=document.getElementById("refreshed");
Line 34... Line 44...
34
				if($(this).hasClass('notifi')){
44
				if($(this).hasClass('notifi')){
35
					$(this).removeClass('unseen');
45
					$(this).removeClass('unseen');
36
				}
46
				}
37
			});
47
			});
38
 
48
 
-
 
49
			$("#go_back").click(function(){
-
 
50
				window.history.back();
-
 
51
			});
-
 
52
 
39
			if($('.cscrollselector > .card').length>0) {
53
			if($('.cscrollselector > .card').length>0) {
40
// 				debugger;
54
// 				debugger;
41
//                 if(typeof noscrolling == 'undefined') {
55
//                 if(typeof noscrolling == 'undefined') {
42
                    $('.cscrollselector').jscroll({
56
                    $('.cscrollselector').jscroll({
43
                        loadingHtml: '<center><img src="/img/ajax-loader.gif" alt="Loading" /></center>',
57
                        loadingHtml: '<center><img src="/img/ajax-loader.gif" alt="Loading" /></center>',
Line 49... Line 63...
49
			
63
			
50
		});
64
		});
51
</script>
65
</script>
52
 
66
 
53
<input type="hidden" id="refreshed" value="no">
67
<input type="hidden" id="refreshed" value="no">
-
 
68
<div id= "go_back" style="width:100%;z-index:5;top:0px;position:fixed;margin-top: 0px;">    
-
 
69
    	<span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span> <b>Notifications</b>
54
 
70
</div>
55
<div class = "container" style="margin-top: 5px;">
71
<div class = "container" style="margin-top: 30px;">
-
 
72
	
56
	<div class="row scroll cscrollselector" >
73
	<div class="row scroll cscrollselector" >
57
		<?php echo $this->element('getnotification');?>	
74
		<?php echo $this->element('getnotification');?>	
58
	</div>
75
	</div>
59
</div>
76
</div>
60
 
77