mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-08-03 13:56:37 +02:00
let's go ca marche je pense
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
</table>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<script>data = JSON.parse('{{data|tojson}}'); </script>
|
||||
{%if not current_user.is_authenticated %}
|
||||
<button class="unselected" onclick="location.href = '/login';">login</button>
|
||||
{% else %}
|
||||
@ -49,7 +49,7 @@
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<select name="select" onchange="change_discord(this.value)">
|
||||
<select name="select" onchange="change_discord(this.value, data)">
|
||||
<option selected id="new" value="{{ len }}">Create new Discord config</option>
|
||||
{% for i in data %}
|
||||
<option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
|
||||
|
Reference in New Issue
Block a user