forked from aerkalov/booktype2-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
475 lines (397 loc) · 21.9 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
<!doctype html>
<html lang="en" class="custom-scroll">
<head>
<meta charset="UTF-8">
<title>Booktype Edit Screen</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
<link href='css/bootstrap.css' rel='stylesheet' type='text/css' />
<link href='css/bootstrap-custom.css' rel='stylesheet' type='text/css' />
<link href='css/bootstrap-theme.css' rel='stylesheet' type='text/css' />
<link href="css/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<link href='css/booki-new.css' rel='stylesheet' type='text/css' />
<link href='css/aloha.css' rel='stylesheet' type='text/css' />
</head>
<body>
<!-- Main menu left -->
<div class="sf-main-menu">
<div class="sf-menu-header-bar"></div>
<div class="sf-menu-content">
<ul>
<li class="active">
<a href="#">Home</a>
</li>
<li>
<a href="#">My Dashboard</a>
</li>
<li>
<a href="#">Books</a>
</li>
<li>
<a href="#">Groups</a>
</li>
<li>
<a href="#">People</a>
</li>
</ul>
</div>
</div>
<!-- Navbar -->
<div class="navigation-bar">
<div class="user">
<div class="btn-group">
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">Vladimir Stefanovic<span class="caret"></span></button>
<ul class="dropdown-menu pull-right">
<li><a href="/accounts/Fritz/" target="_blank"><i class="icon-user"></i>Profile</a></li>
<li><a href="/_control/" target="_blank"><i class="icon-gears"></i>Control Center</a></li>
<li class="divider"></li>
<li><a href="/accounts/signout/"><i class="icon-signout"></i>Logout</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">en<span class="caret"></span></button>
<ul class="dropdown-menu pull-right">
<li><a href="/accounts/Fritz/" target="_blank"><i class="icon-flag"></i>en</a></li>
<li><a href="/_control/" target="_blank"><i class="icon-flag"></i>de</a></li>
</ul>
</div>
</div>
<div class="collapse-navigation"><a href="#"></a></div>
<div class="logo"><a href="#"></a></div>
</div>
<!-- end Navbar -->
<!-- Bookbar -->
<div class="bookbar">
<h1>My Dashboard</h1>
</div>
<!-- end Bookbar -->
<div class="container">
<div class="row two-col">
<div class="col-xs-8">
<div class="box gray">
<h2 class="box-title-alter">
My Books
<div class="btn-toolbar float-right">
<button href="#" role="button" class="btn btn-default float-right btn-group" data-toggle="modal" data-target="#myModal" rel="tooltip" title="" data-placement="bottom" data-original-title="Create new book">CREATE NEW BOOK</button>
<div class="btn-group float-right">
<button class="btn btn-default btn-sm showGrid" rel="tooltip" title="" data-placement="bottom" data-original-title="Show grid"><i class="icon-th"></i></button>
<button class="btn btn-default btn-sm showList" rel="tooltip" title="" data-placement="bottom" data-original-title="Show List"><i class="icon-list-ul"></i></button>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog new_book">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h2 class="modal-title" id="myModalLabel">Create New Book</h2>
</div>
<div class="modal-body">
<section id="basic">
<form method="post" action="/accounts/Fritz/_create_book/" target="hidden_frame" enctype="multipart/form-data"><input type="hidden" name="csrfmiddlewaretoken" value="cbFF3Y1lqxPMojRh0EOxNEWwv4oOpwdu">
<div id="wizard-1">
<h3>Title</h3>
<section>
<p class="wizard_desc">What is the title of your book?</p>
<label for="title">Title of Book</label> <input class="form-control" maxlength="200" name="title" type="text">
</section>
<h3>Description</h3>
<section>
<p class="wizard_desc">Give some information so others can find it to help you (this can be added or changed later).</p>
<label for="description">Description</label>
<textarea class="form-control" name="description" cols="40" rows="7"></textarea>
</section>
<h3>Choose license</h3>
<section>
<p class="wizard_desc">Choose from the following license</p>
<label for="hidden">License</label>
<select id="id_license" name="license">
<option value="">---------</option>
<option value="4" selected="selected">Creative Commons Attribution</option>
<option value="6">Creative Commons Attribution-NoDerivs</option>
<option value="7">Creative Commons Attribution-NonCommercial</option>
<option value="9">Creative Commons Attribution</option>
<option value="8">Creative Commons Attribution-NonCommercial</option>
<option value="5">Creative Commons Attribution-ShareAlike</option>
<option value="3">Creative Commons No Rights Reserved</option>
<option value="10">GNU General Public License</option>
<option value="2">MIT License</option>
<option value="11">Neka moja licenca</option>
<option value="1">Public Domain</option>
</select>
</section>
<h3>Image</h3>
<section>
<p class="wizard_desc">If you have an image for the book then add it now (this can be added or changed later)</p>
<label for="hidden">Book Image</label>
<input type="file" name="cover" size="40">
</section>
<h3>Make Public?</h3>
<section>
<p class="wizard_desc">Would you like to keep your book private or make it public? If the book is public others can find the book to help you.
<b>Note:</b> this setting can be changed later from your dashboard.</p>
<label for="hidden">Initially hide from others</label> <input checked="checked" name="hidden" type="checkbox">
</section>
</div>
</form>
</section>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
</div>
</h2>
<div class="book-thumb" id="books-prew"> <!-- For list view add book-list class, and remove book-thumb -->
<div class="grid-4">
<figure class="custom-cover">
<img src="pictures/cover.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="default-cover">
<img src="img/thumb-default.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="custom-cover">
<img src="pictures/cover.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="default-cover">
<img src="img/thumb-default.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="default-cover">
<img src="img/thumb-default.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
</div> <!-- End of book list (book-thumb or book-list) -->
<h4>Participating Books</h4>
<div class="book-thumb" id="books-prew-2"> <!-- For list view add white-list class, and remove book-thumb -->
<div class="grid-4">
<figure class="custom-cover">
<img src="pictures/cover.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="default-cover">
<img src="img/thumb-default.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="custom-cover">
<img src="pictures/cover.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
<div class="grid-4">
<figure class="default-cover">
<img src="img/thumb-default.png">
</figure>
<div class="book-info">
<h4><a href="#">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.</a></h4>
<div class="btn-group float-right">
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Edit Book" data-toggle="modal" href="#editCover"><i class="icon-pencil"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="View Book" href="pictures/cover0.jpg" target="_blank"><i class="icon-eye-open"></i></a>
<a class="btn btn-xs" rel="tooltip" title="" data-placement="bottom" data-original-title="Delete Book"><i class="icon-trash"></i></a>
</div>
</div>
</div>
</div> <!-- End of book list (book-thumb or white-list) -->
</div>
<div class="box white">
<h2 class="box-title">My Groups</h2>
<ul class="list">
<li>
<figure><img src="img/groups.png"></figure>
<div class="list-info">
<h4><a href="#">Acina druga grupa</a> - This is my group</h4>
<span>Members: 1 Books: 2</span>
</div>
</li>
<li>
<figure><img src="img/groups.png"></figure>
<div class="list-info">
<h4><a href="#">Acina druga grupa</a> - This is my group</h4>
<span>Members: 1 Books: 2</span>
</div>
</li>
</ul>
<div class="box-bottom-gray">
<button href="#" role="button" class="btn btn-default" rel="tooltip" title="" data-placement="bottom" data-original-title="Create new group">CREATE NEW GROUP</button>
</div>
</div>
</div>
<div class="col-xs-4">
<div class="box gray">
<h2 class="box-title">My Profile</h2>
<ul class="list-people list user-avatar">
<li>
<figure><img src="pictures/fritz.png"></figure>
<div class="people-info">
<h4><a href="#">Fritz</a></h4>
<span>Vladimir Stefanovic</span>
</div>
</li>
</ul>
<p>Vladimir is Sourcefabric’s Interface and Usability Designer, so he takes the raw functionality of our products and turns into something users really enjoy working with.</p>
<p><a href="#">Follow my changes </a> <img src="img/rss.png"></p>
<div class="content-divider"></div>
<p>
Following: <a href="#">@adamtest</a> <br>
Followers: <a href="#">@aaaIPTION</a>
</p>
<div class="box-bottom-white">
<button href="#" role="button" class="btn btn-default float-left" rel="tooltip" title="" data-placement="bottom" data-original-title="Go to settings">SETTINGS</button>
<button href="#" role="button" class="btn btn-success float-right" rel="tooltip" title="" data-placement="bottom" data-original-title="Log out">LOG OUT</button>
</div>
</div>
<div class="box white">
<h2 class="box-title">My Recent Activity</h2>
<ul class="list border-top">
<li>
<figure><img src="img/list-default.png"></figure>
<div class="list-info">
<span class="time">6 hours ago</span>
<h4><a href="#">Fritz</a></h4>
<p>
New section <a href="#">“Airtime API auth Airtime API auth Airtime API auth Airtime API auth Airtime API auth"</a>
<span>#airtime-25-for-broadcasters</span>
</p>
</div>
</li>
<li>
<figure><img src="img/reorder.png"></figure>
<div class="list-info">
<span class="time">6 hours ago</span>
<h4><a href="#">Fritz</a></h4>
<p>
Chapter reorder <a href="#">“Airtime API auth"</a>
<span>#airtime-25-for-broadcasters</span>
</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</div> <!-- End of container -->
<footer>
<div class="container">
<div class="col-xs-4">
<h2>About</h2>
<p>This is a demonstration server for Booktype. This server is reset on a regular basis, and any books created here will be deleted at that time.</p>
</div>
<div class="col-xs-4">
<h2>How to use</h2>
<p>If you wish to have your own installation please either download the sources <a href="http://www.sourcefabric.org/en/booktype/">http://www.sourcefabric.org/en/booktype/</a> or check out Booktype Pro, our free, cloud-hosted publishing service - <a href="http://sourcefabric.com/en/booktypepro/">http://sourcefabric.com/en/booktypepro/</a>.</p>
</div>
<div class="col-xs-4">
<h2>Need Help?</h2>
<p>With social tools, easy workflows and freedom to choose your own licences, Booktype Pro is perfect for internal, or public-facing, use. Publishers, print-on-demand services and education institutions produce better books, faster, while Sourcefabric takes care of your own platform's installation, hosting, upgrades, and security.</p>
</div>
<div class="content-divider"></div>
<div class="col-xs-4">
<img class="pull-right" src="img/footer_logo.png">
</div>
<div class="col-xs-8">
<p>Powered by Booktype, the open content management system for professional writers. <br>
© 2013 Sourcefabric o.p.s. | [email protected]</p>
</div>
</div>
</footer>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript" src="js/button.js"></script>
<script type="text/javascript" src="js/dropdown.js"></script>
<script type="text/javascript" src="js/tooltip.js"></script>
<script type="text/javascript" src="js/modal.js"></script>
<script type="text/javascript" src="js/tab.js"></script>
<script type="text/javascript" src="js/transition.js"></script>
<script type="text/javascript" src="js/jquery.ui.touch-punch.js"></script>
<script type="text/javascript" src="js/jquery.mjs.nestedSortable.js"></script>
<script type="text/javascript" src="js/booki-init.js"></script>
<script type="text/javascript" src="js/jquery.steps.min.js"></script>
<script type="text/javascript">
// Backo book lists and thumb
$( document ).ready(function() {
$('.showList').click(function(){
$('#books-prew, #books-prew-2').attr('class','book-list');
});
$('.showGrid').click(function(){
$('#books-prew, #books-prew-2').attr('class','book-thumb');
});
});
</script>
<script>
$("#wizard-1").steps({
headerTag: "h3",
bodyTag: "section",
transitionEffect: "slideLeft",
autoFocus: true
});
</script>
</body>
</html>