Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Altered placement of login links.

  • Loading branch information...
commit d725540121963170013d5c3f1ebb23aa71bca5da 1 parent 7cb2675
@Slotos authored
Showing with 34 additions and 32 deletions.
  1. +34 −32 lib/casserver/views/login.erb
View
66 lib/casserver/views/login.erb
@@ -1,35 +1,37 @@
<%# coding: UTF-8 -%>
-<table id="login-box">
- <tr>
- <td colspan="2">
- <div id="headline-container">
- <strong><%= escape_html @organization %></strong>
- <%= t.label.central_login_title %>
- </div>
- </td>
- </tr>
+<div id="login-box">
+ <table>
+ <tr>
+ <td colspan="2">
+ <div id="headline-container">
+ <strong><%= escape_html @organization %></strong>
+ <%= t.label.central_login_title %>
+ </div>
+ </td>
+ </tr>
- <% if @message %>
- <tr>
- <td colspan="2" id="messagebox-container">
- <div class="messagebox <%= escape_html @message[:type] %>">
- <%= escape_html @message[:message] %>
- </div>
- </td>
- </tr>
- <% end %>
+ <% if @message %>
+ <tr>
+ <td colspan="2" id="messagebox-container">
+ <div class="messagebox <%= escape_html @message[:type] %>">
+ <%= escape_html @message[:message] %>
+ </div>
+ </td>
+ </tr>
+ <% end %>
- <tr>
- <td id="logo-container">
- <img id="logo" src="<%= escape_html @uri_path %>/themes/<%= @theme %>/logo.png" />
- </td>
- <td id="login-form-container">
- <%= erb(:_login_form, :layout => false) %>
- </td>
- <td id="login-links-container">
- <% settings.login_links.each do |link| %>
- <%= erb link %>
- <% end %>
- </td>
- </tr>
-</table>
+ <tr>
+ <td id="logo-container">
+ <img id="logo" src="<%= escape_html @uri_path %>/themes/<%= @theme %>/logo.png" />
+ </td>
+ <td id="login-form-container">
+ <%= erb(:_login_form, :layout => false) %>
+ </td>
+ </tr>
+ </table>
+ <div id="login-links-container">
+ <% settings.login_links.each do |link| %>
+ <%= erb link %>
+ <% end %>
+ </div>
+</div>
Please sign in to comment.
Something went wrong with that request. Please try again.