Skip to content
Extraits de code Groupes Projets
Valider 9da69a4b rédigé par Sarah Mei's avatar Sarah Mei
Parcourir les fichiers

Mobile log in form is usable. Also, added mixins for sass.

parent 03961bce
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
.floating.login_form
%h3
= t('.login')
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
#user
%p.username
= f.label :username , t('username')
= f.text_field :username
%p.user_network
="@#{APP_CONFIG[:terse_pod_url]}"
%p
= f.label :password , t('password')
= f.password_field :password
= f.submit t('.sign_in')
%p
= render :partial => "devise/shared/links"
.alpha-warning
%h1
= t('.alpha_software')
%h3
= t('.bugs_and_feedback_mobile')
\ No newline at end of file
......@@ -11,7 +11,7 @@
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
= include_javascripts :mobile
= stylesheet_link_tag 'mobile', 'vendor/jquery_mobile.min'
= stylesheet_link_tag 'vendor/jquery_mobile.min', 'mobile'
= csrf_meta_tag
:javascript
......
......@@ -24,6 +24,7 @@ en:
remember_me: "Remember me"
alpha_software: 'You are about to use alpha software.'
bugs_and_feedback: 'Be advised, you will experience bugs. We encourage you to use the Feedback button on the right hand side of your browser to report any hiccups! We will work as fast as we can to resolve any issues you report.'
bugs_and_feedback_mobile: 'Be advised, you will experience bugs. We encourage you to report any hiccups! We will work as fast as we can to resolve any issues you report.'
modern_browsers: 'only supports modern browsers.'
signed_in: 'Signed in successfully.'
signed_out: 'Signed out successfully.'
......
......@@ -3,10 +3,9 @@
* the COPYRIGHT file.
*/
// $(document).bind("mobileinit", function(){
// $.extend( $.mobile , {
//
// ajaxLinksEnabled : false
// ajaxFormsEnabled : false
// });
// });
$(document).bind("mobileinit", function(){
$.extend( $.mobile , {
ajaxLinksEnabled : false,
ajaxFormsEnabled : false
});
});
@mixin mobile-box
:margin 10px
:padding 0 15px
:border 1px #999 solid
:'-moz-border-radius' 15px
:border-radius 15px
@import "mixins"
#landing_content
:text-align center
......@@ -29,18 +31,24 @@
:-moz-box-shadow 0 1px 3px #ccc
:box-shadow 0 1px 3px #ccc
.alpha-warning
@include mobile-box
.login_form
@include mobile-box
label
:font-weight bold
img
:border-radius 5px
ul
:list-style none
.avatar
:width 50px
:height 50px
:padding 0
li.message
:width 90%
:position relative
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter