Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2015 05:17:12 PM (9 years ago)
Author:
imath
Message:

Avatar UI: Improve templates markup and general layout

avatar.css has been improved to maximize a nice display of the avatar UI in latest WordPress default themes and devices. General appearence has been also improved especially the camera view.

Props hnla

See #6290

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/crop.php

    r9766 r9799  
    1515        <img src="{{data.url}}"/>
    1616    </div>
    17     <div id="avatar-crop-pane" class="avatar" style="width:{{data.full_w}}px; height:{{data.full_h}}px">
    18         <img src="{{data.url}}" id="avatar-crop-preview"/>
    19     </div>
    20     <div id="avatar-crop-actions">
    21         <a class="button avatar-crop-submit" href="#"><?php esc_html_e( 'Crop Image', 'buddypress' ); ?></a>
     17    <div class="avatar-crop-management">
     18        <div id="avatar-crop-pane" class="avatar" style="width:{{data.full_w}}px; height:{{data.full_h}}px">
     19            <img src="{{data.url}}" id="avatar-crop-preview"/>
     20        </div>
     21        <div id="avatar-crop-actions">
     22            <a class="button avatar-crop-submit" href="#"><?php esc_html_e( 'Crop Image', 'buddypress' ); ?></a>
     23        </div>
    2224    </div>
    2325</script>
Note: See TracChangeset for help on using the changeset viewer.