- Timestamp:
- 06/14/2026 03:21:25 PM (3 months ago)
- Branches:
- main
- Children:
- 4c5169f
- Parents:
- 743bb81
- Location:
- src/views/pages
- Files:
-
- 2 edited
-
admin-settings.ejs (modified) (2 diffs)
-
hub-home.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-settings.ejs
r743bb81 r6e0249f 30 30 </form> 31 31 </section> 32 33 <% if (tenancy === 'hub') { %> 34 <section class="set-card" style="margin-top:1rem"> 35 <h2>Hub-hoofdpagina</h2> 36 <p class="set-help"> 37 De openbare hub-pagina (<code>/</code>) is generiek — van geen enkele gebruiker. 38 Hier stel je de naam en intro in. Jouw eigen PrutFolio blijft los bestaan onder <code>/user/</code>. 39 </p> 40 <form method="post" action="/admin/settings" class="set-form"> 41 <label class="set-field"> 42 <span>Naam</span> 43 <input type="text" name="hub_title" maxlength="80" value="<%= hubTitle %>" placeholder="bijv. Studio Noord"> 44 </label> 45 <label class="set-field"> 46 <span>Tagline</span> 47 <input type="text" name="hub_tagline" maxlength="120" value="<%= hubTagline %>" placeholder="bijv. Onafhankelijk muzieklabel"> 48 </label> 49 <label class="set-field"> 50 <span>Intro</span> 51 <textarea name="hub_intro" maxlength="400" rows="3" placeholder="Korte introtekst onder de titel."><%= hubIntro %></textarea> 52 </label> 53 <button type="submit" class="btn btn-primary">Opslaan</button> 54 </form> 55 </section> 56 <% } %> 32 57 </div> 33 58 … … 48 73 .set-opt code { background: var(--paper-2); padding: 0.05rem 0.35rem; border-radius: 3px; font-size: 0.85em; } 49 74 .set-form .btn { align-self: flex-start; } 75 .set-field { display: flex; flex-direction: column; gap: 0.3rem; } 76 .set-field > span { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft, var(--ink-muted)); } 77 .set-field input, .set-field textarea { 78 width: 100%; box-sizing: border-box; padding: 0.55rem 0.7rem; 79 border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); 80 font: inherit; font-size: 0.95rem; 81 } 82 .set-field textarea { resize: vertical; } 83 .set-field input:focus, .set-field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); } 50 84 .alert { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; } 51 85 .alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; } -
src/views/pages/hub-home.ejs
r743bb81 r6e0249f 4 4 <header class="hub-hero"> 5 5 <div class="hub-hero-inner container"> 6 <h1 class="hub-hero-title"><%= company ? company.title : 'Overzicht'%></h1>7 <% if ( company && company.tagline) { %>8 <p class="hub-hero-tag"><%= company.tagline %></p>6 <h1 class="hub-hero-title"><%= hub.title %></h1> 7 <% if (hub.tagline) { %> 8 <p class="hub-hero-tag"><%= hub.tagline %></p> 9 9 <% } %> 10 <% if ( company && (company.profile_bio || company.description)) { %>11 <p class="hub-hero-desc"><%= company.profile_bio || company.description%></p>10 <% if (hub.intro) { %> 11 <p class="hub-hero-desc"><%= hub.intro %></p> 12 12 <% } %> 13 13 </div>
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)