mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 10:00:34 +00:00
77 lines
2.0 KiB
Plaintext
77 lines
2.0 KiB
Plaintext
title: $:/core/ui/ControlPanel/Plugins
|
|
tags: $:/tags/ControlPanel
|
|
caption: {{$:/language/ControlPanel/Plugins/Caption}}
|
|
|
|
\define lingo-base() $:/language/ControlPanel/Plugins/
|
|
\define popup-state-macro()
|
|
$(qualified-state)$-$(currentTiddler)$
|
|
\end
|
|
\define tabs-state-macro()
|
|
$(popup-state)$-$(pluginInfoType)$
|
|
\end
|
|
\define plugin-icon-title()
|
|
$(currentTiddler)$/icon
|
|
\end
|
|
\define plugin-table(type)
|
|
<$set name="qualified-state" value=<<qualify "$:/state/plugin-info">>>
|
|
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]">
|
|
<$set name="popup-state" value=<<popup-state-macro>>>
|
|
<$link to={{!!title}} class="tw-plugin-info">
|
|
<div class="tw-plugin-info-chunk">
|
|
<$reveal type="nomatch" state=<<popup-state>> text="yes">
|
|
<$button class="btn-invisible btn-dropdown" set=<<popup-state>> setTo="yes">
|
|
{{$:/core/images/right-arrow}}
|
|
</$button>
|
|
</$reveal>
|
|
<$reveal type="match" state=<<popup-state>> text="yes">
|
|
<$button class="btn-invisible btn-dropdown" set=<<popup-state>> setTo="no">
|
|
{{$:/core/images/down-arrow}}
|
|
</$button>
|
|
</$reveal>
|
|
</div>
|
|
<div class="tw-plugin-info-chunk">
|
|
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
|
|
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
|
|
</$transclude>
|
|
</div>
|
|
<div class="tw-plugin-info-chunk">
|
|
<div>
|
|
''<$view field="description"><$view field="title"/></$view>''
|
|
</div>
|
|
<div>
|
|
<$view field="title"/>
|
|
</div>
|
|
<div>
|
|
<$view field="version"/>
|
|
</div>
|
|
</div>
|
|
</$link>
|
|
<$reveal type="match" text="yes" state=<<popup-state>>>
|
|
<$reveal type="nomatch" text="" state="!!list">
|
|
<div class="tw-plugin-info-dropdown">
|
|
<$macrocall $name="tabs" state=<<tabs-state-macro>> tabsList={{!!list}} default="readme" template="$:/core/ui/PluginInfo"/>
|
|
</div>
|
|
</$reveal>
|
|
<$reveal type="match" text="" state="!!list">
|
|
<div class="tw-plugin-info-dropdown">
|
|
No information provided
|
|
</div>
|
|
</$reveal>
|
|
</$reveal>
|
|
</$set>
|
|
</$list>
|
|
</$set>
|
|
\end
|
|
|
|
! <<lingo Plugin/Prompt>>
|
|
|
|
<<plugin-table plugin>>
|
|
|
|
! <<lingo Theme/Prompt>>
|
|
|
|
<<plugin-table theme>>
|
|
|
|
! <<lingo Language/Prompt>>
|
|
|
|
<<plugin-table language>>
|