activity: Just use window.URLBase
instead of figuring out the full URL. URLs are definitely the most fragmented and annoying thing about this software.
This commit is contained in:
+11
-9
@@ -27,16 +27,18 @@
|
||||
<body class="max-w-full overflow-x-hidden section">
|
||||
{{ template "login-modal.html" . }}
|
||||
<div id="modal-add-user" class="modal">
|
||||
<form class="card relative mx-auto my-[10%] w-11/12 sm:w-4/5 lg:w-1/3" id="form-add-user" href="">
|
||||
<form class="card relative mx-auto my-[10%] w-11/12 sm:w-4/5 lg:w-1/3 flex flex-col gap-2" id="form-add-user" href="">
|
||||
<span class="heading">{{ .strings.newUser }} <span class="modal-close">×</span></span>
|
||||
<input type="text" class="field input ~neutral @high mt-4 mb-2" placeholder="{{ .strings.username }}" id="add-user-user">
|
||||
<input type="email" class="field input ~neutral @high mt-4 mb-2" placeholder="{{ .strings.emailAddress }}">
|
||||
<input type="password" class="field input ~neutral @high mb-4" placeholder="{{ .strings.password }}" id="add-user-password">
|
||||
<label class="label supra">{{ .strings.profile }}</label>
|
||||
<div class="select ~neutral @low mb-2 mt-4">
|
||||
<select id="add-user-profile">
|
||||
</select>
|
||||
</div>
|
||||
<input type="text" class="field input ~neutral @high" placeholder="{{ .strings.username }}" id="add-user-user">
|
||||
<input type="email" class="field input ~neutral @high" placeholder="{{ .strings.emailAddress }}">
|
||||
<input type="password" class="field input ~neutral @high" placeholder="{{ .strings.password }}" id="add-user-password">
|
||||
<label class="label flex flex-col gap-2">
|
||||
<span class="supra">{{ .strings.profile }}</span>
|
||||
<div class="select ~neutral @low">
|
||||
<select id="add-user-profile">
|
||||
</select>
|
||||
</div>
|
||||
</label>
|
||||
<label>
|
||||
<input type="submit" class="unfocused">
|
||||
<span class="button ~urge @low full-width center supra submit">{{ .strings.create }}</span>
|
||||
|
||||
Reference in New Issue
Block a user