This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
pyoidc-ozwillo/oc3/htdocs/login.mako

40 lines
1.1 KiB
Mako

<%inherit file="root.mako" />
<%def name="title()">Log in</%def>
<div class="login_form" class="block">
<form action="${action}" method="post" class="login form">
<input type="hidden" name="query" value="${query}"/>
<input type="hidden" name="acr_values" value="${acr}"/>
<table>
<tr>
<td>Username</td>
<td><input type="text" name="login" value="${login}"/></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password"
value="${password}"/></td>
</tr>
<tr>
</td>
<td><input type="submit" name="form.commit"
value="Log In"/></td>
</tr>
</table>
</form>
% if logo_uri:
<img src="${logo_uri}" alt="Client logo">
% endif
% if policy_uri:
<a href="${policy_uri}"><b>Client policy</b></a>
% endif
</div>
<%def name="add_js()">
<script type="text/javascript">
$(document).ready(function() {
bookie.login.init();
});
</script>
</%def>