-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (58 loc) · 3.07 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
57
58
59
60
61
62
63
64
65
<!doctype html>
<html lang="en" ng-app="dczSite" ng-controller="appController as appCtrl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>dcz.switcher.github.io</title>
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/knacss.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="header">dcz.switcher.github.io</div>
<div class="nav">
<ul class="nav-list">
<li class="nav-list-item" ng-class="{active: appCtrl.location.path() == '/home'}"><a href="#/"><i class="fa fa-home fa-2x"></i></a></li><!--
--><li class="nav-list-item" ng-class="{active: appCtrl.location.path() == '/articles'}"><a href="#/articles"><i class="fa fa-file-text-o fa-2x"></i></a></li><!--
--><li class="nav-list-item" ng-class="{active: appCtrl.location.path() == '/test_area'}"><a href="#/test_area"><i class="fa fa-flask fa-2x"></i></a></li><!--
--><li class="nav-list-item" ng-class="{active: appCtrl.location.path() == '/more'}"><a href="#/more"><i class="fa fa-bars fa-2x"></i></a></li>
</ul>
</div>
<div class="content">
<div ng-view></div>
</div>
<script src="js/vendors/raphael-min.js"></script>
<script>
var GLOBALS = {};
GLOBALS.playFeedback = function () {
var posX = document.body.clientWidth / 2 - 250,
posY = document.body.clientHeight / 2,
paper = Raphael(posX, posY, 500, 500);
var circle = paper.circle(210, 195, 0).attr({"fill" : "#4caf50", "stroke": 0});
circle.animate({"r" : 100}, 500, "backOut", function () {
var check1 = paper.rect(150, 200, 60, 30).attr({"fill" : "#FFF", "stroke": 0}).transform("r45");
var check2 = paper.rect(163, 179, 120, 30).attr({"fill" : "#FFF", "stroke": 0}).transform("r315");
var rect1 = paper.rect(164, 184, 32, 62).attr({"fill" : "#4caf50", "stroke": 0}).transform("r135");
var rect2 = paper.rect(188, 167, 92, 32).attr({"fill" : "#4caf50", "stroke": 0}).transform("r135");
rect1.animate({"height" : 0}, 100, "linear", function () {
rect2.animate({"width" : 0}, 100, "linear", function () {
window.setTimeout(function () {
rect1.remove();
rect2.remove();
check1.remove();
check2.remove();
circle.animate({"r" : 0}, 300, "backIn", function () {
paper.remove();
});
}, 500);
});
});
});
}
</script>
<script src="js/vendors/angular.min.js"></script>
<script src="js/vendors/angular-route.min.js"></script>
<script src="js/src/controllers/controllers.js"></script>
<script src="js/src/app.js"></script>
</body>
</html>