2013-11-10 21:40:03 +00:00
|
|
|
title: $:/core/ui/ControlPanel/Plugins
|
|
|
|
tags: $:/tags/ControlPanel
|
2014-02-15 13:29:24 +00:00
|
|
|
caption: {{$:/language/ControlPanel/Plugins/Caption}}
|
2013-11-10 21:40:03 +00:00
|
|
|
|
2014-02-15 13:29:24 +00:00
|
|
|
\define lingo-base() $:/language/ControlPanel/Plugins/
|
2014-08-07 14:48:38 +00:00
|
|
|
\define popup-state-macro()
|
|
|
|
$(qualified-state)$-$(currentTiddler)$
|
|
|
|
\end
|
|
|
|
\define tabs-state-macro()
|
|
|
|
$(popup-state)$-$(pluginInfoType)$
|
|
|
|
\end
|
|
|
|
\define plugin-icon-title()
|
|
|
|
$(currentTiddler)$/icon
|
|
|
|
\end
|
2014-03-13 17:43:18 +00:00
|
|
|
\define plugin-table(type)
|
2014-08-07 14:48:38 +00:00
|
|
|
<$set name="qualified-state" value=<<qualify "$:/state/plugin-info">>>
|
2014-03-13 17:43:18 +00:00
|
|
|
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]">
|
2014-08-07 14:48:38 +00:00
|
|
|
<$set name="popup-state" value=<<popup-state-macro>>>
|
2014-08-08 09:01:21 +00:00
|
|
|
<div class="tw-plugin-info">
|
|
|
|
<div class="tw-plugin-info-dropdown-button">
|
2014-08-07 14:48:38 +00:00
|
|
|
<$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>
|
2014-08-08 09:01:21 +00:00
|
|
|
</div>
|
|
|
|
<$link to={{!!title}} class="tw-plugin-info-link">
|
|
|
|
<div>
|
2014-08-08 15:35:17 +00:00
|
|
|
<div style="display:inline-block;vertical-align:middle;">
|
2014-08-08 09:01:21 +00:00
|
|
|
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
|
|
|
|
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
|
|
|
|
</$transclude>
|
|
|
|
</div>
|
2014-08-08 15:35:17 +00:00
|
|
|
<div style="display:inline-block;vertical-align:middle;">
|
2014-08-08 09:01:21 +00:00
|
|
|
<div>
|
|
|
|
''<$view field="description"><$view field="title"/></$view>''
|
|
|
|
</div>
|
|
|
|
<div>
|
2014-08-08 15:35:17 +00:00
|
|
|
<$view field="title"/>
|
2014-08-08 09:01:21 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2014-03-13 17:43:18 +00:00
|
|
|
<$view field="version"/>
|
2014-08-08 09:01:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</$link>
|
2014-08-07 14:48:38 +00:00
|
|
|
<$reveal type="match" text="yes" state=<<popup-state>>>
|
|
|
|
<$reveal type="nomatch" text="" state="!!list">
|
2014-08-08 09:01:21 +00:00
|
|
|
<div class="tw-plugin-info-dropdown">
|
2014-08-07 14:48:38 +00:00
|
|
|
<$macrocall $name="tabs" state=<<tabs-state-macro>> tabsList={{!!list}} default="readme" template="$:/core/ui/PluginInfo"/>
|
2014-08-08 09:01:21 +00:00
|
|
|
</div>
|
2014-08-07 14:48:38 +00:00
|
|
|
</$reveal>
|
|
|
|
<$reveal type="match" text="" state="!!list">
|
2014-08-08 09:01:21 +00:00
|
|
|
<div class="tw-plugin-info-dropdown">
|
|
|
|
No information provided
|
|
|
|
</div>
|
2014-08-07 14:48:38 +00:00
|
|
|
</$reveal>
|
|
|
|
</$reveal>
|
2014-08-08 09:01:21 +00:00
|
|
|
</div>
|
2014-08-07 14:48:38 +00:00
|
|
|
</$set>
|
2014-03-13 17:43:18 +00:00
|
|
|
</$list>
|
2014-08-07 14:48:38 +00:00
|
|
|
</$set>
|
2014-03-13 17:43:18 +00:00
|
|
|
\end
|
|
|
|
|
|
|
|
! <<lingo Plugin/Prompt>>
|
|
|
|
|
|
|
|
<<plugin-table plugin>>
|
|
|
|
|
|
|
|
! <<lingo Theme/Prompt>>
|
|
|
|
|
|
|
|
<<plugin-table theme>>
|
|
|
|
|
|
|
|
! <<lingo Language/Prompt>>
|
|
|
|
|
|
|
|
<<plugin-table language>>
|