-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
56 lines (50 loc) · 1.7 KB
/
index.html
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
51
52
53
54
55
56
<!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>
<link rel="stylesheet" href="bower_components/animate.css/animate.css" />
<style>
html {
height: 100%;
}
body {
font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
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">
<h2>Test notty notifications</h2>
<div class="btn" ng-click="showNotification()">Show noty</div>
<div class="btn" ng-click="showAlert()">Warning</div>
<div class="btn" ng-click="showError()">Error</div>
<div class="btn" ng-click="closeAll()">Close all</div>
</div>
</body>
</html>