Activate simple Nextcloud directory selector popup #96

This commit is contained in:
the-djmaze 2022-10-19 10:15:03 +02:00
parent 5abc6a3034
commit f53dab1baa
5 changed files with 131 additions and 66 deletions

View file

@ -1,12 +1,13 @@
<header>
<a class="close" href="#" data-bind="click: close">×</a>
<h3 data-i18n="NEXTCLOUD/BROWSE"></h3>
<h3 data-i18n="NEXTCLOUD/SELECT_FOLDER" data-bind="hidden:files"></h3>
<h3 data-i18n="NEXTCLOUD/SELECT_FILES" data-bind="visible:files"></h3>
</header>
<div class="modal-body form-horizontal">
<!--
TODO: built tree of directories and optional files
In case of directories: radiobutton to select one OR click selects
In case of files: checkbox to select (multiple)
-->
<ul id="sm-nc-files-tree"></ul>
</div>
<footer>
<a class="btn" data-bind="command: select" data-i18n="NEXTCLOUD/SELECT"></a>
</footer>