This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/examples/app/data/index.html

37 lines
775 B
HTML
Raw Normal View History

<html>
<body>
2016-06-20 23:33:43 +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>
</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-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" >
</form>
2016-06-20 23:33:43 +05:30
{{ end }}
{{ if not .OOB }}
<form action="/register">
2016-06-20 23:33:43 +05:30
<input type="submit" value="Register" />
</form>
2016-06-20 23:33:43 +05:30
{{ end }}
</body>
</html>