Files
qztool/backend/resources/views/oauth/consent.blade.php
T

29 lines
1.0 KiB
PHP
Raw Normal View History

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>授权访问 · 轻舟</title>
<style>
body { margin: 0; font-family: "Microsoft YaHei", sans-serif; background: #f3f7f6; color: #1c1917; }
main { max-width: 420px; margin: 12vh auto; background: #fff; padding: 28px; border-radius: 16px; }
button { background: #0f4c5c; color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; }
a { color: #0f4c5c; }
</style>
</head>
<body>
<main>
<h1>{{ $client->name }} 申请访问你的轻舟账号</h1>
<p>将读取:{{ implode('、', $scopes) }}</p>
<form method="post" action="{{ url('/oauth/authorize') }}">
@csrf
@foreach ($query as $key => $value)
<input type="hidden" name="{{ $key }}" value="{{ $value }}">
@endforeach
<input type="hidden" name="confirm" value="1">
<button type="submit">同意并继续</button>
<a href="{{ config('qz.frontend_url') }}">取消</a>
</form>
</main>
</body>
</html>