1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

Adds a Save button at the end of the account form for mobile devices (#19097).

git-svn-id: http://svn.redmine.org/redmine/trunk@14852 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-11-08 12:50:26 +00:00
parent ecb1f660ac
commit 1251f9e9f5
3 changed files with 7 additions and 1 deletions

View 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 %>

View 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;}

View File

@ -649,6 +649,9 @@
E) UX ELEMENTS
\*----------------------------------------*/
.mobile-hide {display:none;}
.mobile-show {display:initial;}
/* Contextual Buttons */
#content>.contextual