Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2015 05:17:12 PM (11 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/camera.php

    r9785 r9799  
    1818        <# } else { #>
    1919                <div id="avatar-to-crop"></div>
    20                 <div id="avatar-crop-pane" class="avatar" style="width:{{data.w}}px; height:{{data.h}}px"></div>
    21                 <div id="avatar-crop-actions">
    22                         <a class="button avatar-webcam-capture" href="#"><?php esc_html_e( 'Capture', 'buddypress' );?></a>
    23                         <a class="button avatar-webcam-save" href="#"><?php esc_html_e( 'Save', 'buddypress' );?></a>
     20                <div class="avatar-crop-management">
     21                        <div id="avatar-crop-pane" class="avatar" style="width:{{data.w}}px; height:{{data.h}}px"></div>
     22                        <div id="avatar-crop-actions">
     23                                <a class="button avatar-webcam-capture" href="#"><?php esc_html_e( 'Capture', 'buddypress' );?></a>
     24                                <a class="button avatar-webcam-save" href="#"><?php esc_html_e( 'Save', 'buddypress' );?></a>
     25                        </div>
    2426                </div>
    2527        <# } #>
Note: See TracChangeset for help on using the changeset viewer.