-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathconfig.html
More file actions
72 lines (61 loc) · 2.19 KB
/
Copy pathconfig.html
File metadata and controls
72 lines (61 loc) · 2.19 KB
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
{% extends "base.html" %}
{% block main %}
<!-- Banner -->
<!-- Two -->
<section id="two">
<div class="inner" style = "padding: 20px 0 1em 0;">
<h1>Modifier la configuration de la Librairie</h1>
{% for error in errors %}
<p style="color: red">{{ error }}</p>
{% endfor %}
<div style="display:block; clear:both; float:none;">
<div style="width:30%; min-width: 300px; float:left; margin-right:30px;">
<form action="/config" method="post">
<p>Version de la Base de Données: {{ config.version }}</p>
<input type="hidden" id="version" name="version" value="1.0.1">
<p>
<p><label for="">Activer les images de couverture: </label></p>
<select name="coverImages" id="coverImages">
{% if config.coverImages %}
<option value="{{ config.coverImages }}" selected>Oui</option>
{% else %}
<option value="{{ config.coverImages }}" selected>Non</option>
{% endif %}
<option value="True">Oui</option>
<option value="False">Non</option>
</select>
</p>
<p>
<p><label for="">Champ Personnalisé 1
(empty to disable): </label></p>
<input type="text" name="customFieldName1" value="{{ config.customFieldName1 }}">
</p>
<p>
<p><label for="">Champ Personnalisé 2
(empty to disable): </label></p>
<input type="text" name="customFieldName2" value="{{ config.customFieldName2 }}">
</p>
<p>
<p><label for="">Genres (séparés par une virgule): </label></p>
<input type="text" name="genres" value="{{ config.genres }}">
</p>
</div>
<div style= "display:block; clear:both;float:none;">
<input type="submit" value="Appliquer">
</form>
<a style = "border:none;" href = "/"> <button>Retour</button></a>
<div style="margin-top:50px;">
<h4><u>Autres paramètres</u></h4>
<a style = "border:none;" href = "/userManagement"> <button>Gestion des utilisateurs</button></a>
<a style = "border:none;" href = "/backups"> <button>Gestion des backups</button></a>
</div>
<div style="margin-top:50px;">
<a style = "border:none;" href = "/stats"> <button>Statistiques</button></a>
<a style = "border:none;" href = "/manageVkeys"> <button>Fédération</button></a>
</div>
</div>
<hr>
</div>
</div>
</section>
{% endblock %}