mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-28 03:11:01 +00:00
aa9ce272dc
* add host and protocol options * some fiddling * tidying up and comments * tick off /oauth/token * tidying a bit * tidying * go mod tidy * allow attaching middleware to server * add middleware * more user friendly * add comments * comments * store account + app * tidying * lots of restructuring * lint + tidy
34 lines
1.1 KiB
Cheetah
34 lines
1.1 KiB
Cheetah
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>GoToSocial Authorization</title>
|
|
<link
|
|
rel="stylesheet"
|
|
href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
|
|
/>
|
|
<script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="jumbotron">
|
|
<form action="/oauth/authorize" method="POST">
|
|
<h1>Hi {{.user}}!</h1>
|
|
<p>Application <b>{{.appname}}</b> {{if len .appwebsite | eq 0 | not}}({{.appwebsite}}) {{end}}would like to perform actions on your behalf, with scope <em>{{.scope}}</em>.</p>
|
|
<p>The application will redirect to {{.redirect}} to continue.</p>
|
|
<p>
|
|
<button
|
|
type="submit"
|
|
class="btn btn-primary btn-lg"
|
|
style="width:200px;"
|
|
>
|
|
Allow
|
|
</button>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|