-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from kmpaul/main
Fixes for wide screens / high resolution
- Loading branch information
Showing
3 changed files
with
114 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="container-fluid"> | ||
|
||
<div id="navbar-start"> | ||
{% for navbar_item in theme_navbar_start %} | ||
{% include navbar_item %} | ||
{% endfor %} | ||
</div> | ||
|
||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapsible" aria-controls="navbar-collapsible" aria-expanded="false" aria-label="{{ _('Toggle navigation') }}"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
{% set navbar_class, navbar_align = navbar_align_class() %} | ||
<div id="navbar-collapsible" class="{{ navbar_class }} collapse navbar-collapse"> | ||
<div id="navbar-center" class="{{ navbar_align }}"> | ||
{% for navbar_item in theme_navbar_center %} | ||
<div class="navbar-center-item"> | ||
{% include navbar_item %} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
<div id="navbar-end"> | ||
{% for navbar_item in theme_navbar_end %} | ||
<div class="navbar-end-item"> | ||
{% include navbar_item %} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<div class="topbar container-fluid fixed-top"> | ||
<div class="topbar-contents row"> | ||
<div class="col-12 col-md-3 bd-topbar-whitespace site-navigation show"></div> | ||
<div class="col pl-md-4 topbar-main"> | ||
{% if theme_single_page != True %} | ||
<button id="navbar-toggler" class="navbar-toggler ml-0" type="button" data-toggle="collapse" | ||
data-toggle="tooltip" data-placement="bottom" data-target=".site-navigation" aria-controls="navbar-menu" | ||
aria-expanded="true" aria-label="{{ translate('Toggle navigation') }}" aria-controls="site-navigation" | ||
title="{{ translate('Toggle navigation') }}" data-toggle="tooltip" data-placement="left"> | ||
<i class="fas fa-bars"></i> | ||
<i class="fas fa-arrow-left"></i> | ||
<i class="fas fa-arrow-up"></i> | ||
</button> | ||
{% endif %} | ||
{% include "topbar/download.html" %} | ||
{% include "topbar/repobuttons.html" %} | ||
{% include "topbar/fullscreen.html" %} | ||
{% include "topbar/launchbuttons.html" %} | ||
</div> | ||
|
||
<!-- Table of contents --> | ||
<div class="d-none d-md-block col-md-2 bd-toc show noprint"> | ||
{% set page_toc = generate_toc_html() %} | ||
|
||
{%- if page_toc | length >= 1 %} | ||
<div class="tocsection onthispage pt-5 pb-3"> | ||
<i class="fas fa-list"></i> {{ translate(theme_toc_title) }} | ||
</div> | ||
<nav id="bd-toc-nav" aria-label="Page"> | ||
{{ page_toc }} | ||
</nav> | ||
{%- endif %} | ||
</div> | ||
</div> | ||
</div> |