fixing about/terms/rules pages

This commit is contained in:
2026-06-12 02:56:02 +02:00
parent 83f3980300
commit 34ed0e4621
6 changed files with 60 additions and 6 deletions

View File

@@ -10,7 +10,8 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<div style="margin-bottom: 20px;">
<label for="rules-text" style="display: block; margin-bottom: 8px; color: var(--accent);">Rules Page Content (Markdown supported)</label>
<textarea id="rules-text" name="rules_text" style="width: 100%; min-height: 300px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 15px; border-radius: 4px; font-family: inherit; font-size: 1.1em; resize: vertical;">{!! rules_text !!}</textarea>
<textarea id="rules-text" name="rules_text" style="width: 100%; min-height: 300px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 15px; border-radius: 4px; font-family: inherit; font-size: 1.1em; resize: vertical;"></textarea>
<script>document.getElementById('rules-text').value = atob('{{ rules_text_b64 }}');</script>
</div>
<div style="display: flex; gap: 10px; align-items: center;">