roundabout,
created on Friday, 3 January 2025, 17:54:41 (1735926881),
received on Saturday, 4 January 2025, 14:08:16 (1735999696)
Author identity: vlad <vlad.muntoiu@gmail.com>
cc21e313017f45d03e708dc4becf170b3620fcb1
static/style.css
@@ -634,6 +634,10 @@ dd {
#picture-view { flex-direction: column; } #picture-view > x-frame { flex: 1 1 auto; margin: 0; }#picture-actions { --width: 768px; position: static;
@@ -737,3 +741,20 @@ nav .button-flat {
nav .button-flat .ripple-pad { background: #ffffff99; } .warning { background: var(--color-alert); color: var(--color-alert-text); padding: 1rem; margin: 1rem 0; border-radius: var(--radius-button); --color-link-text: #000000; --color-link-hover-text: #000000; --color-link-visited-text: #000000; --color-link-visited-hover-text: #000000; --color-link-active-text: #000000; } .warning h2 { font: var(--h3-font); }
templates/picture.html
@@ -70,15 +70,17 @@
<p>by <a href="/profile/{{ resource.author.username }}">{{ resource.author.formatted_name }}</a></p> <p>{{ resource.description }}</p> {% if resource.replaced_by %} <h2>Obsolete</h2><p>This picture has been replaced by <a href="/picture/{{ resource.replaced_by.id }}">{{ resource.replaced_by.title }}</a>.</p>{% if have_permission %}<form method="POST" action="/picture/{{ resource.id }}/remove-replacement"><button class="button-flat" type="submit">Remove replacement</button></form>{% endif %}<div class="warning"> <h2>Obsolete</h2> <p> This picture has been replaced by <a href="/picture/{{ resource.replaced_by.id }}">{{ resource.replaced_by.title }}</a>. </p> {% if have_permission %} <form method="POST" action="/picture/{{ resource.id }}/remove-replacement"> <button class="button-flat button-neutral" type="submit">Remove replacement</button> </form> {% endif %} </div>{% endif %} <x-vbox> <div id="annotation-zone">