|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
{{ define "consent.tmpl" }}
|
|
|
|
|
<html lang="zh">
|
|
|
|
|
<head>
|
|
|
|
|
<title>授权确认</title>
|
|
|
|
|
<title>Confirm authorization</title>
|
|
|
|
|
{{ template "head.tmpl" }}
|
|
|
|
|
<style>
|
|
|
|
|
ul.scopes,
|
|
|
|
@ -134,13 +134,13 @@
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
应用程序
|
|
|
|
|
Application
|
|
|
|
|
<span class="app-name">{{ .clientName }}</span>
|
|
|
|
|
正请求
|
|
|
|
|
is requesting
|
|
|
|
|
<br />
|
|
|
|
|
读取
|
|
|
|
|
access to account
|
|
|
|
|
<span class="user-name">{{ .user.name }}</span>
|
|
|
|
|
的这些信息:
|
|
|
|
|
with the following scopes:
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<ul class="scopes">
|
|
|
|
@ -158,27 +158,27 @@
|
|
|
|
|
{{ if or .clientPolicy .clientTos }}
|
|
|
|
|
<ul class="app-terms">
|
|
|
|
|
{{ if .clientPolicy }}
|
|
|
|
|
<li><a href="{{ .clientPolicy }}" target="_blank" referrerpolicy="no-referrer">使用政策</a></li>
|
|
|
|
|
<li><a href="{{ .clientPolicy }}" target="_blank" referrerpolicy="no-referrer">Client Usage Policy</a></li>
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ if .clientTos }}
|
|
|
|
|
<li><a href="{{ .clientTos }}" target="_blank" referrerpolicy="no-referrer">服务条款</a></li>
|
|
|
|
|
<li><a href="{{ .clientTos }}" target="_blank" referrerpolicy="no-referrer">Terms of Service</a></li>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</ul>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="consent-notice">
|
|
|
|
|
<p>是否接受该请求?</p>
|
|
|
|
|
<p>Accept the request?</p>
|
|
|
|
|
|
|
|
|
|
<p class="remember">
|
|
|
|
|
<input type="checkbox" id="remember" name="remember" value="true" />
|
|
|
|
|
<label for="remember">记住我的选择</label>
|
|
|
|
|
<label for="remember">Remember my choice</label>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p class="buttons">
|
|
|
|
|
<button type="submit" name="action" value="reject" class="reject">拒绝</button>
|
|
|
|
|
<button type="submit" name="action" value="accept" class="accept">接受</button>
|
|
|
|
|
<button type="submit" name="action" value="reject" class="reject">Reject</button>
|
|
|
|
|
<button type="submit" name="action" value="accept" class="accept">Accept</button>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
</body>
|
|
|
|
|