Change port, full width lavender tables

This commit is contained in:
Melon 2024-05-16 22:45:54 +01:00
parent 099e877065
commit c0248ad808
Signed by: melon
GPG Key ID: 6C9D970C50D26A25
3 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@
<h1 class="box-title">Manage Client Applications</h1>
<div class="relative overflow-x-auto shadow-md sm:rounded-lg">
<div class="relative overflow-x-auto shadow-md sm:rounded-lg w-full">
<table class="table-default">
<thead>
<tr>

View File

@ -10,7 +10,7 @@
<main class="space-y-4 sm:space-y-6">
<h1 class="box-title">Manage Users</h1>
<div class="relative overflow-x-auto shadow-md sm:rounded-lg">
<div class="relative overflow-x-auto shadow-md sm:rounded-lg w-full">
<table class="table-default">
<thead>
<tr>
@ -53,7 +53,7 @@
<div class="grid grid-cols-1 gap-4">
<form method="GET" action="/manage/users">
<input type="hidden" name="offset" value="{{$.Offset}}"/>
<input type="hidden" name="edit" value="{{.Sub}}"/>
<input type="hidden" name="edit" value="{{.Subject}}"/>
<button type="submit" class="btn-green">Edit</button>
</form>
<form method="POST" action="/reset-password">

View File

@ -88,7 +88,7 @@ func main() {
Logger.Warn("Watcher stopped", "err", err)
}()
_ = http.ListenAndServe(":8080", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
_ = http.ListenAndServe(":7070", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if r.URL.Path == "/" {
TemplateMu.RLock()
defer TemplateMu.RUnlock()