1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-30 22:56:17 +00:00
TiddlyWiki5/core/ui/PageControls/controlpanel.tid

22 lines
893 B
Plaintext
Raw Normal View History

title: $:/core/ui/Buttons/control-panel
2013-11-17 21:53:39 +00:00
tags: $:/tags/PageControls
2014-07-29 09:20:13 +00:00
caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}
2014-07-31 08:28:46 +00:00
description: {{$:/language/Buttons/ControlPanel/Hint}}
2013-11-17 21:53:39 +00:00
\whitespace trim
\define control-panel-button(class)
\whitespace trim
<$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
2014-07-29 09:20:13 +00:00
{{$:/core/images/options-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>match[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>
2014-07-29 09:20:13 +00:00
</$list>
</$button>
\end
<$list filter="[list<tv-story-list>] +[field:title[$:/ControlPanel]]" emptyMessage=<<control-panel-button>>>
<<control-panel-button "tc-selected">>
</$list>