2022-05-04 23:09:46 +00:00
|
|
|
{% extends "settings.html" %}
|
2022-11-21 08:52:22 +00:00
|
|
|
{% block pagetitle %}Custom CSS{% endblock %}
|
2022-05-04 23:09:46 +00:00
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
2022-11-06 06:35:49 +00:00
|
|
|
<div class="settings col col-md-8">
|
|
|
|
<section>
|
|
|
|
<h5>Custom CSS</h5>
|
|
|
|
<div id="settings-custom-css" class="settings-section rounded mb-0">
|
2022-12-05 03:43:24 +00:00
|
|
|
<p class="text-small text-muted pt-2 pl-3">Edit your custom CSS for the site</p>
|
2022-11-06 06:35:49 +00:00
|
|
|
<div class="body d-lg-flex border-bottom">
|
|
|
|
<div class="w-lg-100">
|
2022-11-08 04:00:31 +00:00
|
|
|
<form id="profile-settings-css" action="/settings/css" method="post">
|
2023-01-24 05:10:16 +00:00
|
|
|
<input hidden name="formkey" value="{{v|formkey}}">
|
2022-12-25 02:10:56 +00:00
|
|
|
<textarea autocomplete="off" class="form-control rounded" id="css-textarea" placeholder="Custom CSS" rows="3" name="css" form="profile-settings-css" maxlength="{{CSS_LENGTH_LIMIT}}">{% if v.css %}{{v.csslazy}}{% endif %}</textarea>
|
2022-12-10 18:30:15 +00:00
|
|
|
<small>Limit of {{CSS_LENGTH_LIMIT}} characters</small>
|
2022-11-06 06:35:49 +00:00
|
|
|
<div class="d-flex mt-2">
|
2023-03-07 00:21:08 +00:00
|
|
|
<input autocomplete="off" id="submit-btn" class="btn btn-primary ml-auto" type="submit" value="Save">
|
2022-11-06 06:35:49 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-06 06:35:49 +00:00
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h5>Profile CSS</h5>
|
|
|
|
<div id="settings-profile-css" class="settings-section rounded mb-0">
|
2022-12-05 03:43:24 +00:00
|
|
|
<p class="text-small text-muted pt-2 pl-3">Edit your profile CSS</p>
|
2022-11-06 06:35:49 +00:00
|
|
|
<div class="body d-lg-flex border-bottom">
|
|
|
|
<div class="w-lg-100">
|
2022-11-08 04:00:31 +00:00
|
|
|
<form id="profile-settings-profilecss" action="/settings/profilecss" method="post">
|
2023-01-24 05:10:16 +00:00
|
|
|
<input hidden name="formkey" value="{{v|formkey}}">
|
2023-01-27 10:02:11 +00:00
|
|
|
<textarea autocomplete="off" class="form-control rounded" id="profilecss-textarea" placeholder="Custom profile CSS" rows="3" name="profilecss" form="profile-settings-profilecss" maxlength="{{CSS_LENGTH_LIMIT}}">{% if profilecss %}{{profilecss}}{% endif %}</textarea>
|
2022-12-10 18:30:15 +00:00
|
|
|
<small>Limit of {{CSS_LENGTH_LIMIT}} characters</small>
|
2022-11-06 06:35:49 +00:00
|
|
|
<div class="d-flex mt-2">
|
2023-03-07 00:21:08 +00:00
|
|
|
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Save">
|
2022-11-06 06:35:49 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2022-05-04 23:09:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-08 04:09:55 +00:00
|
|
|
|
2022-12-29 14:20:27 +00:00
|
|
|
<script defer src="{{'js/css.js' | asset}}"></script>
|
2022-11-08 04:09:55 +00:00
|
|
|
|
2022-11-06 06:35:49 +00:00
|
|
|
{% endblock %}
|