<div id="app-navigation">
 
        <!--主页面-->
    <div class="layui-side layui-bg-white">
    <div class="layui-side-scroll">
       <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul id="leftMenu" class="layui-nav layui-nav-tree" >
         
        <li class="layui-nav-item layui-nav-itemed">
          <a data-dir="/" data-id="files" data-view="files">
              <i class="ton  ton-down"></i> <span><?php p($l->t( '正在下载'));?></span></a>
          
        </li>
       <li class="layui-nav-item"><a data-dir="/" data-id="shareoverview" data-view="shareoverview" > <i class="ton ton-upload1"></i><span><?php p($l->t('正在上传'));?></span></a></li> 
       <li class="layui-nav-item"><a data-dir="/" data-id="trashbin" data-view="trashbin"> <i class="ton ton-complete"></i><span><?php p($l->t('传输完成'));?></span></a></li>
      </ul>
       
      
    </div>
  </div>
    
    
	<div id="app-settings">
             <ul id="usebill">
                <li id="quota"
                             class="pinned <?php
                             if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
                             ?>has-tooltip" title="<?php p($_['usage_relative'] . '%');
                     } ?>">
                             <a href="#" class="icon-quota svg">
                                     <p id="quotatext"><?php
                                             if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
                                                     p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']]));
                                             } else {
                                                     p($l->t('%s used', [$_['usage']]));
                                             } ?></p>
                                     <div class="quota-container">
                                             <progress value="<?php p($_['usage_relative']); ?>"
                                                               max="100"
                                                     <?php if ($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress>
                                     </div>
                             </a>
                     </li>
            </ul>
		 
	</div>

</div>
 <!--文件列表-->
 <div id="app-content">

	<?php if (!$_['isIE']) { ?>
		<input type="checkbox" class="hidden-visually" id="showgridview"
			<?php if($_['showgridview']) { ?>checked="checked" <?php } ?>/>
		<label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>"
			title="<?php p($l->t('Toggle grid view'))?>"></label>
	<?php } ?>

	<?php foreach ($_['appContents'] as $content) { ?>
	<div id="app-content-<?php p($content['id']) ?>" class="hidden viewcontainer">
	<?php print_unescaped($content['content']) ?>
	</div>
	<?php } ?>
	<div id="searchresults" class="hidden"></div>
</div><!-- closing app-content -->

<!-- config hints for javascript -->
<input type="hidden" name="filesApp" id="filesApp" value="1" />
<input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" />
<input type="hidden" name="owner" id="owner" value="<?php p($_['owner']); ?>" />
<input type="hidden" name="ownerDisplayName" id="ownerDisplayName" value="<?php p($_['ownerDisplayName']); ?>" />
<input type="hidden" name="fileNotFound" id="fileNotFound" value="<?php p($_['fileNotFound']); ?>" />
<?php if (!$_['isPublic']) :?>
<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" />
<input type="hidden" name="defaultFileSorting" id="defaultFileSorting" value="<?php p($_['defaultFileSorting']) ?>" />
<input type="hidden" name="defaultFileSortingDirection" id="defaultFileSortingDirection" value="<?php p($_['defaultFileSortingDirection']) ?>" />
<input type="hidden" name="showHiddenFiles" id="showHiddenFiles" value="<?php p($_['showHiddenFiles']); ?>" />
<?php endif;

foreach ($_['hiddenFields'] as $name => $value) {?>
<input type="hidden" name="<?php p($name) ?>" id="<?php p($name) ?>" value="<?php p($value) ?>" />
<?php } ?>
 