mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-15 20:40:39 +01:00
Change sens pour plus de clarter et de logique
This commit is contained in:
@@ -4,23 +4,6 @@
|
|||||||
<h1>Configuration de Mamie</h1>
|
<h1>Configuration de Mamie</h1>
|
||||||
<p>Configurez les tokens Discord, les notifications Humble Bundle et l'API ProtonDB pour la commande !protondb.</p>
|
<p>Configurez les tokens Discord, les notifications Humble Bundle et l'API ProtonDB pour la commande !protondb.</p>
|
||||||
|
|
||||||
<h2>Humble Bundle</h2>
|
|
||||||
<form action="{{ url_for('updateConfiguration') }}" method="POST">
|
|
||||||
<label for="humble_bundle_enable">Activer</label>
|
|
||||||
<input type="checkbox" name="humble_bundle_enable" {% if configuration.getValue('humble_bundle_enable') %}
|
|
||||||
checked="checked" {% endif %}>
|
|
||||||
<label>Activer les notifications Humble bundle</label>
|
|
||||||
<label for="humble_bundle_channel">Canal de notification des packs Humble Bundle</label>
|
|
||||||
<select name="humble_bundle_channel">
|
|
||||||
{% for channel in channels %}
|
|
||||||
<option value="{{channel.id}}" {% if configuration.getIntValue('humble_bundle_channel')==channel.id %}
|
|
||||||
selected="selected" {% endif %}>
|
|
||||||
{{channel.name}}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
<input type="Submit" value="Définir">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<h2>Api Discord</h2>
|
<h2>Api Discord</h2>
|
||||||
<form action="{{ url_for('updateConfiguration') }}" method="POST">
|
<form action="{{ url_for('updateConfiguration') }}" method="POST">
|
||||||
<label for="discord_token">Api Discord (cachée)</label>
|
<label for="discord_token">Api Discord (cachée)</label>
|
||||||
@@ -48,4 +31,21 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>Nécessite un redémarrage</p>
|
<p>Nécessite un redémarrage</p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<h2>Humble Bundle</h2>
|
||||||
|
<form action="{{ url_for('updateConfiguration') }}" method="POST">
|
||||||
|
<label for="humble_bundle_enable">Activer</label>
|
||||||
|
<input type="checkbox" name="humble_bundle_enable" {% if configuration.getValue('humble_bundle_enable') %}
|
||||||
|
checked="checked" {% endif %}>
|
||||||
|
<label>Activer les notifications Humble bundle</label>
|
||||||
|
<label for="humble_bundle_channel">Canal de notification des packs Humble Bundle</label>
|
||||||
|
<select name="humble_bundle_channel">
|
||||||
|
{% for channel in channels %}
|
||||||
|
<option value="{{channel.id}}" {% if configuration.getIntValue('humble_bundle_channel')==channel.id %}
|
||||||
|
selected="selected" {% endif %}>
|
||||||
|
{{channel.name}}</option>
|
||||||
|
{% endfor %}
|
||||||
|
</select>
|
||||||
|
<input type="Submit" value="Définir">
|
||||||
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user