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">
|
2021-10-03 08:54:20 +00:00
|
|
|
<div class="row scroller" style="max-height: 30em; overflow: auto;">
|
|
|
|
<!-- File Upload -->
|
|
|
|
<div class="col-md-6 controls-secondary">
|
|
|
|
{% if oidc_loggedin() and oidc_isAdmin() %}
|
|
|
|
<!-- Server Messages -->
|
|
|
|
<div id="settings-alert-zone-files"></div>
|
|
|
|
<!-- To Upload List -->
|
|
|
|
<ul id="uploadListTitles" class="list-group scroller" style="min-height: 286px; max-height: 286px; overflow: hidden auto;">
|
|
|
|
</ul>
|
|
|
|
<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 %}
|
2021-10-03 08:54:20 +00:00
|
|
|
<h3>Upload not available to this user...</h3>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 controls-secondary">
|
|
|
|
{% 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')"/>
|
|
|
|
{% endif %}
|
|
|
|
<br/>
|
|
|
|
<!-- <input id="MergeType" type="checkbox" onchange="getDir('./')" />
|
|
|
|
<label for="MergeType">Show seassons in same list.</label> -->
|
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 %}
|