master
kek7198 2022-01-03 10:21:55 -06:00
parent 6d49a12285
commit 6fd495a826
3 changed files with 5 additions and 4 deletions

View File

@ -357,7 +357,7 @@
}
</script>
{% endif %}
<script src="/static/assets/CHRISTMAS/js/default.js?a=7"></script>
<script src="/static/assets/CHRISTMAS/js/default.js?a=8"></script>
</body>
</html>

View File

@ -8,7 +8,8 @@
</button>
</div>
<div class="modal-body">
<form id="message" action="" method="post" enctype="multipart/form-data">
<!-- Form action loaded by JS -->
<form id="message" action="" method="post" enctype="multipart/form-data" onsubmit="submitFormAjax(event)">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<div class="relative rounded border border-gray-300 dark:border-gray-900 bg-white dark:bg-white/[.05] w-full">
<textarea maxlength="1000" id="direct-message-input" name="message" form="message" class="rounded-t bg-transparent p-2 shadow-inner w-full" aria-label="With textarea" placeholder="Write your message..." rows="3"></textarea>

View File

@ -20,7 +20,7 @@
</div>
{% endif %}
<!-- Form -->
<form class="profile-toggleable" id="message" action="/@{{u.username}}/message" method="post">
<div class="profile-toggleable" id="message">
<div class="relative rounded-lg border border-gray-300 dark:border-gray-900 bg-gray-100 dark:bg-white/[.05] shadow-inner w-full">
<textarea maxlength="1000" id="gift-message" name="message" form="message" class="w-full rounded-t-md p-3 bg-transparent focus:bg-white dark:focus:bg-transparent shadow-inner resize-y focus:outline-none placehoder:text-gray-400" aria-label="With textarea" placeholder="'tis the season of giving..." rows="3"></textarea>
<ul class="-mt-1 flex space-x-4 px-3 py-2 border-t border-dashed border-gray-400 mb-0">
@ -41,7 +41,7 @@
</li>
</ul>
</div>
</form>
</div>
<div class="mt-3">
<input autocomplete="off" id="coins-transfer-amount" class="form-input" name="amount" type="number" placeholder="0" oninput="updateTax()">
<p class="mt-1 text-sm text-gray-400">