diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-08-29 16:55:32 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-08-29 16:55:32 +0200 |
commit | a17700800cf475587ab3d0eb6acee91a56b5b40a (patch) | |
tree | b77e8b509dc3118fa1c01034f491188cdca4e272 /templates/part.addfolder.php | |
parent | 08ddaba792128f801f8dcab1f52e435ef7984bf1 (diff) |
add folder drop down
Diffstat (limited to 'templates/part.addfolder.php')
-rw-r--r-- | templates/part.addfolder.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/part.addfolder.php b/templates/part.addfolder.php new file mode 100644 index 000000000..3fb48526e --- /dev/null +++ b/templates/part.addfolder.php @@ -0,0 +1,26 @@ +<li class="add-new"> + <div class="heading icon-add"> + <button + data-apps-slide-toggle="#new-folder" + news-focus="[name='folderName']"><?php p($l->t('New Folder'))?></button> + </div> + + <div class="add-new-popup" id="new-folder"> + + <form ng-submit="Navigation.createFolder(folderName)" name="folderform"> + + <!-- add a folder --> + <input type="text" + ng-model="folderName" + placeholder="<?php p($l->t('Folder name')); ?>" + title="<?php p($l->t('Folder name')); ?>" + name="folderName" + required + news-auto-focus> + + <input type="submit" + value="<?php p($l->t('Subscribe')); ?>" + class="primary"> + </form> + </div> +</li> |