mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Move to precompiled handlebars templates.
In Nextcloud 15 the default Content Security Policy disallows unsafe eval expressions, so Handlebars templates can no longer be compiled at runtime. Fix issue #18
This commit is contained in:
1 parent
d1d1f1a2f6
commit
6bac24030d
10 files changed
+105
-97
No files matched your search
@@ -0,0 +1,33 @@
|
||||
<div id="new-note-fixed">
|
||||
<div>
|
||||
<button type="button" id="new-note" class="icon-add">{{newNoteTxt}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<li id="all-notes">
|
||||
<a href="#" class="icon-home svg">
|
||||
{{allNotesTxt}}
|
||||
</a>
|
||||
</li>
|
||||
<li id="colors-folder" class="collapsible open">
|
||||
<button class="collapse"></button>
|
||||
<a href="#" class="icon-search svg">{{colorsTxt}}</a>
|
||||
<ul>
|
||||
<li style="display: flex; justify-content: center;">
|
||||
<button class="circle-toolbar icon-checkmark any-color"></button>
|
||||
{{#each colors}}
|
||||
<button class="circle-toolbar" style="background-color: {{color}} "></button>
|
||||
{{/each}}
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li id="notes-folder" class="collapsible open">
|
||||
<button class="collapse"></button>
|
||||
<a href="#" class="icon-folder svg">{{notesTxt}}</a>
|
||||
<ul>
|
||||
{{#each notes}}
|
||||
<li class="note with-menu {{#if active}}active{{/if}}" data-id="{{ id }}">
|
||||
<a href="#">{{{ title }}}</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</li>
|
||||
Reference in new issue
Block a user