kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Starting to add the tag popups back
rodzic
a4141e4779
commit
b649bebad0
|
@ -1,30 +1,5 @@
|
|||
title: $:/templates/TagTemplate
|
||||
|
||||
{{btn-invisible tw-tag-button{
|
||||
<<button popup:"$:/temp/TagDropDownLocation" qualifyTiddlerTitles:yes><
|
||||
{{label{
|
||||
<<color background:yes default:#aaa><
|
||||
<<view title>>
|
||||
>>
|
||||
}}}
|
||||
>>
|
||||
}}}
|
||||
<<reveal state:"$:/temp/TagDropDownLocation" type:popup qualifyTiddlerTitles:yes><
|
||||
|
||||
<div class="open">
|
||||
|
||||
{{dropdown-menu{
|
||||
|
||||
* <<view title link>>
|
||||
*.divider
|
||||
* <<list filter:"[is[current]tagging[]]"><
|
||||
|
||||
<li><<view title link>></li>
|
||||
|
||||
>>
|
||||
|
||||
}}}
|
||||
|
||||
</div>
|
||||
|
||||
>>
|
||||
@@.label
|
||||
<_view field="title" format="text" />
|
||||
@@
|
||||
|
|
|
@ -2,16 +2,18 @@ title: $:/templates/ViewTemplate
|
|||
modifier: JeremyRuston
|
||||
|
||||
<span class="title">
|
||||
<_view field="title"/>
|
||||
<_button message="tw-close">close</_button>
|
||||
<$view field="title"/>
|
||||
<$button message="tw-close">close</$button>
|
||||
</span>
|
||||
|
||||
<div class="small">
|
||||
<_view field="modifier" format="link"/>
|
||||
<_view field="modified" format="date"/>
|
||||
<$view field="modifier" format="link"/>
|
||||
<$view field="modified" format="date"/>
|
||||
</div>
|
||||
|
||||
@@.tw-tags-wrapper <$list filter="[is[current]tags[]]" template="$:/templates/TagTemplate" />@@
|
||||
|
||||
<div class="body">
|
||||
<_view field="text" format="wikified">
|
||||
</_view>
|
||||
<$view field="text" format="wikified">
|
||||
</$view>
|
||||
</div>
|
||||
|
|
Ładowanie…
Reference in New Issue