gabriel / musehub public
mist_explore.html html
56 lines 2.7 KB
Raw
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 26 days ago
1 {% extends "musehub/base.html" %}
2 {% from "musehub/macros/pagination.html" import cursor_pagination %}
3
4 {% block title %}Explore Mists — MuseHub{% endblock %}
5
6 {% block content %}
7 <div class="ms-page">
8
9 {# ── Header ─────────────────────────────────────────────────────────────── #}
10 <div class="ms-explore-header">
11 <div class="ms-explore-header-inner">
12 <h1 class="ms-explore-title">Explore Mists</h1>
13 <p class="ms-explore-sub">Content-addressed artifacts published by humans and agents. Domain-agnostic. Forkable. Embeddable.</p>
14 </div>
15 </div>
16
17 {# ── Filter bar ──────────────────────────────────────────────────────────── #}
18 <form class="ms-filter-bar" method="get" action="/mists/explore">
19 <div class="ms-filter-types">
20 <a href="/mists/explore"
21 class="ms-type-filter{% if not active_type %} ms-type-filter--active{% endif %}">All</a>
22 {% for chip in type_chips %}
23 <a href="/mists/explore?artifact_type={{ chip.key }}"
24 class="ms-type-filter{% if active_type == chip.key %} ms-type-filter--active{% endif %}"
25 style="{% if active_type == chip.key %}color:{{ chip.color }};border-color:{{ chip.color }};background:color-mix(in srgb,{{ chip.color }} 18%,transparent){% endif %}">
26 {{ chip.label }}
27 </a>
28 {% endfor %}
29 </div>
30 <div class="ms-filter-right">
31 <span class="ms-count-label">{{ total }} mist{{ 's' if total != 1 }}</span>
32 </div>
33 </form>
34
35 {# ── List ────────────────────────────────────────────────────────────────── #}
36 <div class="ms-card">
37 <div id="mist-rows"
38 hx-get="/mists/explore{% if active_type %}?artifact_type={{ active_type }}{% endif %}"
39 hx-trigger="load"
40 hx-swap="innerHTML">
41 {% include "musehub/fragments/mist_rows.html" %}
42 </div>
43 </div>
44
45 {# ── Pagination ──────────────────────────────────────────────────────────── #}
46 {% if next_cursor %}
47 <div class="ms-pagination">
48 {{ cursor_pagination(next_cursor, url="/mists/explore",
49 extra_params={"artifact_type": active_type} if active_type else {}) }}
50 </div>
51 {% endif %}
52
53 </div>
54 {% endblock %}
55
56 {% block page_json %}{"page": "mist-list"}{% endblock %}
File History 2 commits
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 26 days ago
sha256:417c976b0b9320bb758749eb014d9087354fa3186e2abd2fc949e74a670237e7 merge(F7b B1): carry overseer provenance onto dev; resolve … Human minor 26 days ago