Пользователи: цвет при создании и редактировании
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Цвет</th>
|
||||
<th>Логин</th>
|
||||
<th>Имя</th>
|
||||
<th>Роль</th>
|
||||
@@ -53,6 +54,13 @@
|
||||
<label>Имя</label>
|
||||
<input type="text" id="uName" class="settings-input" placeholder="Имя Фамилия">
|
||||
</div>
|
||||
<div class="settings-field">
|
||||
<label>Цвет</label>
|
||||
<div style="display:flex;align-items:center;gap:8px">
|
||||
<input type="color" id="uColor" class="settings-input user-color-input" value="#2563eb">
|
||||
<button type="button" class="btn-primary ghost" id="uColorRandom" style="padding:6px 10px">Случайный</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="settings-field">
|
||||
<label>Роль</label>
|
||||
<select id="uRole" class="settings-input">
|
||||
@@ -96,6 +104,8 @@
|
||||
.row-btn:hover{background:var(--bg);color:var(--accent)}
|
||||
.row-btn.del:hover{color:#ef4444;background:rgba(239,68,68,.1)}
|
||||
.user-branches{max-width:220px;color:var(--muted);font-size:.78rem}
|
||||
.user-color-input{width:72px;height:34px;padding:2px;cursor:pointer}
|
||||
.user-color-swatch{display:inline-block;width:18px;height:18px;border-radius:50%;border:1px solid rgba(127,127,127,.4);vertical-align:middle}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user