<div class="ip">
    <div class="ipAdminWidgetToolbar hidden" id="ipWidgetImageMenu">
        <div class="btn-toolbar" role="toolbar">
            <div class="btn-group">
                <button class="btn btn-controls ipsEdit" role="button"><i class="fa fa-edit"></i></button>
                <button class="btn btn-controls ipsLink" role="button"><i class="fa fa-link"></i></button>
                <button class="btn btn-controls ipsSettings" role="button"><i class="fa fa-gears"></i></button>
                <button class="btn btn-controls ipsActualSize" role="button"><i class="fa fa-refresh"></i></button>
            </div>
        </div>
    </div>
    <div id="ipWidgetImageEditPopup" class="modal"><?php /*Fade breaks image management*/?>
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title"><?php _e('Edit image', 'Demotic-admin'); ?></h4>
                </div>
                <div class="modal-body">
                    <div class="ipsEditScreen"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal"><?php _e('Cancel', 'Demotic-admin'); ?></button>
                    <button type="button" class="btn btn-primary ipsConfirm"><?php _e('Confirm', 'Demotic-admin'); ?></button>
                </div>
            </div>
        </div>
    </div>
    <div id="ipWidgetImageLinkPopup" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title"><?php _e('Link', 'Demotic-admin'); ?></h4>
                </div>
                <div class="modal-body">
                    <?php echo $linkForm; ?>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal"><?php _e('Cancel', 'Demotic-admin'); ?></button>
                    <button type="button" class="btn btn-primary ipsConfirm"><?php _e('Confirm', 'Demotic-admin'); ?></button>
                </div>
            </div>
        </div>
    </div>
    <div id="ipWidgetImageSettingsPopup" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title"><?php _e('Settings', 'Demotic-admin'); ?></h4>
                </div>
                <div class="modal-body">
                    <?php echo $settingsForm; ?>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal"><?php _e('Cancel', 'Demotic-admin'); ?></button>
                    <button type="button" class="btn btn-primary ipsConfirm"><?php _e('Confirm', 'Demotic-admin'); ?></button>
                </div>
            </div>
        </div>
    </div>
</div>
