git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
warn about non-configured search adapter during indexing
[phorkie.git]
/
data
/
templates
/
login.htm
diff --git
a/data/templates/login.htm
b/data/templates/login.htm
index 154994adde15a1dd613178f441631c01dc722ff7..2863409077af1f222b9af3fe169e339da648cb96 100644
(file)
--- a/
data/templates/login.htm
+++ b/
data/templates/login.htm
@@
-1,30
+1,34
@@
{% extends "base.htm" %}
{% block title %}Login{% endblock %}
{% extends "base.htm" %}
{% block title %}Login{% endblock %}
+{% block meta %}
+<meta name="robots" content="noindex"/>
+{% endblock %}
+
{% block content %}
<link rel="stylesheet" href="css/openid.css" />
{% block content %}
<link rel="stylesheet" href="css/openid.css" />
-<form method="post" action="/auth" id="openid_form">
- <input id="start" name="start" type="hidden" value="submit" />
- <input id="sreg" name="sreg" type="hidden" value="on" />
- <input id="ax" name="ax" type="hidden" value="on" />
+<form method="post" action="login" id="openid_form">
<fieldset>
<legend>Sign-in</legend>
<div id="openid_choice" style="display: block; ">
<p>Please choose your account provider</p>
<div id="openid_btns">
<fieldset>
<legend>Sign-in</legend>
<div id="openid_choice" style="display: block; ">
<p>Please choose your account provider</p>
<div id="openid_btns">
- <a title="Google" href="
/auth?identifier=https://www.google.com/accounts/o8/id&ax=on&sreg=on&start=submit
" class="google openid_large_btn"></a>
- <a title="Yahoo" href="
/auth?identifier=http://yahoo.com&ax=on&sreg=on&start=submit
" class="yahoo openid_large_btn"></a>
+ <a title="Google" href="
login?openid_url=https://www.google.com/accounts/o8/id
" class="google openid_large_btn"></a>
+ <a title="Yahoo" href="
login?openid_url=http://yahoo.com/
" class="yahoo openid_large_btn"></a>
</div>
<div id="openid_input_area">
<p>or enter your OpenID URL.</p>
</div>
<div id="openid_input_area">
<p>or enter your OpenID URL.</p>
- <input
class="" id="identifier" type="text" name="identifier" value="http://"
>
- <input class="btn
" id="openid_submit" type="submit" value="Sign-In"
>
+ <input
id="openid_url" type="text" name="openid_url" value="{{openid}}" /
>
+ <input class="btn
btn-primary" id="openid_submit" type="submit" value="Sign in" /
>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</fieldset>
</form>
+<script type="text/javascript">
+document.getElementById('openid_url').focus();
+</script>
{% endblock %}
{% endblock %}