mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 10:15:48 +08:00
a6eca28ec6
* wizard page inline js * print topic inline js * drop JS for preventing double submission this is the default behavior with Rails' UJS `disable_with` helper * omniauth complete redirect JS * account activate inline js
34 lines
985 B
Plaintext
34 lines
985 B
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= SiteSetting.title %></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<style type="text/css">
|
|
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
div.dialog {
|
|
width: 90%;
|
|
padding: 0 1em;
|
|
margin: 2em auto 0 auto;
|
|
border: 1px solid #ccc;
|
|
border-right-color: #999;
|
|
border-bottom-color: #999;
|
|
}
|
|
</style>
|
|
<%= tag.meta id: 'data-auth-result', data: {
|
|
auth_result: @auth_result.to_client_hash,
|
|
base_url: Discourse.base_url
|
|
} %>
|
|
<%= preload_script('omniauth-complete') %>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="dialog">
|
|
<p>
|
|
<%=t "login.auth_complete" %>
|
|
<a href="<%= Discourse.base_url.html_safe %>?authComplete=true"><%= t("login.click_to_continue") %></a>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|