summaryrefslogtreecommitdiffstats
path: root/.editorconfig
AgeCommit message (Expand)Author
2016-04-20copy to build directory before packagingBernhard Posselt
2016-04-08add editor configBernhard Posselt
'n13' href='#n13'>13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
<li class="add-new">
    <div class="heading">
        <button
            class="icon-add"
            data-apps-slide-toggle="#new-folder"
            news-focus="#new-folder [name='folderName']">
                <?php p($l->t('New Folder'))?>
        </button>
    </div>

    <div class="add-new-popup" id="new-folder">

        <form ng-submit="Navigation.createFolder(folder)" name="folderform">
            <fieldset ng-disabled="Navigation.addingFolder">
            <!-- add a folder -->
                <input type="text"
                       ng-class="{
                            'ng-invalid': !Navigation.addingFolder &&
                                Navigation.folderNameExists(folder.name)
                        }"
                       ng-model="folder.name"
                       placeholder="<?php p($l->t('Folder name')); ?>"
                       title="<?php p($l->t('Folder name')); ?>"
                       name="folderName"
                       required>

                <p class="error" ng-show="!Navigation.addingFolder &&
                    Navigation.folderNameExists(folder.name)">
                    <?php p($l->t('Folder exists already!')); ?>
                </p>

                <input type="submit"
                    value="<?php p($l->t('Create')); ?>"
                    class="primary"
                    ng-disabled="Navigation.folderNameExists(folder.name)">
            </fieldset>
        </form>
    </div>
</li>