1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-13 07:49:42 +00:00
TiddlyWiki5/core/templates/ViewTemplate.tid
Jeremy Ruston 136ecee41e Refactor the core icons to be inline SVG fragments
This allows us to style the images with CSS, which means we finally get
hover effects on our toolbar buttons
2013-05-15 18:45:24 +01:00

20 lines
995 B
Plaintext

title: $:/templates/ViewTemplate
modifier: JeremyRuston
<span class="title"><span class="tw-tiddler-controls"><$button popup="$:/state/tiddlerDropdown" 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="popup" state="$:/state/tiddlerDropdown" position="belowleft" qualifyTiddlerTitles="yes"><div class="tw-drop-down"><$transclude template="$:/templates/TiddlerDropdown"></$transclude></div>
</$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="$:/templates/TagTemplate" /></div>
<div class="body">
<$view field="text" format="wikified">
</$view>
</div>