mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 10:30:28 +00:00
28b0b58a11
Templates are the low-level bits and pieces that allow TW5 to generate HTML and CSS renderings of tiddlers. The UI folder contains the user-visible UI of TW5
22 lines
972 B
Plaintext
22 lines
972 B
Plaintext
title: $:/core/ui/ViewTemplate
|
|
modifier: JeremyRuston
|
|
|
|
<span class="title"><span class="tw-tiddler-controls"><$button popup="$:/state/tiddlerInfo" qualifyTiddlerTitles="yes" class="btn-invisible">{{$:/core/images/info-button}}</$button><$button message="tw-edit-tiddler" class="btn-invisible">{{$:/core/images/edit-button}}</$button><$button message="tw-close-tiddler" class="btn-invisible">{{$:/core/images/close-button}}</$button>
|
|
|
|
</span><$view field="title"/></span>
|
|
|
|
<$reveal type="nomatch" text="" default="" state="$:/state/tiddlerInfo" qualifyTiddlerTitles="yes" class="tw-tiddler-info" animate="yes">
|
|
|
|
<$transclude template="$:/core/ui/TiddlerInfo"/>
|
|
|
|
</$reveal>
|
|
|
|
<div class="small"><$view field="modifier" format="link"/> <$view field="modified" format="relativedate"/></div>
|
|
|
|
<div class="tw-tags-wrapper"><$list filter="[is[current]tags[]]" template="$:/core/ui/TagTemplate" /></div>
|
|
|
|
<div class="body">
|
|
<$view field="text" format="wikified">
|
|
</$view>
|
|
</div>
|