Updated requirements and html

This commit is contained in:
maximstewart 2021-02-10 02:10:37 -06:00
parent e26495882f
commit 7ac5d7c496
6 changed files with 98 additions and 75 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 609 KiB

View File

@ -1,11 +1,25 @@
click==7.1.2
dnspython==2.1.0
eventlet==0.30.1
Flask==1.1.1
flask-oidc==1.4.0
email-validator==1.1.2
Flask==1.1.2
Flask-Login==0.5.0
flask-oidc==1.4.0
Flask-Bcrypt==0.7.1
Flask-SQLAlchemy==2.4.1
Flask-SQLAlchemy==2.4.4
Flask-WTF==0.14.3
gunicorn==19.9.0
SQLAlchemy==1.3.11
Werkzeug==0.16.0
WTForms==2.2.1
greenlet==1.0.0
gunicorn==20.0.4
httplib2==0.19.0
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
oauth2client==4.1.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==2.4.7
rsa==4.7
six==1.15.0
SQLAlchemy==1.3.23
Werkzeug==1.0.1
WTForms==2.3.3

View File

@ -7,13 +7,14 @@
</button>
<div id="navbarTogglerFooter" class="row collapse navbar-collapse">
<div class="col col-lg-auto">
<ul class="navbar-nav">
<li class="nav-item">
<span id="path">{{current_directory}}</span>
</li>
</ul>
</div>
<ul class="navbar-nav">
<li class="nav-item mr-2">
<span id="tggl-faves-btn" class="btn btn-info btn-sm" title="Add/Delete from favorites..." >&#9734;</span>
</li>
<li class="nav-item">
<span id="path">{{current_directory}}</span>
</li>
</ul>
</div>
</nav>
{% endif %}

View File

@ -1,4 +1,4 @@
<nav class="container navbar navbar-expand-sm bg-dark navbar-dark sticky-top">
<nav class="container navbar navbar-expand-sm bg-dark navbar-dark justify-content-center text-center sticky-top">
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarTogglerHeader" aria-controls="navbarTogglerHeader"
aria-expanded="false" aria-label="Toggle Header Navigation">
@ -6,55 +6,57 @@
</button>
<div id="navbarTogglerHeader" class="row collapse navbar-collapse">
<!-- Left menues -->
{% if current_directory %}
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<i id="back-btn" class="fa fa-arrow-left nav-link" aria-hidden="true" title="Back..." hash="{{dot_dots[1][1]}}">
Back
</i>
</li>
<li class="nav-item">
<i id="refresh-btn" class="fa fa-refresh nav-link" aria-hidden="true" title="Refresh..." hash="{{dot_dots[0][1]}}">
Refresh
</i>
</li>
</ul>
<!-- Center menues -->
<ul class="navbar-nav ml-auto mr-auto">
<li class="nav-item">
<div class="input-group">
<input id="search-files-field" type="text" class="form-control"
aria-label="Search..." placeholder="Search..." style="max-width: 260px">
<div class="input-group-prepend">
<span id="clear-search-btn" class="input-group-text" title="Clears search...">X</span>
<!-- Left menues -->
<ul class="navbar-nav">
<li class="nav-item" data-toggle="modal" data-target="#file-view-modal">
<i class="nav-link" aria-hidden="true" title="File viewer..." >
🖼
</i>
</li>
<li class="nav-item">
<div class="input-group">
<input id="search-files-field" type="text" class="form-control"
aria-label="Search..." placeholder="Search..." style="max-width: 260px">
<div class="input-group-prepend">
<span id="clear-search-btn" class="input-group-text" title="Clears search...">X</span>
</div>
</div>
</div>
</li>
<li class="nav-item" data-toggle="modal" data-target="#favorites-modal">
<i class="nav-link" aria-hidden="true" title="Faves list..." >
Faves List &#8597;
</i>
</li>
<li class="nav-item">
<i id="scroll-files-to-top-btn" class="nav-link" aria-hidden="true" title="Scroll to top..." >
Scroll Files To Top
</i>
</li>
<li class="nav-item">
<span id="tggl-faves-btn" class="nav-link" title="Add/Delete from favorites..." >&#9734;</span>
</li>
<li class="nav-item" data-toggle="modal" data-target="#file-view-modal">
<i class="nav-link" aria-hidden="true" title="File viewer..." >
🖼
</i>
</li>
{% endif %}
</ul>
</li>
<li class="nav-item" data-toggle="modal" data-target="#favorites-modal">
<i class="nav-link" aria-hidden="true" title="Faves list..." >
Faves List &#8597;
</i>
</li>
<li class="nav-item">
<i id="scroll-files-to-top-btn" class="nav-link" aria-hidden="true" title="Scroll to top..." >
Scroll Files To Top
</i>
</li>
</ul>
{% endif %}
<!-- Right menues -->
<ul class="navbar-nav ml-auto">
{% if current_directory %}
<li class="nav-item">
<i id="back-btn" class="fa fa-arrow-left nav-link" aria-hidden="true" title="Back..." hash="{{dot_dots[1][1]}}">
Back
</i>
</li>
<li class="nav-item">
<i id="refresh-btn" class="fa fa-refresh nav-link" aria-hidden="true" title="Refresh..." hash="{{dot_dots[0][1]}}">
Refresh
</i>
</li>
{% endif %}
{% if current_user.is_authenticated or oidc_loggedin() %}
<li class="nav-item">
<a class="nav-link" href="{{ url_for('logout') }}">
<i class="fas fa-sign-out-alt"></i> Logout
</a>
</li>
{% endif %}
<li class="nav-item" data-toggle="modal" data-target="#options-modal">
<i class="nav-link fa fa-gear" aria-hidden="true" title="Other options..." >
Settings
@ -75,13 +77,6 @@
</div>
</li>
{% endif %}
{% if current_user.is_authenticated or oidc_loggedin() %}
<li class="nav-item">
<a class="nav-link" href="{{ url_for('logout') }}">
<i class="fas fa-sign-out-alt"></i> Logout
</a>
</li>
{% endif %}
</ul>
</div>
</nav>

View File

@ -14,9 +14,8 @@
{% endblock body_header_additional %}
{% block body_content_additional %}
<ul id="files" class="row">
</ul>
<div id="files" class="row">
</div>
{% block favorites_modal %}
{% endblock %}
{% endblock body_content_additional %}

View File

@ -1,11 +1,25 @@
click==7.1.2
dnspython==2.1.0
eventlet==0.30.1
Flask==1.1.1
flask-oidc==1.4.0
email-validator==1.1.2
Flask==1.1.2
Flask-Login==0.5.0
flask-oidc==1.4.0
Flask-Bcrypt==0.7.1
Flask-SQLAlchemy==2.4.1
Flask-SQLAlchemy==2.4.4
Flask-WTF==0.14.3
greenlet==1.0.0
waitress==1.4.3
SQLAlchemy==1.3.11
Werkzeug==0.16.0
WTForms==2.2.1
httplib2==0.19.0
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
oauth2client==4.1.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==2.4.7
rsa==4.7
six==1.15.0
SQLAlchemy==1.3.23
Werkzeug==1.0.1
WTForms==2.3.3