1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Add first pass at a tag manager

As independently suggested by @Skeeve and @Spangenhelm
This commit is contained in:
Jermolene 2014-02-25 20:14:16 +00:00
parent a1a5ada68f
commit cf4eed0129
4 changed files with 21 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Recent/Caption: Recent
Shadows/Caption: Shadows
System/Caption: System
Tags/Caption: Tags
Tags/TagManager/Caption: Tag Manager
Tags/Untagged/Caption: untagged
Tools/Caption: Tools
Types/Caption: Types

View File

@ -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>

16
core/ui/TagManager.tid Normal file
View File

@ -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>

View File

@ -3,6 +3,7 @@ modified: 20131202102344517
title: $:/DefaultTiddlers
type: text/vnd.tiddlywiki
$:/TagManager
HelloThere
GettingStarted
Upgrading