forked from roboticsound/Pulsarr
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
160 lines (146 loc) · 7.19 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>Pulsarr</title>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="lib/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="lib/css/bootstrap-toggle.min.css">
<link rel="stylesheet" type="text/css" href="lib/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="lib/css/jquery.scrollbar.css" />
<link rel="stylesheet" type="text/css" href="theme.css">
<!-- jQuery -->
<script type="text/javascript" src="lib/js/jquery-3.2.0.min.js"></script>
<!-- JavaScript -->
<script type="text/javascript" src="lib/js/bootstrap.min.js"></script>
<script type="text/javascript" src="lib/js/bootstrap-toggle.min.js"></script>
<script type="text/javascript" src="lib/js/spin.min.js"></script>
<script type="text/javascript" src="lib/js/jquery.spin.js"></script>
<script type="text/javascript" src="lib/js/jquery.scrollbar.js"></script>
</head>
<body>
<div id="popup" class="container">
<div class="row internal-container">
<div class="col-xs-10">
<h2 style="text-align: bottom" id="serverName"></h2>
</div>
<div class="col-xs-2">
<a id="serverHome" target="_blank">
<img id="logo" style="border: 0;" class="img-responsive">
</a>
</div>
</div>
<div id="page">
<div id="spin"></div>
<div class="row internal-container">
<div class="col-xs-4" id="imagediv">
<img id="image" class="img-responsive">
</div>
<div class="col-xs-8">
<div class="row">
<div class="col-xs-12">
<h2 id="title"><span id="year"></span></h2>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p id="description"><span id="dotdotdot"></span></p>
</div>
</div>
</div>
</div>
</div>
<div id="options" class="options">
<div id="optMonitored" class="row internal-container hidden">
<div class="col-xs-4 vcenter">
<label class="textpadding">Monitored</label>
</div>
<div class="col-xs-8 vcenter">
<input type="checkbox" id="monitored" checked data-toggle="toggle" data-offstyle="danger" value="true">
</div>
</div>
<div id="optSeasonFolder" class="row internal-container hidden">
<div class="col-xs-4 vcenter">
<label class="textpadding">Season Folder</label>
</div>
<div class="col-xs-8 vcenter">
<input type="checkbox" id="seasonFolder" checked data-toggle="toggle" data-offstyle="danger" value="true">
</div>
</div>
<div id="optMinAvail" class="row internal-container hidden">
<div class="col-xs-4 vcenter">
<label class="textpadding">Min Avail</label>
</div>
<div class="col-xs-8 vcenter">
<select id="lstMinAvail" class="form-control x-profile">
<option value="announced">Announced</option>
<option value="inCinemas">In Cinemas</option>
<option value="released">Physical/Web</option>
<option value="preDB">Pre DB</option>
</select>
</div>
</div>
<div id="optSeriesType" class="row internal-container hidden">
<div class="col-xs-4 vcenter">
<label class="textpadding">Series Type</label>
</div>
<div class="col-xs-8 vcenter">
<select id="lstSeriesType" class="form-control x-profile">
<option value="standard">Standard</option>
<option value="daily">Daily</option>
<option value="anime">Anime</option>
</select>
</div>
</div>
<div id="optProfile" class="row internal-container hidden">
<div class="col-xs-4 vcenter">
<label class="textpadding">Profile</label>
</div>
<div class="col-xs-8 vcenter">
<select id="lstProfile" class="form-control x-profile"></select>
</div>
</div>
<div id="optFolderPath" class="row internal-container hidden">
<div class="col-xs-4 vcenter">
<label class="textpadding">Folder</label>
</div>
<div class="col-xs-8 vcenter">
<select id="lstFolderPath" class="form-control x-profile"></select>
</div>
</div>
</div>
<div class="row internal-container ctlRow">
<div id="optSmConfig" class="col-md-6 col-xs-4 text-left hidden">
<button id="btmSmConfig" type="button" class="btn button" title="Configuration">
<i class="fa fa-wrench" aria-hidden="true"></i>
</button>
</div>
<div id="optLgConfig" class="col-md-12 text-center hidden">
<button id="btmLgConfig" type="button" class="btn button" title="Configuration">
<i class="fa fa-wrench" aria-hidden="true"></i>
<span id="lblConfig"> Configure Pulsarr</span>
</button>
</div>
<div id="btnBar" class="form-group col-xs-8 text-right hidden">
<button id="btnExists" class="btn button hidden" title="View">
Already Exists
</button>
<div class="btn-group">
<button id="btnAdd" class="btn button" title="Add">
<i class="fa fa-plus" aria-hidden="true"></i>
<span id="lblAdd"></span>
</button>
<button id="btnAddSearch" class="btn button" title="Add and Search for movie">
<i class="fa fa-search"></i>
</button>
</div>
</div>
</div>
<div id="serverResponse" class="row internal-container hidden text-center">
<div class="col-xs-12 text-center">
<label></label>
</div>
</div>
</div>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>