Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jacobsen <andreasjacobsen93@gmail.com>2017-07-03 12:42:39 +0300
committerHendrik Leppelsack <hendrik@leppelsack.de>2017-07-03 12:42:39 +0300
commit40699f54c6e8796db49fd1cd423ecfb67efa185a (patch)
tree7bd67b8df249b14af46d1e9ce02833f40dca6b55 /templates/main.php
parentd744b8eb035224ff1203041c09f73b0fda409e04 (diff)
Changed 'new note' to button (#108)
* Changed 'create note' to button Signed-off-by: Andreas Jacobsen <andreasjacobsen93@gmail.com> * Removed unneeded css * Removed whitespace
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/main.php b/templates/main.php
index 71b93d80..51786d33 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -40,10 +40,12 @@ style('notes', [
</span>
</li>
<!-- new note button -->
- <li id="note-add" ng-click="create()"
+ <div id="note-add">
+ <button class="icon-add app-content-list-button ng-binding" id="new-note-button" type="button" name="button" ng-click="create()"
oc-click-focus="{ selector: '#app-content textarea' }">
- <a href='#'>+ <span><?php p($l->t('New note')); ?></span></a>
- </li>
+ <?php p($l->t('New note')); ?>
+ </button>
+ </div>
<!-- notes list -->
<li ng-repeat="note in filteredNotes = (notes| and:search | orderBy:['-favorite','-modified'])"
ng-class="{ active: note.id == route.noteId }">