2021-02-09 23:14:32 +00:00
|
|
|
{% block options_modal %}
|
2021-02-08 06:30:44 +00:00
|
|
|
<!-- Other Options modal -->
|
|
|
|
<div class="modal fade" id="options-modal" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-xl" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h3>Settings:</h3>
|
2023-02-06 23:49:53 +00:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
2021-02-08 06:30:44 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-body">
|
2023-02-07 04:27:03 +00:00
|
|
|
<div class="row scroller">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-2 col-md-2">
|
|
|
|
<button class="btn btn-primary btn-sm" aria-label="Backgrounds viewer" title="Backgrounds viewer..."
|
|
|
|
data-bs-toggle="modal" data-bs-target="#backgrounds-modal">
|
|
|
|
Backgrounds
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-8 col-md-8">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-2 col-md-2">
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-bs-toggle="dropdown">
|
|
|
|
Theme
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="bd-theme" style="--bs-dropdown-min-width: 8rem;">
|
|
|
|
<li>
|
|
|
|
<button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light">
|
|
|
|
<i title="Register A User..." class="bi bi-brightness-high"></i>
|
|
|
|
Light
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="dark">
|
|
|
|
<i title="Register A User..." class="bi bi-brightness-low"></i>
|
|
|
|
Dark
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="auto">
|
|
|
|
<i title="Register A User..." class="bi bi-brightness-high"></i>
|
|
|
|
Auto
|
|
|
|
<i title="Register A User..." class="bi bi-brightness-low"></i>
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<!-- File Upload -->
|
2021-10-03 08:54:20 +00:00
|
|
|
{% if oidc_loggedin() and oidc_isAdmin() %}
|
|
|
|
<!-- Server Messages -->
|
|
|
|
<div id="settings-alert-zone-files"></div>
|
|
|
|
<!-- To Upload List -->
|
2023-02-07 04:27:03 +00:00
|
|
|
<div id="uploadListTitlesContainer scroller">
|
|
|
|
<ul id="uploadListTitles" class="list-group">
|
|
|
|
</ul>
|
|
|
|
</div>
|
2021-10-03 08:54:20 +00:00
|
|
|
<input id="toUpload" class="btn btn-dark" type="file" multiple>
|
|
|
|
<button id="uploadFiles" class="btn btn-success">Submit Files...</button>
|
2021-10-03 19:44:29 +00:00
|
|
|
<button id="clearUploadFiles" class="btn btn-dark">Clear</button>
|
|
|
|
{% else %}
|
2023-02-07 04:27:03 +00:00
|
|
|
<h3>Upload Not Permitted...</h3>
|
2021-10-03 08:54:20 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2023-02-07 04:27:03 +00:00
|
|
|
<div class="col-md-6">
|
2021-10-03 08:54:20 +00:00
|
|
|
{% if oidc_loggedin() and oidc_isAdmin() %}
|
|
|
|
<div id="settings-alert-zone-new-items"></div>
|
|
|
|
<input type="text" id="newItem" placeholder="File name..." value=""/>
|
|
|
|
<input type="button" class="btn btn-dark" value="New Dir" onclick="createItem('dir')"/>
|
|
|
|
<input type="button" class="btn btn-dark" value="New File" onclick="createItem('file')"/>
|
2023-02-07 04:27:03 +00:00
|
|
|
<br/>
|
|
|
|
<!-- <input id="MergeType" type="checkbox" onchange="getDir('./')" />
|
|
|
|
<label for="MergeType">Show seassons in same list.</label> -->
|
|
|
|
{% else %}
|
|
|
|
<h3>File Creation Not Permitted...</h3>
|
2021-10-03 08:54:20 +00:00
|
|
|
{% endif %}
|
2021-02-08 06:30:44 +00:00
|
|
|
</div>
|
2021-10-03 08:54:20 +00:00
|
|
|
<div id="page-alert-zone-2"></div>
|
2021-02-08 06:30:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
2021-09-28 22:37:20 +00:00
|
|
|
<button type="button" data-bs-dismiss="modal" class="btn btn-danger btn-sm">Close</button>
|
2021-02-08 06:30:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-09 23:14:32 +00:00
|
|
|
{% endblock options_modal %}
|