fix login layout and add mobile nav

This commit is contained in:
Philip Häusler 2014-09-06 15:03:08 +02:00
parent 4414358cf5
commit 1785c38698
2 changed files with 12 additions and 6 deletions

View File

@ -255,7 +255,7 @@ function guest_login() {
return page_with_title(login_title(), array( return page_with_title(login_title(), array(
msg(), msg(),
'<div class="container"><div class="col-md-6">', '<div class="row"><div class="col-md-6">',
form(array( form(array(
form_text('nick', _("Nick"), $nick), form_text('nick', _("Nick"), $nick),
form_password('password', _("Password")), form_password('password', _("Password")),

View File

@ -18,7 +18,13 @@
<body> <body>
<div class="navbar navbar-default navbar-fixed-top"> <div class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="?"><span class="icon-icon_angel"></span> <strong>ENGELSYSTEM</strong></a> %header_toolbar% <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1">
<span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="?"><span class="icon-icon_angel"></span> <strong>ENGELSYSTEM</strong></a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-1">%header_toolbar%</div>
</div> </div>
</div> </div>
<div class="container-fluid"> <div class="container-fluid">