This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tvdb-views.html
65 lines (61 loc) · 1.93 KB
/
tvdb-views.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
<body>
{{> _tvdbConfigureDialog}}
</body>
<template name="_tvdbConfigureDialog">
{{#if visible}}
<div id="tvdb-configure-dialog" class="accounts-dialog accounts-centered-dialog">
<p>
To be able to use the thetvdb.com-API, you need to go to thetvdb.com and register
for an API key.
</p>
<p>
Visit <a href="http://thetvdb.com/?tab=apiregister" target="_blank">http://thetvdb.com/?tab=apiregister</a>
</p>
<p>
Now, fill in these details.
</p>
<p>
<table>
<colgroup>
<col span="1" class="configuration_labels">
<col span="1" class="configuration_inputs">
</colgroup>
<tr>
<td>
<label for="configure-login-service-dialog-apikey">API key</label>
</td>
<td>
<input id="configure-login-service-dialog-apikey" type="text" />
</td>
</tr>
</table>
</p>
<div class="new-section">
<div class="login-button configure-login-service-dismiss-button">
I'll do this later
</div>
<a class="accounts-close configure-login-service-dismiss-button">×</a>
{{#isolate}}
<div class="login-button login-button-configure {{#if saveDisabled}}login-button-disabled{{/if}}"
id="configure-login-service-dialog-save-configuration">
Save Configuration
</div>
{{/isolate}}
</div>
</div>
{{/if}}
</template>
<template name="_tvdbStatus">
{{#if configured}}
TVDB Status:
{{#if hasWorkingQueue}}
working...
{{else}}
idle
{{/if}}
{{else}}
<div class="tvdbstatus-button">
<div class="configure-button">Configure TVDB API</div>
</div>
{{/if}}
</template>