Skip to content
Snippets Groups Projects
Commit 77c1e2cb authored by Andreas Valder's avatar Andreas Valder
Browse files

added basic login form

parent ef02a3e2
Branches
No related tags found
No related merge requests found
......@@ -55,6 +55,19 @@
<a href="{{ href|e }}">{% if gly != '' %}<span class="glyphicon glyphicon-{{ gly }}"></span> {% endif %}{{ caption }}</a>
</li>
{% endfor %}
<li class="navbar-right" >
<a id="loginpopover" data-container="body" data-toggle="popover" data-placement="bottom">
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-menu-down"></span>
</a>
<script>
$('#loginpopover').popover(
{
html:true,
content:'<form method="post" action="login"><span>User: <input name="user" type="text"></span><br><span>Password: <input name="password" type="password"></span><input type="hidden" name="ref" value="{{ request.url|e }}"><input type="submit"></form>'
}
)
</script>
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-4">
......@@ -66,6 +79,8 @@
</form>
</div>
</div>
<div class="row">
</div>
</div>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment