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
|
title: $:/templates/TagTemplate
|
||||||
|
|
||||||
{{btn-invisible tw-tag-button{
|
@@.label
|
||||||
<<button popup:"$:/temp/TagDropDownLocation" qualifyTiddlerTitles:yes><
|
<_view field="title" format="text" />
|
||||||
{{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>
|
|
||||||
|
|
||||||
>>
|
|
||||||
|
|
|
@ -2,16 +2,18 @@ title: $:/templates/ViewTemplate
|
||||||
modifier: JeremyRuston
|
modifier: JeremyRuston
|
||||||
|
|
||||||
<span class="title">
|
<span class="title">
|
||||||
<_view field="title"/>
|
<$view field="title"/>
|
||||||
<_button message="tw-close">close</_button>
|
<$button message="tw-close">close</$button>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="small">
|
<div class="small">
|
||||||
<_view field="modifier" format="link"/>
|
<$view field="modifier" format="link"/>
|
||||||
<_view field="modified" format="date"/>
|
<$view field="modified" format="date"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@.tw-tags-wrapper <$list filter="[is[current]tags[]]" template="$:/templates/TagTemplate" />@@
|
||||||
|
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<_view field="text" format="wikified">
|
<$view field="text" format="wikified">
|
||||||
</_view>
|
</$view>
|
||||||
</div>
|
</div>
|
||||||
|
|
Ładowanie…
Reference in New Issue