2021-12-30 05:27:22 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
2022-01-13 23:39:39 +00:00
|
|
|
{% block pagetitle %}Edit {{SITE_NAME}} sidebar{% endblock %}
|
2021-12-30 05:27:22 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2021-12-31 12:22:55 +00:00
|
|
|
{% if msg %}
|
|
|
|
<div class="alert alert-success alert-dismissible fade show my-3" role="alert">
|
|
|
|
<i class="fas fa-check-circle my-auto" aria-hidden="true"></i>
|
|
|
|
<span>
|
|
|
|
{{msg}}
|
|
|
|
</span>
|
2022-02-01 02:20:25 +00:00
|
|
|
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
2021-12-31 12:22:55 +00:00
|
|
|
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2021-12-30 05:27:22 +00:00
|
|
|
<div class="row my-5">
|
|
|
|
<div class="col col-md-8">
|
|
|
|
<div class="settings">
|
|
|
|
<div id="description">
|
2022-02-05 21:09:17 +00:00
|
|
|
<h2>Edit {% if sub %}/s/{{sub.name}}{% endif %} sidebar</h2>
|
2021-12-30 05:27:22 +00:00
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
<div class="body d-lg-flex">
|
|
|
|
<div class="w-lg-100">
|
2022-02-05 21:09:17 +00:00
|
|
|
<form id="profile-settings" action="{% if sub %}/s/{{sub.name}}{% else %}/admin{% endif %}/sidebar" method="post">
|
2021-12-30 05:27:22 +00:00
|
|
|
<input autocomplete="off" type="hidden" name="formkey" value="{{v.formkey}}">
|
2022-02-05 21:09:17 +00:00
|
|
|
<textarea autocomplete="off" maxlength="10000" class="form-control rounded" id="bio-text" aria-label="With textarea" placeholder="Enter sidebar here..." rows="50" name="sidebar" form="profile-settings">{% if sidebar %}{{sidebar}}{% endif %}</textarea>
|
2021-12-30 05:27:22 +00:00
|
|
|
|
|
|
|
<div class="d-flex mt-2">
|
|
|
|
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Save">
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-09-09 11:02:06 +00:00
|
|
|
{% endblock %}
|