style(admin/gam): CSS-классы вместо inline-style, без эмоджи
- gam-award-grid/gam-reset-grid: CSS Grid, адаптив 800px - gam-user-col/filter/select — единые стили из design system - gam-preset/gam-reason-tag — через CSS-классы, без inline - gam-num-input: Unbounded шрифт, выровненный по центру - gam-award-footer + gam-reset-warning как отдельные блоки - убраны все эмоджи; пресеты сбрасываются через gamSetXP/gamSetCoins Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -199,10 +199,9 @@
|
||||
LS.toast(`Начислено ${userName}: XP +${xp} Монеты +${coins} → Уровень ${r.level}`, 'success');
|
||||
// Reset form
|
||||
document.getElementById('gam-award-uid').value = '';
|
||||
document.getElementById('gam-award-xp').value = '0';
|
||||
document.getElementById('gam-award-coins').value = '0';
|
||||
gamSetXP(0);
|
||||
gamSetCoins(0);
|
||||
document.getElementById('gam-award-reason').value = '';
|
||||
document.querySelectorAll('.gam-xp-preset,.gam-coins-preset').forEach(b => b.classList.remove('active'));
|
||||
inited = false;
|
||||
await load();
|
||||
inited = true;
|
||||
|
||||
Reference in New Issue
Block a user