mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-11 12:08:51 +01:00
6f98076281
- Switch from base64 to URL encoding for the passing the URL, using the built-in Mako filtering - Apply HTML filtering to Mako output by default - Disable HTML filtering for nested templates in adduser, modify, and selfmodify
37 lines
1.4 KiB
Cheetah
37 lines
1.4 KiB
Cheetah
## -*- coding: utf-8 -*-
|
|
<%inherit file="base.tmpl"/>
|
|
<%block name="core">
|
|
<div class="row clearfix" style="margin-top:30px">
|
|
<div class="col-md-4 column"></div>
|
|
<div class="col-md-4 column well">
|
|
<form method='POST' role="form" class="form-signin"
|
|
% if url:
|
|
action='login?url=${url | u}'
|
|
% else:
|
|
action='login'
|
|
% endif
|
|
>
|
|
<div class="form-group">
|
|
<h2 class="form-signin-heading">Please sign in</h2>
|
|
<div class="input-group">
|
|
<span class="input-group-addon glyphicon glyphicon-user"></span>
|
|
<input type="text" class="form-control" name="login" placeholder="Login" required autofocus>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<span class="input-group-addon glyphicon glyphicon-lock"></span>
|
|
<input type="password" class="form-control" name="password" placeholder="Password" required>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<button class="btn btn-default blue" type="submit"><span class="glyphicon glyphicon-off"></span> Sign in</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="col-md-4 column"></div>
|
|
</div>
|
|
</%block>
|