-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86bdfb0
commit 5390cdc
Showing
4 changed files
with
63 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
<app-page id="notes" title="Notes"> | ||
<template slot="bar-right"> | ||
<button v-on:click="app.toPage('draw')" title="Open draw"><i class="fas fa-paint-brush"></i></button> | ||
<button v-on:click="app.toPage('note', 'New note.txt')" title="Create new note"><i class="fa fa-plus"></i></button> | ||
<button v-on:click="app.toPage('note', path + 'New note.txt')" title="Create new note"><i class="fa fa-plus"></i></button> | ||
<button v-on:click="onShow()" title="Refresh"><i class="fas fa-sync"></i></button> | ||
</template> | ||
<article class="tiles"> | ||
<div class="tile" v-on:click="openNote(note)" v-for="note in notes"> | ||
<p>{{ note.name }}</p> | ||
<p class="tile-value"> | ||
<i v-if="note.type === 'dir'" class="fas fa-folder"></i> | ||
<i v-else class="fas fa-file"></i> | ||
</p> | ||
</div> | ||
</article> | ||
</app-page> |