文字修改
This commit is contained in:
parent
0166854dc3
commit
76c701678c
|
@ -2,15 +2,7 @@
|
|||
<p>当前用户: <%= current_user.login %></p>
|
||||
|
||||
<p>
|
||||
<%= form_for oauth_authorize_path do%>
|
||||
<input type="hidden" name="gen_code" value="true">
|
||||
<input type="hidden" name="client_id" value="<%= @data["client_id"] %>">
|
||||
<input type="hidden" name="redirect_uri" value="<%= @data["redirect_uri"] %>">
|
||||
<input type="hidden" name="response_type" value="<%= @data["response_type"] %>">
|
||||
<input type="hidden" name="scope" value="<%= @data["scope"] %>">
|
||||
<input type="hidden" name="state" value="<%= @data["state"] %>">
|
||||
<button type="submit">是否授权</button>
|
||||
<% end %>
|
||||
|
||||
</p>
|
||||
<% end %>
|
||||
<link href="//at.alicdn.com/t/font_930423_4z0tgi8hlb9.css" rel="stylesheet"/>
|
||||
|
@ -19,10 +11,19 @@
|
|||
<div class="clearfix" style="width: 100%;">
|
||||
<span class="fl mr20"><i class="iconfont f40 icon-oschina c_grey"></i></span>
|
||||
<div class="fl">
|
||||
<p><span class="c_blue">trustie</span>将获得以下权限</p>
|
||||
<p><span class="c_blue">码云</span>将获得以下权限</p>
|
||||
<p><input type="checkbox" checked="checked" disabled class="checked-choose"/>获得您的昵称、头像、性别</p>
|
||||
<a href="javascript:void(0)" class="auth-login-btn mr20">授权并登录</a>
|
||||
<a href="javascript:void(0)" class="auth-cancel-btn mr20">拒绝</a>
|
||||
<%= form_for oauth_authorize_path do%>
|
||||
<input type="hidden" name="gen_code" value="true">
|
||||
<input type="hidden" name="client_id" value="<%= @data["client_id"] %>">
|
||||
<input type="hidden" name="redirect_uri" value="<%= @data["redirect_uri"] %>">
|
||||
<input type="hidden" name="response_type" value="<%= @data["response_type"] %>">
|
||||
<input type="hidden" name="scope" value="<%= @data["scope"] %>">
|
||||
<input type="hidden" name="state" value="<%= @data["state"] %>">
|
||||
<button class="auth-login-btn mr20" type="submit">授权并登录</button>
|
||||
<% end %>
|
||||
<a href="<%= @data['redirect_uri'] %>?error=access_denied&error_description=用户或服务器拒绝了请求" class="auth-cancel-btn mr20">拒绝</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue