taiko-web/templates/admin_users.html
LoveEevee b8e63c650f ImportSongs: Implement Google Drive beta testing
Instances that wish to enable Google Drive support should first enable it to only a small subset of users (100 maximum) to allow the OAuth screen to be verified by Google without hitting the user limit. Minimum level in the config can be set to enable beta testing of this feature and then disabled by setting it to None.

- Add user level assignment screen to the administration panel
- Add privacy policy and links to it in various places
- Add switch accounts link near the Google Drive picker
2020-12-21 16:02:56 +03:00

22 lines
747 B
HTML

{% extends 'admin.html' %}
{% block content %}
<h1>Users</h1>
{% for message in get_flashed_messages() %}
<div class="message">{{ message }}</div>
{% endfor %}
<div class="song-form">
<form method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="form-field">
<label for="username">Username</label>
<input type="text" id="username" name="username" value="{{username}}" required>
<label for="level">Level</label>
<input type="number" id="level" name="level" min="0" max="{{max_level}}" value="{{level}}" required>
</div>
<button type="submit" class="save-song">Save</button>
</form>
</div>
{% endblock %}