-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* replace all glyphicons with Bootstrap 5 icons * replace all occurences of btn-default class * replace all occurences of Bootstrap data- attributes by data-bs- attributes * use Bootstrap 5's form classes * etc.
- Loading branch information
Showing
44 changed files
with
339 additions
and
341 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
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
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,53 +1,54 @@ | ||
{% extends "racine.html" %} | ||
|
||
{% block navbar_top_header %} | ||
<div class="nav-button nav-button-toggle" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | ||
<i class="glyphicon glyphicon-option-vertical"></i> | ||
</div> | ||
<div id="toggle-sidebar" class="nav-button nav-button-left nav-button-toggle"> | ||
<i class="glyphicon glyphicon-menu-hamburger"></i> | ||
</div> | ||
<button class="btn btn-outline-secondary d-lg-none me-3" id="toggle-sidebar"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
{% endblock %} | ||
|
||
{% block navbar_top_footer %} | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
{% endblock %} | ||
|
||
{% block navbar_top %} | ||
<div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<form class="d-flex"> | ||
<input class="form-control me-2" type="search" placeholder="Search..." aria-label="Search" id="navbar-search"> | ||
</form> | ||
<ul class="navbar-nav navbar-right"> | ||
{% if current_user.is_admin %} | ||
<li><a href="/settings/smbresources"><i class="hidden-xs glyphicon glyphicon-wrench" title="Settings"></i><span class="visible-xs-block">Settings</span></a></li> | ||
<li class="nav-item ms-2"><a class="nav-link" href="/settings/smbresources"><i class="bi-gear-fill" title="Settings"></i><span class="d-md-none ms-2">Settings</span></a></li> | ||
{% endif %} | ||
<li><a href="/print"><i class="hidden-xs glyphicon glyphicon-print" title="Print"></i><span class="visible-xs-block">Print</span></a></li> | ||
<li><a href="/profile/overview"><i class="hidden-xs glyphicon glyphicon-user" title="Profile"></i><span class="hidden-xs"> {{ current_user.username }}</span><span class="visible-xs-block">Profile</span></a></li> | ||
<li><a href="{{ url_for('auth.logout') }}"><i class="hidden-xs glyphicon glyphicon-log-out" title="Sign out"></i><span class="visible-xs-block">Sign out</span></a></li> | ||
<li><a href="/help"><i class="hidden-xs glyphicon glyphicon-question-sign" title="Help"></i><span class="visible-xs-block">Help</span></a></li> | ||
<li class="nav-item ms-2"><a class="nav-link" href="/print"><i class="bi-printer-fill" title="Print"></i><span class="d-md-none ms-2">Print</span></a></li> | ||
<li class="nav-item ms-2"><a class="nav-link" href="/profile/overview"><i class="bi-person-fill" title="Profile"></i><span class="d-none d-md-inline ms-2">{{ current_user.username }}</span><span class="d-md-none ms-2">Profile</span></a></li> | ||
<li class="nav-item ms-2"><a class="nav-link" href="{{ url_for('auth.logout') }}"><i class="bi-box-arrow-right" title="Sign out"></i><span class="d-md-none ms-2">Sign out</span></a></li> | ||
<li class="nav-item ms-2"><a class="nav-link" href="/help"><i class="bi-question-circle-fill" title="Help"></i><span class="d-md-none ms-2">Help</span></a></li> | ||
</ul> | ||
<form class="nav navbar-form navbar-right"> | ||
<input type="text" id="navbar-search" class="form-control" placeholder="Search..."> | ||
</form> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div id="sidebar" class="col-sm-3 col-md-2 sidebar"> | ||
<div id="sidebar" class="col-lg-2 sidebar"> | ||
{% block sidebarnav %}{% endblock %} | ||
</div> | ||
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> | ||
<div class="col-lg-10 offset-lg-2 main"> | ||
<div class="container" id="flashmessages"> | ||
{% for message in get_flashed_messages() %} | ||
{{ begin_flashmsg|safe }} | ||
{{ message }} | ||
{{ end_flashmsg|safe }} | ||
{% endfor %} | ||
</div> | ||
{% block page_content %}{% endblock %} | ||
{% block dialogs %} | ||
{% block page_content %} | ||
{% endblock %} | ||
{% block dialogs %} | ||
{% include "dialogs/confirmdelete.html" %} | ||
{% include "dialogs/error.html" %} | ||
{% endblock %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="content-overlay"></div> | ||
{% endblock %} |
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
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
Oops, something went wrong.