Files
indiekit-endpoint-microsub/views/deck-settings.njk
Ricardo 4a87773d7f chore: phase 2 convention alignment — ms- prefix, onerror removal, visually-hidden fix (v1.0.46)
- Namespace all plugin CSS classes with ms- prefix (20 BEM blocks)
- Update all 19 templates to match prefixed class names
- Replace visually-hidden with -!-visually-hidden (core convention)
- Remove inline onerror handlers from avatar/photo images
- Remove dead source-type SVG icons (Fediverse/Bluesky/Web)

Confab-Link: http://localhost:8080/sessions/bb4a6ec4-b711-48cd-b3d7-942ec2a9851d
2026-03-13 12:32:08 +01:00

34 lines
1.0 KiB
Plaintext

{% extends "layouts/reader.njk" %}
{% block reader %}
<div class="ms-settings">
<header>
<a href="{{ baseUrl }}/deck" class="back-link">
{{ __("microsub.views.deck") }}
</a>
<h1>Deck columns</h1>
</header>
<form action="{{ baseUrl }}/deck/settings" method="POST">
<p>Select which channels appear as columns in your deck, and their order.</p>
<div class="ms-deck-settings__channels">
{% for channel in channels %}
{% if channel.uid !== "notifications" %}
<label class="ms-deck-settings__channel">
<input type="checkbox" name="columns" value="{{ channel._id }}"
{% if channel._id.toString() in selectedIds %}checked{% endif %}>
<span class="ms-timeline-view__filter-color" style="background: {{ channel.color }}"></span>
{{ channel.name }}
</label>
{% endif %}
{% endfor %}
</div>
<button type="submit" class="button button--primary">
Save deck configuration
</button>
</form>
</div>
{% endblock %}