layout.tt: make the header constrained to the center
This commit is contained in:
parent
9c903e9991
commit
db2c9fe96a
|
@ -47,18 +47,20 @@
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-light">
|
<nav class="navbar navbar-expand-md navbar-light bg-light">
|
||||||
<a class="navbar-brand" href="[% c.uri_for(c.controller('Root').action_for('index')) %]">
|
<div class="container">
|
||||||
[% IF logo == "" %]
|
<a class="navbar-brand" href="[% c.uri_for(c.controller('Root').action_for('index')) %]">
|
||||||
Hydra
|
[% IF logo == "" %]
|
||||||
[% ELSE %]
|
Hydra
|
||||||
<img src="[% c.uri_for(logo) %]" alt="Hydra Logo" class="logo" />
|
[% ELSE %]
|
||||||
[% END %]
|
<img src="[% c.uri_for(logo) %]" alt="Hydra Logo" class="logo" />
|
||||||
</a>
|
[% END %]
|
||||||
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarSupportedContent">
|
</a>
|
||||||
<span class="navbar-toggler-icon"></span>
|
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarSupportedContent">
|
||||||
</button>
|
<span class="navbar-toggler-icon"></span>
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
</button>
|
||||||
[% PROCESS topbar.tt %]
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
|
[% PROCESS topbar.tt %]
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue