Skip to content

Commit

Permalink
Admin UX
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Sep 7, 2024
1 parent d98e025 commit d18b57d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _embed/templates/admin-navigation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
{{ $navigation := .Navigation}}
{{- if not $navigation.IsEmpty -}}

<div class="margin-bottom text-sm">
<button hx-get="/admin/navigation/add" class="primary">{{icon "add"}}&nbsp;Add a Top-Level Stream</button>
<div class="margin-vertical">
<span class="link" hx-get="/admin/navigation/add">{{icon "add"}}&nbsp;Add an Item</span>
</div>

<form class="sortable margin-bottom" hx-post="/admin/navigation/sort" hx-swap="none" hx-push-url="false" hx-trigger="end">
Expand Down
2 changes: 1 addition & 1 deletion _embed/templates/admin-rules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<div class="table">
<div role="button" hx-get="/admin/rules/add" class="link">
{{icon "add"}} &nbsp;<span>Add a Server-wide Block</span>
{{icon "add"}} &nbsp;<span>Add a Rule</span>
</div>
{{.View "list"}}
</div>
Expand Down

0 comments on commit d18b57d

Please sign in to comment.