-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdashboard.html
193 lines (170 loc) · 8.12 KB
/
dashboard.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Permit.js Demo</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="https://technotarek.com/permit/dashboard.html"/>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/main.css" type="text/css" media="screen">
<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<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="#">Local Resources Discovery Tool</a> -->
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="https://technotarek.com" class="navbar-brand"><img src="//technotarek.com/images/logo_tt.png" class="img-responsive" height="30" width="30" style="margin-top:-5px"></a></li>
<li class="active permit permit-all"><a href="dashboard.html">Dashboard</a></li>
<li class="dropdown permit permit-all"><a href="account.html">My Account</a></li>
<li class="permit permit-premium"><a href="#">Private Messages <span class="label label-info">15</span></a></li>
<li class="permit permit-admin"><a href="#">User Management</a></li>
<li class="permit permit-admin"><a href="#">Bug Reports <span class="label label-danger">8</span></a></li>
<li class="permit permit-free permit-issue-premium" data-permit-trigger='click'><a href="#"><span class="label label-info">Upgrade Now</span></a></li>
</ul>
<button type="button" class="btn btn-primary btn-sm navbar-btn pull-right permit permit-none permit-issue-free">Log In</button>
<button type="button" class="btn btn-primary btn-sm navbar-btn pull-right permit permit-all permit-revoke-all" data-permit-destination="permit.html">Log Out</button>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container">
<div class="row">
<div class="col-sm-12">
<br>
<h1 class="pull-left" style="margin-right:20px">Permit.js</h1>
<div class="permit permit-none">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Permit.js Large Banner -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-7124069219813221"
data-ad-slot="1153824038"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<section class="row">
<div class="col-sm-12">
<div class="permit permit-none">
<p>Please log in or go to the home of <a href="permit.html">Permit.js</a></p>
<button type="button" class="btn btn-primary permit permit-none permit-issue-free">Log In</button>
</div>
</div>
<div class="col-sm-6">
<div class="permit permit-free">
<h3>Welcome to Your Free Member Dashboard</h3>
<p class="lead">This demo has three account levels: free, premium, and admin. <i>You're currently simulating a "free" account.</i></p>
<p class="lead">Click the upgrade button in the navigation bar to issue a new permit and simulate a "premium" account.</p>
<p class="lead">Alternatively, use the Permit button in the lower right to try any of the available accounts levels.</p>
<br>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Permit.js 1 -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-7124069219813221"
data-ad-slot="1845154836"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="permit permit-premium">
<h3>Premium Members Dashboard</h3>
<p class="lead">Are things becoming a bit more clear? Notice how the navigation menu has changed.</p>
<p class="lead">Keep going. Simulate an admin account by using the Permit button in the lower right corner.</p>
<br>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Permit.js 1 -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-7124069219813221"
data-ad-slot="1845154836"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="permit permit-admin">
<h3>You're on top of the world!</h3>
<p class="lead">Remember, Permit.js is persistent, so you can use it across a multipage-prototype or app. If you haven't already done so, take a look at the My Account page.</p>
<p class="lead">Here are some possible use cases:</p>
<ul class="lead">
<li>Logged-Out / Logged-In</li>
<li>Free / Paid</li>
<li>Online / Offline</li>
<li>Writer / Editor / Publisher</li>
<li>User / Moderator / Administrator</li>
<li>Staff / Manager / Executive</li>
<li>English / French / Spanish</li>
</ul>
<p class="lead">Return to the <a href="permit.html">Permit.js homepage</a>.</p>
</div>
</div>
<div class="col-sm-6" style="position:relative;top:-100px">
<div class="permit permit-free">
<br>
<img src="img/sheep-free.jpg" class="img-circle img-responsive center-block">
</div>
<div class="permit permit-premium">
<br>
<img src="img/sheep-premium.jpg" class="img-circle img-responsive center-block">
</div>
<div class="permit permit-admin">
<br>
<img src="img/sheep-admin.jpg" class="img-circle img-responsive center-block">
</div>
</div>
</section>
<hr>
<section class="row">
<div class="col-md-6">
<p>Permit.js was developed by <a href="https://technotarek.com">Tarek Anandan, a freelance information architect, UX specialist, and website developer</a> based in Washington, DC.</p>
<br>
</div>
</section>
</div>
<div style="position:fixed;bottom:10px;right:20px">
<button class="btn btn-danger btn-sm permit permit-all" data-toggle="modal" data-target=".modal-permit">PERMIT</button>
</div>
<!-- Large modal -->
<div class="modal fade modal-permit" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Permits Agent</h4>
</div>
<div class="modal-body">
<div id="permit-agent"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger permit-reissue" data-dismiss="modal">Issue Permit</button>
</div>
</div>
</div>
</div>
<!-- GLOBAL CORE SCRIPTS -->
<script src="js/vendor/jquery-1.10.1.min.js"></script>
<script src="js/vendor/jquery.cookie.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/permit.min.js"></script>
<script src="js/main.js"></script>
<script src="js/analytics.js"></script>
</body>
</html>