Skip to content

Commit

Permalink
Altered placement of login links.
Browse files Browse the repository at this point in the history
  • Loading branch information
Slotos committed Jul 4, 2012
1 parent 7cb2675 commit d725540
Showing 1 changed file with 34 additions and 32 deletions.
66 changes: 34 additions & 32 deletions lib/casserver/views/login.erb
Original file line number Original file line Diff line number Diff line change
@@ -1,35 +1,37 @@
<%# coding: UTF-8 -%> <%# coding: UTF-8 -%>
<table id="login-box"> <div id="login-box">
<tr> <table>
<td colspan="2"> <tr>
<div id="headline-container"> <td colspan="2">
<strong><%= escape_html @organization %></strong> <div id="headline-container">
<%= t.label.central_login_title %> <strong><%= escape_html @organization %></strong>
</div> <%= t.label.central_login_title %>
</td> </div>
</tr> </td>
</tr>


<% if @message %> <% if @message %>
<tr> <tr>
<td colspan="2" id="messagebox-container"> <td colspan="2" id="messagebox-container">
<div class="messagebox <%= escape_html @message[:type] %>"> <div class="messagebox <%= escape_html @message[:type] %>">
<%= escape_html @message[:message] %> <%= escape_html @message[:message] %>
</div> </div>
</td> </td>
</tr> </tr>
<% end %> <% end %>


<tr> <tr>
<td id="logo-container"> <td id="logo-container">
<img id="logo" src="<%= escape_html @uri_path %>/themes/<%= @theme %>/logo.png" /> <img id="logo" src="<%= escape_html @uri_path %>/themes/<%= @theme %>/logo.png" />
</td> </td>
<td id="login-form-container"> <td id="login-form-container">
<%= erb(:_login_form, :layout => false) %> <%= erb(:_login_form, :layout => false) %>
</td> </td>
<td id="login-links-container"> </tr>
<% settings.login_links.each do |link| %> </table>
<%= erb link %> <div id="login-links-container">
<% end %> <% settings.login_links.each do |link| %>
</td> <%= erb link %>
</tr> <% end %>
</table> </div>
</div>

0 comments on commit d725540

Please sign in to comment.