9d38e3602b
- FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces
17 lines
792 B
PHP
17 lines
792 B
PHP
<div id="app-navigation">
|
|
<ul>
|
|
<?php foreach ($_['navigationItems'] as $item) { ?>
|
|
<li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?>"><a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>"><?php p($item['name']);?></a></li>
|
|
<?php } ?>
|
|
</ul>
|
|
<div id="app-settings">
|
|
<div id="app-settings-header">
|
|
<button class="settings-button"></button>
|
|
</div>
|
|
<div id="app-settings-content">
|
|
<h2><?php p($l->t('WebDAV'));?></h2>
|
|
<div><input id="webdavurl" type="text" readonly="readonly" value="<?php p(OC_Helper::linkToRemote('webdav')); ?>"></input></div>
|
|
<em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em>
|
|
</div>
|
|
</div>
|
|
</div>
|