2016-06-09 02:23:26 +05:30
|
|
|
<html>
|
|
|
|
<body>
|
2016-06-20 23:33:43 +05:30
|
|
|
|
2016-06-09 02:23:26 +05:30
|
|
|
<form action="/login">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td> Authenticate for:
|
|
|
|
<br>
|
|
|
|
(comma-separated list of client-ids)
|
|
|
|
</td>
|
2016-06-20 23:33:43 +05:30
|
|
|
<td> <input type="text" name="cross_client" > </td>
|
2016-06-09 02:23:26 +05:30
|
|
|
</tr>
|
|
|
|
</table>
|
2016-06-20 23:33:43 +05:30
|
|
|
{{ if .OOB }}
|
|
|
|
<input type="submit" value="Login" formtarget="_blank">
|
|
|
|
{{ else }}
|
|
|
|
<input type="submit" value="Login" >
|
|
|
|
{{ end }}
|
|
|
|
</form>
|
2016-06-09 02:23:26 +05:30
|
|
|
|
2016-06-20 23:33:43 +05:30
|
|
|
{{ if .OOB }}
|
|
|
|
<form action="/callback" method="get" >
|
|
|
|
Code
|
|
|
|
<input type="text" name="code" value="">
|
|
|
|
<br>
|
|
|
|
<input type="submit" value="Exchange Code" >
|
2016-06-09 02:23:26 +05:30
|
|
|
</form>
|
2016-06-20 23:33:43 +05:30
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if not .OOB }}
|
2016-06-09 02:23:26 +05:30
|
|
|
<form action="/register">
|
2016-06-20 23:33:43 +05:30
|
|
|
<input type="submit" value="Register" />
|
2016-06-09 02:23:26 +05:30
|
|
|
</form>
|
2016-06-20 23:33:43 +05:30
|
|
|
{{ end }}
|
2016-06-09 02:23:26 +05:30
|
|
|
</body>
|
|
|
|
</html>
|