* Re-add flash warning to registrations mobile * Remove excess :css * Fix littles css errors
48 lines
1.6 KiB
Text
48 lines
1.6 KiB
Text
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3 or later. See
|
|
-# the COPYRIGHT file.
|
|
|
|
:css
|
|
.navbar-fixed-top{display: none;}
|
|
|
|
.session_mobile
|
|
.landing
|
|
%h1{:class =>"session"}
|
|
= "#{pod_name}"
|
|
|
|
#main_stream.stream
|
|
- flash.each do |name, msg|
|
|
%p{:class => "login_#{name}"}= msg
|
|
#flash_alert.expose
|
|
%div{:class => "message", :id => "session"}= msg
|
|
|
|
#login_form
|
|
.login-container
|
|
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
|
|
%fieldset
|
|
%legend
|
|
= image_tag('branding/header-logo2x.png', :height => 40, :width => 40)
|
|
= t('devise.sessions.new.login').upcase
|
|
|
|
.control-group
|
|
= f.label :username, t('username').upcase
|
|
.controls
|
|
= f.text_field :username, :autofocus => true
|
|
|
|
.control-group
|
|
= f.label :password , t('password').upcase
|
|
.controls
|
|
= f.password_field :password
|
|
|
|
= hidden_field(:user, :remember_me, :value => 1)
|
|
|
|
.controls
|
|
= f.submit t('devise.sessions.new.sign_in'), :class => 'btn primary'
|
|
- if display_registration_link?
|
|
= link_to t('devise.shared.links.sign_up'), new_registration_path(resource_name), :class => 'btn primary', :style => "float: right;"
|
|
|
|
%footer
|
|
- if display_password_reset_link?
|
|
= link_to t('devise.passwords.new.forgot_password'), new_password_path(resource_name)
|
|
|
|
= link_to t('layouts.application.toggle'), toggle_mobile_path
|