]> source.dussan.org Git - redmine.git/commitdiff
Adds a Save button at the end of the account form for mobile devices (#19097).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Nov 2015 12:50:26 +0000 (12:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Nov 2015 12:50:26 +0000 (12:50 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14852 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/account.html.erb
public/stylesheets/application.css
public/stylesheets/responsive.css

index 2d7aa9a513e28b42f1ad66cec99e9607bbb0423c..ca8a1441ebe40c23f0e986a96baaa05e1494641a 100644 (file)
@@ -34,7 +34,7 @@
   <%= call_hook(:view_my_account, :user => @user, :form => f) %>
 </fieldset>
 
-<%= submit_tag l(:button_save) %>
+<p class="mobile-hide"><%= submit_tag l(:button_save) %></p>
 </div>
 
 <div class="splitcontentright">
@@ -49,6 +49,7 @@
   <%= call_hook(:view_my_account_preferences, :user => @user, :form => f) %>
 </fieldset>
 
+<p class="mobile-show"><%= submit_tag l(:button_save) %></p>
 </div>
 <% end %>
 
index f06244f1b7acd719c70e30b8e47e032034f6af1d..6bcca0a00ef0233871b868720424f6be25e18467 100644 (file)
@@ -104,6 +104,8 @@ input#openid_url { background: url(../images/openid-bg.gif) no-repeat; backgroun
 
 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
 
+.mobile-show {display: none;}
+
 /***** Links *****/
 a, a:link, a:visited{ color: #169; text-decoration: none; }
 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
index 6e4c2451a8127fc43daa471cfb6f4aff8f783fb6..d51f439ad0e943901320370a01c6bd7697615821 100644 (file)
         E) UX ELEMENTS
     \*----------------------------------------*/
 
+    .mobile-hide {display:none;}
+    .mobile-show {display:initial;}
+
     /* Contextual Buttons */
 
     #content>.contextual