mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-05 04:35:23 +02:00
Implement server webhook icons as cosmetics & fixes
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
<th>User ID</th>
|
||||
<th>CSS</th>
|
||||
<th>CSS Limit</th>
|
||||
<th>Webhook Icon</th>
|
||||
<th>Submit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -24,6 +25,16 @@
|
||||
<input id="new_user_id" placeholder="User ID">
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="switch">
|
||||
<label>
|
||||
Off
|
||||
<input type="checkbox" id="new_css_switch">
|
||||
<span class="lever"></span>
|
||||
On
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-field inline">
|
||||
<input id="new_css_limit" placeholder="CSS Limit" type="number">
|
||||
@ -33,7 +44,7 @@
|
||||
<div class="switch">
|
||||
<label>
|
||||
Off
|
||||
<input type="checkbox" id="new_css_switch">
|
||||
<input type="checkbox" id="new_webhook_icon_switch">
|
||||
<span class="lever"></span>
|
||||
On
|
||||
</label>
|
||||
@ -57,6 +68,7 @@
|
||||
<th>User ID</th>
|
||||
<th>CSS</th>
|
||||
<th>CSS Limit</th>
|
||||
<th>Webhook Icon</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -79,6 +91,16 @@
|
||||
<input placeholder="CSS Limit" type="number" value="{{ cosmetic.css_limit }}" onchange="update_css_limit('{{ cosmetic.user_id }}', $(this).val())">
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="switch">
|
||||
<label>
|
||||
Off
|
||||
<input type="checkbox" {% if cosmetic.webhook_icon %}checked{% endif %} onchange="update_webhook_icon_switch('{{ cosmetic.user_id }}', this)">
|
||||
<span class="lever"></span>
|
||||
On
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user