2013-12-09 16:32:28 +04:00
< div id = " app-navigation " >
2015-04-08 20:25:28 +03:00
< ul class = " with-icon " >
2017-06-09 16:41:06 +03:00
< li id = " quota " class = " section <?php
if ( $_ [ 'quota' ] !== \OCP\Files\FileInfo :: SPACE_UNLIMITED ) {
?> has-tooltip" title="<?php
p ( $l -> t ( '%s %%' , [ $_ [ 'usage_relative' ]]));
}
?> ">
< a href = " # " class = " nav-icon-quota svg " >
< p id = " quotatext " >< ? php p ( $l -> t ( '%s of %s used' , [ $_ [ 'usage' ], $_ [ 'total_space' ]])); ?> </p>
< div class = " quota-container " >
< div style = " width:<?php p( $_['usage_relative'] );?>% "
< ? php if ( $_ [ 'usage_relative' ] > 80 ) : ?> class="quota-warning"<?php endif; ?>>
</ div >
</ div >
< p id = " quotatext-additional " >< ? php p ( $l -> t ( 'Do you need more space?' )); ?> </p>
</ a >
</ li >
2014-05-08 18:24:24 +04:00
< ? php foreach ( $_ [ 'navigationItems' ] as $item ) { ?>
2015-04-08 20:25:28 +03:00
< li data - id = " <?php p( $item['id'] ) ?> " class = " nav-<?php p( $item['id'] ) ?> " >
< a href = " <?php p(isset( $item['href'] ) ? $item['href'] : '#') ?> "
2015-04-14 17:17:24 +03:00
class = " nav-icon-<?php p( $item['icon'] !== '' ? $item['icon'] : $item['id'] ) ?> svg " >
2015-04-08 20:25:28 +03:00
< ? php p ( $item [ 'name' ]); ?>
</ a >
</ li >
2014-05-08 18:24:24 +04:00
< ? php } ?>
2013-12-09 16:32:28 +04:00
</ ul >
< div id = " app-settings " >
< div id = " app-settings-header " >
2014-12-17 14:20:38 +03:00
< button class = " settings-button " data - apps - slide - toggle = " #app-settings-content " >
2015-06-17 15:37:58 +03:00
< ? php p ( $l -> t ( 'Settings' )); ?>
2014-12-17 14:20:38 +03:00
</ button >
2013-12-09 16:32:28 +04:00
</ div >
< div id = " app-settings-content " >
2016-04-12 18:10:09 +03:00
< div id = " files-setting-showhidden " >
< input class = " checkbox " id = " showhiddenfilesToggle " checked = " checked " type = " checkbox " >
< label for = " showhiddenfilesToggle " >< ? php p ( $l -> t ( 'Show hidden files' )); ?> </label>
</ div >
< label for = " webdavurl " >< ? php p ( $l -> t ( 'WebDAV' )); ?> </label>
< input id = " webdavurl " type = " text " readonly = " readonly " value = " <?php p( \ OCP \ Util::linkToRemote('webdav')); ?> " />
< em >< ? php print_unescaped ( $l -> t ( 'Use this address to <a href="%s" target="_blank" rel="noreferrer">access your Files via WebDAV</a>' , array ( link_to_docs ( 'user-webdav' )))); ?> </em>
2013-12-09 16:32:28 +04:00
</ div >
</ div >
</ div >