mirror of
https://github.com/1f349/themes.git
synced 2024-12-22 00:04:15 +00:00
Change port, full width lavender tables
This commit is contained in:
parent
099e877065
commit
c0248ad808
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<h1 class="box-title">Manage Client Applications</h1>
|
<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">
|
<table class="table-default">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<main class="space-y-4 sm:space-y-6">
|
<main class="space-y-4 sm:space-y-6">
|
||||||
<h1 class="box-title">Manage Users</h1>
|
<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">
|
<table class="table-default">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<div class="grid grid-cols-1 gap-4">
|
<div class="grid grid-cols-1 gap-4">
|
||||||
<form method="GET" action="/manage/users">
|
<form method="GET" action="/manage/users">
|
||||||
<input type="hidden" name="offset" value="{{$.Offset}}"/>
|
<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>
|
<button type="submit" class="btn-green">Edit</button>
|
||||||
</form>
|
</form>
|
||||||
<form method="POST" action="/reset-password">
|
<form method="POST" action="/reset-password">
|
||||||
|
2
main.go
2
main.go
@ -88,7 +88,7 @@ func main() {
|
|||||||
Logger.Warn("Watcher stopped", "err", err)
|
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 == "/" {
|
if r.URL.Path == "/" {
|
||||||
TemplateMu.RLock()
|
TemplateMu.RLock()
|
||||||
defer TemplateMu.RUnlock()
|
defer TemplateMu.RUnlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user