feat: add private and profile

This commit is contained in:
2026-06-17 11:32:51 +03:30
parent 02060a4dc0
commit 0827858752
23 changed files with 972 additions and 25 deletions
+14 -1
View File
@@ -13,7 +13,7 @@
</form>
<table>
<tr><th>#</th><th>موبایل</th><th>سکه</th><th>بلیط</th><th>سطح</th><th>جام</th><th>ادمین</th><th>تغییر سکه (+/-)</th></tr>
<tr><th>#</th><th>موبایل</th><th>سکه</th><th>بلیط</th><th>سطح</th><th>جام</th><th>ادمین</th><th>تغییر سکه (+/-)</th><th>اعطای محصول</th></tr>
{{range .Users}}
<tr>
<td>{{.ID}}</td>
@@ -30,6 +30,19 @@
<button>اعمال</button>
</form>
</td>
<td>
<form method="post" action="/admin/users/grant" style="display:flex;gap:6px">
<input type="hidden" name="user_id" value="{{.ID}}">
<select name="kind">
<option value="coins">سکه</option>
<option value="tickets">بلیط</option>
<option value="vip">VIP (روز)</option>
<option value="card">کارت (شناسه)</option>
</select>
<input name="value" placeholder="مقدار / شناسه">
<button>اعطا</button>
</form>
</td>
</tr>
{{end}}
</table>