Skip to content

Commit

Permalink
Some more changes to login page to make it consistent with admin pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncheow authored and xaviershay committed Jan 23, 2009
1 parent 9812496 commit efa813b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/sessions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1><%=h config[:title] %></h1>
<h1><%= link_to(h(config[:title]), '/') %></h1>
<% if flash[:error] %><p><%= flash[:error] %></p><% end %>
<% form_tag(admin_session_path) do -%>
<h2>Stop! Who are you?</h2>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/login.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
<div id="nav">
<ul>
<li><%= link_to("View Site", '/', :title => config[:title]) %></li>
<li><%= link_to("View Site", '/', :title => 'View Site') %></li>
</ul>
</div>
</div>
Expand Down
11 changes: 8 additions & 3 deletions public/stylesheets/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,23 @@ body {
color: #222222;
}

form {
#content a {
color: #222222;
text-decoration: none;
}

#content form {
margin: 10px auto;
background-color: #ececec;
padding: 0.2em 1em;
width: 34em;
}

input[type="checkbox"] {
#content input[type="checkbox"] {
vertical-align: bottom;
}

input[type="text"] {
#content input[type="text"] {
padding: 0.2em;
font-size: 1.3em;
font-family: "lucida grande", "lucida sans unicode", "lucida", sans-serif;
Expand Down

0 comments on commit efa813b

Please sign in to comment.