diff --git a/apps/admin/src/styles.css b/apps/admin/src/styles.css index f1c9c28..9eca052 100644 --- a/apps/admin/src/styles.css +++ b/apps/admin/src/styles.css @@ -161,6 +161,14 @@ textarea.input { resize: none; min-height: 84px; } .field { display: flex; flex-direction: column; gap: 6px; } .field label { font-size: 12.5px; font-weight: 700; color: var(--muted); } .divider { height: 1px; background: var(--line); margin: 4px 0; } +.section { + border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; + background: var(--surface-2); display: flex; flex-direction: column; gap: 12px; +} +.section-head { display: flex; align-items: center; gap: 8px; } +.section-head .ico { font-size: 16px; } +.section-head h4 { font-size: 13px; font-weight: 800; letter-spacing: .2px; color: var(--text); margin: 0; } +.section-head .pill { margin-left: auto; } /* ---------- Stat cards ---------- */ .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; } diff --git a/apps/admin/src/views/Events.tsx b/apps/admin/src/views/Events.tsx index 2f90836..65fbc23 100644 --- a/apps/admin/src/views/Events.tsx +++ b/apps/admin/src/views/Events.tsx @@ -341,43 +341,61 @@ function EventModal({ setLocation(e.target.value)} placeholder="—" /> -
- - setEndpoint(e.target.value)} - placeholder="https://sessionize.com/api/v2//view/All" - /> -
- The Sessionize API URL (e.g. …/api/v2/<id>/view/All). Used by the - “Run sync” button. You can also import the .xlsx export in the Interfaces menu. -
-
-
-
- - setPretixOrganizer(e.target.value)} - placeholder="e.g. appecommday" - /> +
+
+ 📅 +

Sessionize

+ {endpoint.trim() ? configured : not set}
- + setPretixEventSlug(e.target.value)} - placeholder="e.g. tickets" + value={endpoint} + onChange={(e) => setEndpoint(e.target.value)} + placeholder="https://sessionize.com/api/v2//view/All" /> +
+ The Sessionize API URL (e.g. …/api/v2/<id>/view/All). Used by the + “Run sync” button. You can also import the .xlsx export in the Interfaces menu. +
-
- The sidecar syncs paid Pretix tickets for this event every minute. Set the organizer + - event slug (e.g. appecommday / tickets). The API key is - configured on the sidecar. +
+
+ 🎟️ +

Pretix

+ {pretixOrganizer.trim() && pretixEventSlug.trim() ? ( + configured + ) : ( + not set + )} +
+
+
+ + setPretixOrganizer(e.target.value)} + placeholder="e.g. appecommday" + /> +
+
+ + setPretixEventSlug(e.target.value)} + placeholder="e.g. tickets" + /> +
+
+
+ The sidecar syncs paid Pretix tickets for this event every minute. Set the organizer + + event slug (e.g. appecommday / tickets). The API key is + configured on the sidecar. +