mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
- 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
34 lines
1.0 KiB
Plaintext
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 %}
|