Browse Source

better ui

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
e8318dd839
  1. 6
      app/views/devise/confirmations/new.html.erb
  2. 6
      app/views/devise/passwords/new.html.erb
  3. 6
      app/views/devise/registrations/new.html.erb
  4. 6
      app/views/devise/sessions/new.html.erb
  5. 3
      app/views/devise/shared/_links.erb
  6. 6
      app/views/devise/unlocks/new.html.erb
  7. 1
      app/views/shared/_bottom.html.erb

6
app/views/devise/confirmations/new.html.erb

@ -1,6 +1,4 @@
<div class="page-header">
<h1>Resend confirmation instructions</h1>
</div>
<%= render :partial => "devise/shared/links" %>
<%= simple_form_for(resource,
as: resource_name,
@ -18,5 +16,3 @@
<%= f.submit "Resend confirmation instructions", class: 'btn btn-primary' %>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>

6
app/views/devise/passwords/new.html.erb

@ -1,6 +1,4 @@
<div class="page-header">
<h1>Forgot your password?</h1>
</div>
<%= render :partial => "devise/shared/links" %>
<%= simple_form_for(resource,
as: resource_name,
@ -18,5 +16,3 @@
<%= f.submit "Send me reset password instructions", class: 'btn btn-primary' %>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>

6
app/views/devise/registrations/new.html.erb

@ -1,6 +1,4 @@
<div class="page-header">
<h1>Sign up</h1>
</div>
<%= render :partial => "devise/shared/links" %>
<%= simple_form_for(resource,
as: resource_name,
@ -23,5 +21,3 @@
<%= f.submit "Sign up", class: 'btn btn-primary' %>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>

6
app/views/devise/sessions/new.html.erb

@ -1,6 +1,4 @@
<div class="page-header">
<h1>Sign in</h1>
</div>
<%= render :partial => "devise/shared/links" %>
<%= simple_form_for(resource,
as: resource_name,
@ -20,5 +18,3 @@
<%= f.submit "Sign in", class: 'btn btn-primary' %>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>

3
app/views/devise/shared/_links.erb

@ -1,4 +1,5 @@
<% semantic_navigation :devise_nav, html: { class: 'nav nav-pills pjax-nav' } do |n| %>
<br />
<% semantic_navigation :devise_nav, html: { class: 'nav nav-tabs pjax-nav' } do |n| %>
<%= n.item "Sign in", link: new_session_path(resource_name) %>
<%= n.item "Sign up", link: new_registration_path(resource_name) %>
<%= n.item "Forgot your password?", link: new_password_path(resource_name) %>

6
app/views/devise/unlocks/new.html.erb

@ -1,6 +1,4 @@
<div class="page-header">
<h1>Resend unlock instructions</h1>
</div>
<%= render :partial => "devise/shared/links" %>
<%= simple_form_for(resource,
as: resource_name,
@ -18,5 +16,3 @@
<%= f.submit "Resend unlock instructions", class: 'btn btn-primary' %>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>

1
app/views/shared/_bottom.html.erb

@ -2,7 +2,6 @@
<div class="block">
<p class="pull-right">
<%= switch_user_select %>
<a href="#">Back to top</a>
</p>
<% semantic_navigation :footer_nav, html: { class: 'nav nav-pills pjax-nav' } do |n| %>

Loading…
Cancel
Save