2022-02-17 07:02:44 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block pagetitle %}Edit {{SITE_NAME}} sidebar{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% 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>
|
|
|
|
<button class="close" data-bs-dismiss="alert" aria-label="Close">
|
|
|
|
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="row my-5">
|
|
|
|
<div class="col col-md-8">
|
|
|
|
<div class="settings">
|
|
|
|
<div id="description">
|
|
|
|
<h2>Edit Sidebar</h2>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
<div class="body d-lg-flex">
|
|
|
|
<div class="w-lg-100">
|
|
|
|
<form id="profile-settings" action="/admin/sidebar" method="post">
|
2022-03-19 16:19:02 +00:00
|
|
|
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
2022-02-17 07:02:44 +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>
|
|
|
|
|
|
|
|
<div class="d-flex mt-2">
|
2022-06-23 20:49:23 +00:00
|
|
|
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" onclick="this.classList.add('disabled')" value="Save">
|
2022-02-17 07:02:44 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|