Subversion Repositories SmartDukaan

Rev

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

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