appnavigation.php 1.0 KB

123456789101112131415161718192021222324252627
  1. <div id="app-navigation">
  2. <ul class="with-icon">
  3. <?php foreach ($_['navigationItems'] as $item) { ?>
  4. <li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?>">
  5. <a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>"
  6. class="nav-icon-<?php p($item['icon'] !== '' ? $item['icon'] : $item['id']) ?> svg">
  7. <?php p($item['name']);?>
  8. </a>
  9. </li>
  10. <?php } ?>
  11. </ul>
  12. <div id="app-settings">
  13. <div id="app-settings-header">
  14. <button class="settings-button" data-apps-slide-toggle="#app-settings-content">
  15. <span><?php p($l->t('Settings'));?></span>
  16. </button>
  17. </div>
  18. <div id="app-settings-content">
  19. <h2>
  20. <label for="webdavurl"><?php p($l->t('WebDAV'));?></label>
  21. </h2>
  22. <input id="webdavurl" type="text" readonly="readonly" value="<?php p(\OCP\Util::linkToRemote('webdav')); ?>" />
  23. <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>
  24. </div>
  25. </div>
  26. </div>