Working on security defaults and layout of menus.
This commit is contained in:
@@ -70,6 +70,7 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
class:hidden={hide}>
|
||||
<span
|
||||
class="ae_menu__navigation_options flex flex-row flex-wrap items-center justify-around gap-0.5">
|
||||
{#if $ae_loc.trusted_access && $ae_loc.edit_mode}
|
||||
<a
|
||||
href="/core"
|
||||
class="btn btn-sm ae_btn_warning mx-1"
|
||||
@@ -77,7 +78,9 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
<Settings size="1em" aria-hidden="true" />
|
||||
Æ Core
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{#if $ae_loc.public_access && $ae_loc.edit_mode}
|
||||
<a
|
||||
href="/events/{event_id}/reports"
|
||||
class="btn btn-sm ae_btn_info mx-1"
|
||||
@@ -85,6 +88,8 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
<TrendingUp size="1em" aria-hidden="true" />
|
||||
Pres Mgmt Reports
|
||||
</a>
|
||||
{/if}
|
||||
{#if $ae_loc.administrator_access || ($ae_loc.trusted_access && $ae_loc.edit_mode)}
|
||||
<a
|
||||
href="/events/{event_id}/locations"
|
||||
class="btn btn-sm ae_btn_info mx-1"
|
||||
@@ -92,6 +97,7 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
<MapPin size="1em" aria-hidden="true" />
|
||||
Locations
|
||||
</a>
|
||||
{/if}
|
||||
<a
|
||||
href="/events/{event_id}/settings"
|
||||
class="btn btn-sm ae_btn_warning mx-1"
|
||||
@@ -102,7 +108,7 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="ae_menu__navigation_options flex flex-row flex-wrap items-center justify-around gap-0.5">
|
||||
class="ae_menu__navigation_options flex flex-row flex-wrap items-center justify-around gap-0.5 grow">
|
||||
<a
|
||||
href="/events/{event_id}/pres_mgmt"
|
||||
class="btn btn-sm ae_btn_info mx-1"
|
||||
@@ -117,7 +123,8 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
<GraduationCap size="1em" aria-hidden="true" />
|
||||
Back to Session
|
||||
</a>
|
||||
<!-- eslint-disable-next-line svelte/valid-compile -->
|
||||
|
||||
{#if $ae_loc.administrator_access || ($ae_loc.trusted_access && $ae_loc.edit_mode)}
|
||||
<a
|
||||
href="/events/{event_id}/launcher{launcher_loc_seg}{launcher_sess_qry}"
|
||||
class="btn btn-sm ae_btn_info mx-1"
|
||||
@@ -125,6 +132,8 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
<Plane size="1em" aria-hidden="true" />
|
||||
Launcher
|
||||
</a>
|
||||
{/if}
|
||||
{#if $ae_loc.trusted_access}
|
||||
<a
|
||||
href="/events/{event_id}/location/{events__location_id}"
|
||||
class="btn btn-sm ae_btn_info mx-1"
|
||||
@@ -132,5 +141,6 @@ let launcher_sess_qry = $derived.by(() => {
|
||||
<MapPin size="1em" aria-hidden="true" />
|
||||
Session Location
|
||||
</a>
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user