Add admin user management
This commit is contained in:
+18
-1
@@ -192,11 +192,28 @@
|
||||
<button id="refreshAiModels" type="button">Obnovit</button>
|
||||
</span>
|
||||
</label>
|
||||
<div class="ai-actions">
|
||||
<div class="ai-actions">
|
||||
<button id="saveAiSettings" type="button">Ulozit AI nastaveni</button>
|
||||
<button id="testOpenAiKey" type="button">Otestovat klic</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="effect-settings admin-users-settings">
|
||||
<legend>BO uzivatele</legend>
|
||||
<form id="adminUserForm" class="admin-user-form">
|
||||
<label>Login
|
||||
<input name="username" autocomplete="off" placeholder="petr" required>
|
||||
</label>
|
||||
<label>Jmeno
|
||||
<input name="displayName" autocomplete="off" placeholder="Petr">
|
||||
</label>
|
||||
<label>Heslo
|
||||
<input name="password" type="password" autocomplete="new-password" placeholder="min. 8 znaku" required>
|
||||
</label>
|
||||
<button type="submit">Pridat uzivatele</button>
|
||||
</form>
|
||||
<div id="adminUsersList" class="admin-users-list"></div>
|
||||
<small id="adminUsersStatus"></small>
|
||||
</fieldset>
|
||||
</div>
|
||||
</section>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user