Skip to content

Commit

Permalink
Align delete user button to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
svera authored Jan 6, 2025
1 parent 12dd4c5 commit 105fe7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webserver/embedded/views/user/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2>{{t $lang "Users"}}</h2>
{{$user.LastLogin.Format "2006-01-02 15:04"}}
{{end}}
</td>
<td>
<td class="text-end">
{{ if not (and (eq $admins 1) (eq $user.Role 2)) }}
<a href="#" data-bs-toggle="modal" data-bs-target="#delete-modal" data-id="{{$user.Username}}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-trash3-fill" viewBox="0 0 16 16">
Expand Down

0 comments on commit 105fe7f

Please sign in to comment.