-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (76 loc) · 3.43 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en" ng-app="myApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>DirectivePanel OnOff using Switch</title>
<!-- Bootstrap -->
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<!-- Libs -->
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-inverse navbar-static-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Angularjs</a>
</div>
<!-- /.navbar-header -->
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="javascript:void(0);" class="btn btn-primary" data-toggle="modal" data-target="#settingsModal">
<i class="fa fa-plus"></i> Add Social Network
</a>
</li>
<li>
<a href="javascript:void(0);">
<i class="fa fa-fw fa-user"></i> User
</a>
</li>
<li>
<a href="javascript:void(0);" ng-click="logout();">
<i class="fa fa-fw fa-power-off"></i> Logout
</a>
</li>
</ul>
<!-- /.navbar-top-links -->
</div>
</div>
</nav>
<div class="container-fluid">
<!-- Entry box for first time page load -->
<entry></entry>
<div box-social opt-src="opts"></div>
</div>
<div id="settingsModal" class="modal fade" role="dialog">
<div class="modal-dialog modal-sm">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Add Social Network Feed</h4>
</div>
<div class="modal-body clearfix">
<div onoff-switch netw-src="snetworks" opts="opts"></div>
</div>
</div>
</div>
</div>
<script src="app/app.js"></script>
<script src="app/directives.js"></script>
<script src="app/myCtrl.js"></script>
</body>
</html>