mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 06:55:51 +08:00
push login form to the bottom so its not hovering on the top in lynx or google summary
This commit is contained in:
parent
202addb693
commit
f99d40b419
@ -23,16 +23,6 @@
|
||||
<body>
|
||||
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->
|
||||
|
||||
<% unless current_user %>
|
||||
<form id='hidden-login-form' method="post" action="<%=login_path%>" style="display: none;">
|
||||
<input name="username" type="text" id="signin_username">
|
||||
<input name="password" type="password" id="signin_password">
|
||||
<input name="redirect" type="hidden">
|
||||
<input name="authenticity_token" type="hidden" />
|
||||
<input type="submit" id="signin-button" value="Log In">
|
||||
</form>
|
||||
<% end %>
|
||||
|
||||
<%=SiteCustomization.custom_header(session[:preview_style])%>
|
||||
<section id='main'>
|
||||
<noscript data-path="<%= request.env['PATH_INFO'] %>">
|
||||
@ -55,6 +45,16 @@
|
||||
</noscript>
|
||||
</section>
|
||||
|
||||
<% unless current_user %>
|
||||
<form id='hidden-login-form' method="post" action="<%=login_path%>" style="display: none;">
|
||||
<input name="username" type="text" id="signin_username">
|
||||
<input name="password" type="password" id="signin_password">
|
||||
<input name="redirect" type="hidden">
|
||||
<input name="authenticity_token" type="hidden" />
|
||||
<input type="submit" id="signin-button" value="Log In">
|
||||
</form>
|
||||
<% end %>
|
||||
|
||||
<%- if @preloaded.present? %>
|
||||
<script>
|
||||
<%- @preloaded.each do |key, json| %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user