Changeset 7881080 in Klonkt for src/views/pages
- Timestamp:
- 06/18/2026 03:28:34 AM (3 months ago)
- Branches:
- main
- Children:
- 8398935
- Parents:
- 98ecf51
- File:
-
- 1 edited
-
src/views/pages/admin-sites.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-sites.ejs
r98ecf51 r7881080 36 36 <div class="ax-site-name"> 37 37 <a href="/sites/<%= s.slug %>"><%= s.title %></a> 38 <% if (s.is_primary) { %> 39 <span class="ax-pill ax-pill-primary" title="Hoofd-/labelsite van deze installatie">★ primair</span> 40 <% } %> 38 41 <% if (s.is_public) { %> 39 42 <span class="ax-pill ax-pill-ok" title="Publiek zichtbaar">✓ public</span> … … 67 70 68 71 <div class="ax-site-controls"> 72 <% if (!s.is_primary && (typeof canMutate === 'undefined' || canMutate)) { %> 73 <form method="post" action="/admin/sites/<%= s.slug %>/make-primary" style="margin:0;display:inline" 74 onsubmit="return confirm('Deze site instellen als de primaire/hoofd-site?')"> 75 <button type="submit" class="ax-icon-btn" aria-label="Maak primair" title="Maak primaire/hoofd-site">★</button> 76 </form> 77 <% } %> 69 78 <a href="/admin/sites/<%= s.slug %>/edit" class="ax-icon-btn" aria-label="Bewerken" title="Bewerken">✎</a> 70 79 <form method="post" action="/admin/sites/<%= s.slug %>/delete" class="ax-delete-form" … … 198 207 background: rgba(40,160,90,0.12); 199 208 } 209 .ax-pill-primary { 210 color: var(--accent); 211 background: color-mix(in srgb, var(--accent) 14%, transparent); 212 font-weight: 600; 213 } 200 214 201 215 /* ─── Stats (2 mini-columns for sites) ────────────────────────── */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)