mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-26 07:13:15 +00:00
Add first pass at a tag manager
As independently suggested by @Skeeve and @Spangenhelm
This commit is contained in:
parent
a1a5ada68f
commit
cf4eed0129
|
@ -10,6 +10,7 @@ Recent/Caption: Recent
|
||||||
Shadows/Caption: Shadows
|
Shadows/Caption: Shadows
|
||||||
System/Caption: System
|
System/Caption: System
|
||||||
Tags/Caption: Tags
|
Tags/Caption: Tags
|
||||||
|
Tags/TagManager/Caption: Tag Manager
|
||||||
Tags/Untagged/Caption: untagged
|
Tags/Untagged/Caption: untagged
|
||||||
Tools/Caption: Tools
|
Tools/Caption: Tools
|
||||||
Types/Caption: Types
|
Types/Caption: Types
|
||||||
|
|
|
@ -2,6 +2,9 @@ title: $:/core/ui/MoreSideBar/Tags
|
||||||
tags: $:/tags/MoreSideBar
|
tags: $:/tags/MoreSideBar
|
||||||
caption: {{$:/language/SideBar/Tags/Caption}}
|
caption: {{$:/language/SideBar/Tags/Caption}}
|
||||||
|
|
||||||
|
\define lingo-base() $:/language/SideBar/Tags/
|
||||||
|
<$button to="$:/TagManager"><<lingo TagManager/Caption>></$button>
|
||||||
|
|
||||||
<$list filter="[tags[]sort[title]]">
|
<$list filter="[tags[]sort[title]]">
|
||||||
|
|
||||||
<$transclude tiddler="$:/core/ui/TagTemplate"/> <small class="tw-menu-list-count"><$count filter="[is[current]tagging[]]"/></small>
|
<$transclude tiddler="$:/core/ui/TagTemplate"/> <small class="tw-menu-list-count"><$count filter="[is[current]tagging[]]"/></small>
|
||||||
|
|
16
core/ui/TagManager.tid
Normal file
16
core/ui/TagManager.tid
Normal 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>
|
|
@ -3,6 +3,7 @@ modified: 20131202102344517
|
||||||
title: $:/DefaultTiddlers
|
title: $:/DefaultTiddlers
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
|
$:/TagManager
|
||||||
HelloThere
|
HelloThere
|
||||||
GettingStarted
|
GettingStarted
|
||||||
Upgrading
|
Upgrading
|
||||||
|
|
Loading…
Reference in New Issue
Block a user