2014-02-25 20:14:16 +00:00
|
|
|
title: $:/TagManager
|
|
|
|
|
2014-03-20 20:55:59 +00:00
|
|
|
\define lingo-base() $:/language/TagManager/
|
2014-08-09 19:50:28 +00:00
|
|
|
\define iconEditorTab(type)
|
|
|
|
<$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]">
|
|
|
|
<$link to={{!!title}}>
|
|
|
|
<$transclude/> <$view field="title"/>
|
|
|
|
</$link>
|
|
|
|
</$list>
|
|
|
|
\end
|
2014-03-12 21:56:46 +00:00
|
|
|
\define iconEditor(title)
|
2014-08-28 17:21:08 +00:00
|
|
|
<div class="tc-drop-down-wrapper">
|
2014-08-28 21:22:40 +00:00
|
|
|
<$edit-text field="icon" tag="input" size="20"/> <$button popup=<<qualify "$:/state/popup/icon/$title$">> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}}</$button>
|
2014-08-09 12:12:23 +00:00
|
|
|
<$reveal state=<<qualify "$:/state/popup/icon/$title$">> type="popup" position="belowleft" text="" default="">
|
2014-08-28 17:21:08 +00:00
|
|
|
<div class="tc-drop-down">
|
2014-03-12 21:56:46 +00:00
|
|
|
<$linkcatcher to="$title$!!icon">
|
2014-08-09 19:50:28 +00:00
|
|
|
<<iconEditorTab type:"!">>
|
2014-08-09 19:52:31 +00:00
|
|
|
<hr/>
|
2014-08-09 19:50:28 +00:00
|
|
|
<<iconEditorTab type:"">>
|
2014-03-12 21:56:46 +00:00
|
|
|
</$linkcatcher>
|
2014-08-09 12:12:23 +00:00
|
|
|
</div>
|
2014-03-12 21:56:46 +00:00
|
|
|
</$reveal>
|
|
|
|
</div>
|
|
|
|
\end
|
2014-02-25 20:14:16 +00:00
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2014-03-20 20:55:59 +00:00
|
|
|
<th><<lingo Tag/Heading>></th>
|
|
|
|
<th><<lingo Count/Heading>></th>
|
|
|
|
<th><<lingo Colour/Heading>></th>
|
|
|
|
<th><<lingo Icon/Heading>></th>
|
2014-02-25 20:14:16 +00:00
|
|
|
</tr>
|
2014-03-12 20:05:34 +00:00
|
|
|
<$list filter="[tags[]!is[system]sort[title]]">
|
2014-02-25 20:14:16 +00:00
|
|
|
<tr>
|
2014-02-25 21:22:15 +00:00
|
|
|
<td><$transclude tiddler="$:/core/ui/TagTemplate"/></td>
|
2014-04-03 19:49:16 +00:00
|
|
|
<td><$count filter="[all[current]tagging[]]"/></td>
|
2014-05-05 17:42:25 +00:00
|
|
|
<td><$edit-text field="color" tag="input" type="text" size="9"/> <$edit-text field="color" tag="input" type="color"/></td>
|
2014-03-12 21:56:46 +00:00
|
|
|
<td><$macrocall $name="iconEditor" title={{!!title}}/></td>
|
2014-02-25 20:14:16 +00:00
|
|
|
</tr>
|
|
|
|
</$list>
|
|
|
|
</tbody>
|
|
|
|
</table>
|