-
Notifications
You must be signed in to change notification settings - Fork 28
/
index.html
105 lines (95 loc) · 2.74 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
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<base target="_top" />
<link href="dist/main.css" rel="stylesheet" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css"
/>
<link
media="none"
onload="if(media!='all')media='all'"
href="https://fonts.googleapis.com/css?family=Montserrat"
rel="stylesheet"
/>
<link
media="none"
onload="if(media!='all')media='all'"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
</head>
<body class="grey darken-4">
<div id="drivestream">
<nav class="grey darken-4">
<div class="nav-wrapper">
<a href="#!" class="brand-logo center">DriveStream</a>
<ul class="left hide-on-med-and-down">
<li class="active"><a href="#!">Libraries</a></li>
<li><a href="#newLibrary" data-action="newLibrary">+</a></li>
<li>
<div class="input-field" id="nav-search">
<i class="material-icons prefix">search</i>
<input
type="text"
placeholder="search"
id="autocomplete-input"
class="autocomplete white-text"
/>
</div>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="loading"></div>
<div class="libraries"></div>
<div class="mediaItems"></div>
</div>
<div id="play" class="modal"></div>
<div id="newLibrary" class="modal">
<div class="modal-content">
<h4>Choose Library Folders</h4>
<ul class="folders"></ul>
<form id="newLibraryForm">
<div class="input-field inline">
<input id="newLibraryRoot" type="text" required />
<label for="newLibraryRoot">Folder ID</label>
</div>
<div class="input-field inline">
<input id="newLibraryName" type="text" required />
<label for="newLibraryName">Library Name</label>
</div>
<div class="input-field inline">
<select id="newLibraryType">
<option value="Movies" selected>Movies</option>
<option value="TV">TV</option>
</select>
<label for="newLibraryType">Library Type</label>
</div>
</form>
</div>
<div class="modal-footer">
<a
class="modal-action modal-close waves-effect waves-green btn-flat"
id="createLibrary"
>Create
</a>
</div>
</div>
</div>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"
type="text/javascript"
></script>
<script src="dist/bundle.js" type="text/javascript"></script>
<script
async
defer
src="https://apis.google.com/js/api.js"
onload="this.onload=function(){};gapi.load('client:auth2', init)"
onreadystatechange="if (this.readyState === 'complete') this.onload()"
></script>
</body>
</html>