mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Customers portal : Fixed a bug on profile picture edition. Button was not working on Firefox.
SVN:trunk[4254]
This commit is contained in:
@@ -59,10 +59,10 @@
|
|||||||
<img src="{{ sUserPhotoUrl }}"/>
|
<img src="{{ sUserPhotoUrl }}"/>
|
||||||
</span>
|
</span>
|
||||||
<span class="actions">
|
<span class="actions">
|
||||||
<button type="button" class="btn btn-default btn_edit">
|
<span type="button" class="btn btn-default btn_edit">
|
||||||
<span class="fa fa-pencil fa-fw"></span>
|
<span class="fa fa-pencil fa-fw"></span>
|
||||||
<input id="picture" type="file" name="picture" />
|
<input id="picture" type="file" name="picture" />
|
||||||
</button>
|
</span>
|
||||||
{#<button type="button" class="btn btn-default btn_undo" title="{{ 'UI:Button:ResetImage'|dict_s }}" disabled>
|
{#<button type="button" class="btn btn-default btn_undo" title="{{ 'UI:Button:ResetImage'|dict_s }}" disabled>
|
||||||
<span class="fa fa-undo fa-fw"></span>
|
<span class="fa fa-undo fa-fw"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -515,6 +515,10 @@ footer{
|
|||||||
max-height: 175px;
|
max-height: 175px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
#user-profile-wrapper .user_profile_picture .preview img{
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
#user-profile-wrapper .user_profile_picture .actions{
|
#user-profile-wrapper .user_profile_picture .actions{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top; /*middle;*/
|
vertical-align: top; /*middle;*/
|
||||||
|
|||||||
Reference in New Issue
Block a user