-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_test_area.html
More file actions
39 lines (38 loc) · 1.54 KB
/
_test_area.html
File metadata and controls
39 lines (38 loc) · 1.54 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
<!doctype html>
<html lang="en" ng-app="DczApplication">
<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"><a href="index.html"><i class="fa fa-home fa-2x"></i></a></li><!--
--><li class="nav-list-item active"><a href="test_area.html"><i class="fa fa-flask fa-2x"></i></a></li><!--
--><li class="nav-list-item"><a href="#"><i class="fa fa-bars fa-2x"></i></a></li>
</ul>
</div>
<div class="content">
<div class="line">
<div class="center" ng-controller="MxSwitchboxController as mxSwitchCtrl">
<span>mx switchbox is {{mxSwitchCtrl.isShiny ? 'switched' : 'not switched'}}</span><div mx-switchbox switched='mxSwitchCtrl.isShiny'></div>
</div>
</div>
</div>
<script src="js/libs/angular.min.js"></script>
<script src="js/mx/mxSwitchbox.js"></script>
<script>
(function () {
var dczApplication = angular.module('DczApplication', ['mx']);
dczApplication.controller('MxSwitchboxController', [function () {
this.isShiny = true;
}]);
}());
</script>
</body>
</html>