1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-18 14:10:28 +00:00
TiddlyWiki5/core/ui/PageControls/controlpanel.tid

20 lines
860 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
\define control-panel-button(class)
<$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
2014-07-29 09:20:13 +00:00
{{$:/core/images/options-button}}
</$list>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-text>prefix[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[$:/StoryList]] +[field:title[$:/ControlPanel]]" emptyMessage=<<control-panel-button>>>
<<control-panel-button "tc-selected">>
</$list>