<div style="height: 100%">
    <div class="storage-top">
        <ul class="nav">
            <button ng-repeat="menu in menuBtn " ng-click="menu.events()" id="{::{menu.id}}" ng-class="{'current':menu.ifDisable}" ng-disabled="menu.ifDisable">
                <i class="icon {{::menu.icon}}"></i>
                <span class="text">{{::menu.text}}</span>
            </button>
        </ul>
    </div>
    <div class="box-storage" style="height: calc(100% - 80px);">
        <div class="box-item storage-right" ng-class="{true:'list-empty' , false:''}[files.total==0]"
            chkall ng-item-check="OnItemClick" ng-check-all="OnCheckAll" ng-contextmenu="OnContextmenu">
            <recyclebin-list ng-show="files.total!==0" contextmenu="contextmenu" files="files.result">
            </recyclebin-list>
        </div>
    </div>
    <div class="foot">
        <pager pager-id="pagerFiles" page-info="files" groups="10" ng-click="on_pager"></pager>
    </div>
</div>
<div ng-cloak ng-show="!files.total" class="list-empty">
</div>
<script type="text/ng-template" id="folderRepeat.html">
    <div class="dialog" style="width: 450px;">
        <div class="dialog-head">还原文件</div>
        <div class="dialog-center repeat-center">
            <p>还原的位置已经包含了同名的文件夹，请选择你的操作：</p>
            <div class="center-repeat">
                <p class="folder-name">已有文件夹：</p>
                <p class="folder-content"> {{show_file.old.name }}
                    <br> 修改时间：{{show_file.old.delete_time }}
                </p>
                <p class="folder-name" style="padding-top: 17px;">正在还原的文件夹：</p>
                <p class="folder-content">
                    {{show_file.recover.name }}
                    <br> 修改时间：{{show_file.recover.delete_time }}
                </p>
            </div>
            <div class="center-check ">
                <md-checkbox ng-model="chk_all" aria-label="为其中的1个重名文件夹都执行此操作">
                    为其中的1个重名文件夹都执行此操作
                </md-checkbox>
            </div>
        </div>
        <div class="dialog-footer repeat-footer">
            <a class="btn" ng-click="close()">取消</a>
            <a class="btn repeat_btn" ng-click="jumpOver(1)">保留两个文件夹</a>
            <a class="btn repeat_btn" ng-click="jumpOver(0)">跳过</a>
        </div>
    </div>
</script>