mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-14 05:41:22 +00:00
Add first pass at a tag manager
As independently suggested by @Skeeve and @Spangenhelm
This commit is contained in:
@@ -2,6 +2,9 @@ title: $:/core/ui/MoreSideBar/Tags
|
||||
tags: $:/tags/MoreSideBar
|
||||
caption: {{$:/language/SideBar/Tags/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/SideBar/Tags/
|
||||
<$button to="$:/TagManager"><<lingo TagManager/Caption>></$button>
|
||||
|
||||
<$list filter="[tags[]sort[title]]">
|
||||
|
||||
<$transclude tiddler="$:/core/ui/TagTemplate"/> <small class="tw-menu-list-count"><$count filter="[is[current]tagging[]]"/></small>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
title: $:/TagManager
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Tag</th>
|
||||
<th>Colour</th>
|
||||
</tr>
|
||||
<$list filter="[tags[]sort[title]]">
|
||||
<tr>
|
||||
<td><$view field="title"/></td>
|
||||
<td><$edit-text field="color" tag="input" type="color"/></td>
|
||||
</tr>
|
||||
</$list>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user