generated from example/golang-server-template
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>oauth2 example</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<style>
|
|
.primary {
|
|
color: #42b883;
|
|
}
|
|
.bg-primary {
|
|
background-color: #42b883;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1 class="p-6 max-w-xs mx-auto text-center font-medium text-lg">授权</h1>
|
|
<form class="p-6 max-w-xs mx-auto bg-white rounded-xl shadow-lg gap-x-4" action="/v1/oauth2/authorize" method="post">
|
|
<p></p>
|
|
<p class="flex justify-center">
|
|
<span onclick="javascrtpt:window.history.back()" class="bg-gray-400 cursor-pointer text-white text-center rounded-full flex px-6 py-1">取 消</span>
|
|
<button type="submit" class="bg-primary text-white text-center rounded-full flex px-6 py-1 ml-4">同意授权</button>
|
|
</p>
|
|
</form>
|
|
<p class="p-6 max-w-xs mx-auto text-center text-sm text-neutral-400">授权后会重定向到之前的应用</p>
|
|
</body>
|
|
</html>
|