mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-20 14:45:59 +00:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
created: 20141119191707140
|
|
creator: 127.0.0.1
|
|
modified: 20141119223956119
|
|
modifier: 127.0.0.1
|
|
tags: $:/tags/ViewTemplate
|
|
title: $:/core/ui/ViewTemplate/title
|
|
type: text/vnd.tiddlywiki
|
|
|
|
\define title-styles()
|
|
fill:$(foregroundColor)$;
|
|
\end
|
|
\define config-title()
|
|
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
|
\end
|
|
<div class="tc-tiddler-title">
|
|
<div class="tc-titlebar">
|
|
<span class="tc-tiddler-controls">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
|
|
</span>
|
|
<$set name="foregroundColor" value={{!!color}}>
|
|
<span style=<<title-styles>>>
|
|
<$transclude tiddler={{!!icon}}/>
|
|
</span>
|
|
</$set>
|
|
<$list filter="[all[current]removeprefix[$:/]]">
|
|
<h2 class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
|
|
<span class="tc-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
|
|
</h2>
|
|
</$list>
|
|
<$list filter="[all[current]!prefix[$:/]]">
|
|
<h2 class="tc-title">
|
|
<$transclude field="caption">
|
|
<$view field="title"/>
|
|
</$transclude>
|
|
</h2>
|
|
</$list>
|
|
</div>
|
|
|
|
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup" animate="yes" retain="yes">
|
|
|
|
<$transclude tiddler="$:/core/ui/TiddlerInfo"/>
|
|
|
|
</$reveal>
|
|
</div> |