aboutsummaryrefslogtreecommitdiff
path: root/templates/openid-selector.tmpl
blob: 393479865f4a34c891e67099b7a0bd3d92e282e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script type="text/javascript" src="ikiwiki/openid/jquery.js"></script>
<script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	openid.init('openid_identifier');
});
</script>
	
<form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
	<input type="hidden" name="do" value="signin" />
	<input type="hidden" name="action" value="verify" />
	<fieldset>
		<legend><TMPL_VAR LOGINLABEL></legend>
		<div id="openid_choice">
			<div id="openid_btns">
			</div>
			<TMPL_IF NONOPENIDURL>
			<a href="<TMPL_VAR NONOPENIDURL>">local account</a>
			</TMPL_IF>
		</div>
		<div id="openid_input_area">
			<input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/>
			<input id="openid_submit" type="submit" value="Login"/>
		</div>
		<TMPL_IF OPENID_ERROR>
		<div class="error"><TMPL_VAR OPENID_ERROR></div>
		</TMPL_IF>
	</fieldset>
</form>