mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-22 17:26:13 +08:00
b8e63c650f
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
22 lines
747 B
HTML
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 %}
|