
<!-- Add images-->

<div class="add-new-container pull-left">
    <span ng-click="addImages()" class="flo-slider-button blue "><?php _e( 'Add Slideshow Images', 'flo-slider' );?></span>
</div>

<div class="flo-with-images" ng-show=" slides.length > 0 ">

    <!-- Delete all images-->
    <div class="pull-right flo-margin-btn">
        <span  
                confirmed-click="deleteAllSlides()" 
                confirm-text="<?php _e('Delete images', 'flo-slider') ?>"
                ng-confirm-click="<?php _e('Are you sure you want to delete all images <br> from this slider?', 'flo-slider') ?>"     
                class="flo-slider-button white "

        ><?php _e( 'Delete all', 'flo-slider' );?></span>
    </div>
    
    <!-- Randomize images-->
   

        <div class="pull-right on-hover flo-margin-btn">
            <span  class="flo-slider-button blue "><?php _e( 'Options', 'flo-slider' );?></span>

            <div class="flo-show-hover">
            
                <div class="pull-right flo-margin-btn">
                    <span 
                        confirm-text="<?php _e("Sure, randomize!", 'flo-slider') ?>"
                        confirmed-click="randomizeOrder()" 
                        ng-confirm-click="<?php _e('Are you sure you want to shuffle all slides?<br>This cannot be undone!', 'flo-slider') ?>"     
                        class="flo-slider-button blue "><?php _e( 'Randomize order', 'flo-slider' );?></span>
                </div>

                <!-- Reverse images-->
                <div class="pull-right flo-margin-btn">
                    <span ng-click="reverseOrder()" class="flo-slider-button blue "><?php _e( 'Reverse order', 'flo-slider' );?></span>
                </div>

             </div>
        </div>

        
    

     <!-- AJAX save -->
    <div class="pull-right flo-margin-btn save-changes-wrapper" ng-if=" postid ">
        <span ng-click="save_all()" class="flo-slider-button yellow "><?php _e( 'Save all changes', 'flo-slider' );?></span>
    </div>


</div>

<div class="clear"></div>