forked from dev-tim/angular-noty
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (46 loc) · 1.42 KB
/
index.html
File metadata and controls
50 lines (46 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html ng-app="nottyApp">
<head>
<title>Demo page for Angular Noty</title>
<script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script type="text/javascript" src="bower_components/noty/js/noty/packaged/jquery.noty.packaged.js"></script>
<script type="text/javascript" src="angular-noty.js"></script>
<script type="text/javascript" src="demo.js"></script>
<style type="text/css">
html {
height: 100%;
}
body {
background: #acaacc;
height: 100%;
}
.container {
background: #fff;
width: 800px;
margin: 0 auto;
height: 100%;
padding: 10px 5%;
}
.btn {
display: inline-block;
width: 100px;
text-align: center;
background: #3687c1;
color: white;
vertical-align: middle;
margin: 10px 0;
border: 1px #acacac solid;
padding: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="container" ng-controller="AppCtrl">
<p>Test notty notifications</p>
<div class="btn" ng-click="showNotification()">Show notty</div>
<div class="btn" ng-click="closeAll()">Close all</div>
</div>
</body>
</html>