mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
cd288d4fa4
- Registered users can customise the colour of their Don and it will appear for other players - Bug fixes: - Add lyrics checkbox to admin page - 2P shows above "creative" or "with lyrics" labels - Prevent accidental alt and menu keyboard presses from triggering browser menus - Fixed mouse hitboxes on difficulty selection - Clean cached sounds and lyrics when another song is loading - Fixed debug jumping to the top-left of the screen when hidden - Fixed server volume not being applied to songs
22 lines
725 B
HTML
22 lines
725 B
HTML
{% extends 'admin.html' %}
|
|
{% block content %}
|
|
{% if admin.user_level >= 100 %}
|
|
<a href="/admin/songs/new" class="side-button">New song</a>
|
|
{% endif %}
|
|
<h1>Songs</h1>
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="message">{{ message }}</div>
|
|
{% endfor %}
|
|
{% for song in songs %}
|
|
<a href="/admin/songs/{{ song.id }}" class="song-link">
|
|
<div class="song">
|
|
{% if song.title_lang.en %}
|
|
<p><span class="song-id">{{ song.id }}.</span> {{ song.title_lang.en }} <small>({{ song.title }})</small></p>
|
|
{% else %}
|
|
<p><span class="song-id">{{ song.id }}.</span> {{ song.title }}</p>
|
|
{% endif %}
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
{% endblock %}
|