-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,382 additions
and
1,476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from flask_assets import Bundle | ||
|
||
common_css = Bundle( | ||
'https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css', | ||
'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css', | ||
'css/vendor/helper.css', | ||
'css/main.css', | ||
'css/overrides.css', | ||
|
@@ -11,7 +11,7 @@ | |
|
||
common_js = Bundle( | ||
'https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js', | ||
'https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js', | ||
'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js', | ||
Bundle( | ||
'js/main.js', | ||
filters='jsmin' | ||
|
@@ -33,14 +33,14 @@ | |
|
||
tabler_css = Bundle( | ||
'https://cdn.jsdelivr.net/npm/@tabler/core@latest/dist/css/tabler.min.css', | ||
'https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta17/dist/css/tabler-vendors.min.css', | ||
'https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta21/dist/css/tabler-vendors.min.css', | ||
'css/overrides.css', | ||
filters='cssmin', | ||
output='public/css/tabler.css' | ||
) | ||
|
||
tabler_js = Bundle( | ||
'https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta17/dist/js/tabler.min.js', | ||
'https://cdn.jsdelivr.net/npm/@tabler/[email protected]beta21/dist/js/tabler.min.js', | ||
output='public/js/tabler.js' | ||
) | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<footer class="footer"> | ||
<div class="container"> | ||
<div class="row align-items-center flex-row-reverse"> | ||
<div class="col-auto ml-lg-auto"> | ||
<div class="row align-items-center"> | ||
<div class="col-auto"> | ||
<ul class="list-inline list-inline-dots mb-0"> | ||
<li class="list-inline-item"> | ||
<a href="/">Home</a> | ||
</li> | ||
<li class="list-inline-item"> | ||
<a href="{{ url_for('user_settings.legal_compliance' )}}">Privacy</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-12 col-lg-auto mt-3 mt-lg-0 text-center"> | ||
Copyright © 2019 | ||
|
||
<footer class="footer footer-transparent d-print-none"> | ||
<div class="container-xl"> | ||
<div class="row text-center align-items-center flex-row-reverse"> | ||
|
||
<div class="col-lg-auto ms-lg-auto"> | ||
<ul class="list-inline list-inline-dots mb-0"> | ||
<li class="list-inline-item"><a href="{{ url_for('user_settings.legal_compliance' )}}" target="_blank" class="link-secondary" rel="noopener">Privacy</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-12 col-lg-auto mt-3 mt-lg-0"> | ||
<ul class="list-inline list-inline-dots mb-0"> | ||
<li class="list-inline-item"> | ||
Copyright © 2024 | ||
|
||
<a href="{{ url_for('main.home' )}}">appname</a>. Powered by | ||
<a href="https://github.com/sumukh/ignite" target="_blank">Ignite</a> | ||
<!-- You must purchase a license of Ignite to remove the above disclaimer --> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<header class="navbar navbar-expand-md navbar-overlap d-print-none" data-bs-theme="dark"> | ||
<div class="container-xl"> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu" aria-controls="navbar-menu" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3"> | ||
<a href="{{ url_for('main.home') }}"> | ||
<img src="{{ url_for('static', filename='public/ignite/ignite-logo-cutout.svg') }}" class="navbar-brand-image" style="max-height: 40px" alt="ignite logo"> | ||
|
||
</a> | ||
</div> | ||
<div class="navbar-nav flex-row order-md-last"> | ||
<div class="d-none d-md-flex"> | ||
<!-- Add theme toggle buttons here if needed --> | ||
</div> | ||
<div class="nav-item dropdown"> | ||
<a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu"> | ||
<!-- <span class="avatar avatar-sm" style="background-image: url(./static/avatars/000m.jpg)"></span> --> | ||
<div class="d-none d-xl-block ps-2"> | ||
<div>{{ current_user.email }}</div> | ||
{% if team %} | ||
<div class="mt-1 small text-secondary">{{ team.name }}</div> | ||
{% endif %} | ||
</div> | ||
</a> | ||
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow" data-bs-theme="light"> | ||
<a href="{{ url_for('user_settings.index') }}" class="dropdown-item">Settings</a> | ||
<a href="{{ url_for('auth.logout') }}" class="dropdown-item">Logout</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="collapse navbar-collapse" id="navbar-menu"> | ||
<div class="d-flex flex-column flex-md-row flex-fill align-items-stretch align-items-md-center"> | ||
<ul class="navbar-nav"> | ||
{% if current_user.is_authenticated %} | ||
<li class="nav-item {{ 'active' if request.blueprint == 'dashboard_home' }}"> | ||
<a class="nav-link" href="{{ url_for('dashboard_home.index') }}"> | ||
<span class="nav-link-title">Home</span> | ||
</a> | ||
</li> | ||
{% if team %} | ||
<li class="nav-item {{ 'active' if request.blueprint == 'dashboard_team' }}"> | ||
<a class="nav-link" href="{{ url_for('dashboard_team.index', team_id=team.id) }}"> | ||
<span class="nav-link-title">Your Team</span> | ||
</a> | ||
</li> | ||
<li class="nav-item {{ 'active' if request.blueprint == 'dashboard_files' }}"> | ||
<a class="nav-link" href="{{ url_for('dashboard_files.index', team_id=team.id) }}"> | ||
<span class="nav-link-title">Shared Files</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
<li class="nav-item {{ 'active' if request.endpoint.startswith('user_settings') }}"> | ||
<a class="nav-link" href="{{ url_for('user_settings.index') }}"> | ||
<span class="nav-link-title">User Settings</span> | ||
</a> | ||
</li> | ||
{% else %} | ||
<li class="nav-item {{ 'active' if request.endpoint == 'main.home' }}"> | ||
<a class="nav-link" href="{{ url_for('main.home') }}"> | ||
<span class="nav-link-title">Home</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
{{ render_flashes() }} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters