added type='button' to both guard portal btns so firefox won't normalize to type='submit'; fixed several FTs for new click-guard functionality on Role card select & room gear menu DEL & BYE btns; several restorations to landscape breakpoint incl. logged-ion display_name, copyright info; provided title to room_scroll.html; a slurry of other minor fixes
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-03-23 19:31:57 -04:00
parent eecb6c2be6
commit 5607f70852
15 changed files with 365 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
{% extends "core/base.html" %}
{% block title_text %}{{ room.name }} — Drama Log{% endblock %}
{% block title_text %}{{ room.name }} — Billscroll{% endblock %}
{% block header_text %}<span>Bill</span>scroll{% endblock header_text %}
{% block content %}
<div class="billboard-page">

View File

@@ -1,27 +1,4 @@
{% include "apps/gameboard/_partials/_applet_menu.html" %}
<div id="id_game_applets_container">
<div id="id_game_applet_menu" style="display:none;">
<form
hx-post="{% url "toggle_game_applets" %}"
hx-target="#id_game_applets_container"
hx-swap="outerHTML"
>
{% csrf_token %}
{% for entry in applets %}
<label>
<input
type="checkbox"
name="applets"
value="{{ entry.applet.slug }}"
{% if entry.visible %}checked{% endif %}
>
{{ entry.applet.name }}
</label>
{% endfor %}
<div class="menu-btns">
<button type="submit" class="btn btn-confirm">OK</button>
<button type="button" id="id_game_applet_menu_cancel" class="btn btn-cancel applet-menu-cancel">NVM</button>
</div>
</form>
</div>
{% include "apps/applets/_partials/_applets.html" %}
</div>

View File

@@ -3,12 +3,12 @@
{% if request.user == room.owner %}
<form method="POST" action="{% url 'epic:delete_room' room.id %}">
{% csrf_token %}
<button type="submit" class="btn btn-danger">DEL</button>
<button type="submit" class="btn btn-danger" data-confirm="Delete this room?">DEL</button>
</form>
{% else %}
<form method="POST" action="{% url 'epic:abandon_room' room.id %}">
{% csrf_token %}
<button type="submit" class="btn btn-abandon">BYE</button>
<button type="submit" class="btn btn-abandon" data-confirm="Leave this room?">BYE</button>
</form>
{% endif %}
</div>