new DRAMA & BILLBOARD apps to start provenance system; new billboard.html & _scroll.html templates; admin area now displays game event log; new CLAUDE.md file to free up Claude Code's memory.md space; minor additions to apps.epic.views to ensure new systems just described adhere to existing game views
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
18
src/templates/apps/billboard/billboard.html
Normal file
18
src/templates/apps/billboard/billboard.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends "core/base.html" %}
|
||||
|
||||
{% block title_text %}Billboard{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content dashboard-page">
|
||||
<h2>My Games</h2>
|
||||
<ul class="game-list">
|
||||
{% for room in my_rooms %}
|
||||
<li>
|
||||
<a href="{% url 'billboard:scroll' room.id %}">{{ room.name }}</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li><small>No games yet.</small></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
10
src/templates/apps/billboard/room_scroll.html
Normal file
10
src/templates/apps/billboard/room_scroll.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% extends "core/base.html" %}
|
||||
|
||||
{% block title_text %}{{ room.name }} — Drama Log{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content dashboard-page">
|
||||
<h2>{{ room.name }}</h2>
|
||||
{% include "apps/drama/_scroll.html" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
16
src/templates/apps/drama/_scroll.html
Normal file
16
src/templates/apps/drama/_scroll.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% load lyric_extras %}
|
||||
<section id="id_drama_scroll" class="drama-scroll">
|
||||
{% for event in events %}
|
||||
<div class="drama-event {% if event.actor == viewer %}mine{% else %}theirs{% endif %}">
|
||||
<span class="event-body">
|
||||
<strong>{{ event.actor|display_name }}</strong>
|
||||
{{ event.to_prose }}<br>
|
||||
<time class="event-time" datetime="{{ event.timestamp|date:'c' }}">
|
||||
{{ event.timestamp|date:"N j, g:i a" }}
|
||||
</time>
|
||||
</span>
|
||||
</div>
|
||||
{% empty %}
|
||||
<p class="event-empty"><small>No events yet.</small></p>
|
||||
{% endfor %}
|
||||
</section>
|
||||
@@ -6,6 +6,9 @@
|
||||
<a href="/gameboard/" class="{% if '/gameboard/' in request.path %}active{% endif %}">
|
||||
<i class="fa-solid fa-chess-board"></i>
|
||||
</a>
|
||||
<a href="/billboard/" class="{% if '/billboard/' in request.path %}active{% endif %}">
|
||||
<i class="fa-solid fa-scroll"></i>
|
||||
</a>
|
||||
</nav>
|
||||
<div class="footer-container">
|
||||
<small>©{% now "Y" %} Dis Co.</small>
|
||||
|
||||
Reference in New Issue
Block a user