mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 17:46:19 +00:00
add edit-button to variables exclude filter dropdown + styles
This commit is contained in:
parent
e976e90324
commit
62fd440fed
@ -258,24 +258,21 @@ tags: $:/tags/Global
|
||||
|
||||
\procedure variablesMorePopup()
|
||||
<span class="tc-popup-keep">
|
||||
<$button popup=<<qualify "$:/state/variableDropdown">> class="tc-btn-invisible">
|
||||
{{$:/core/images/down-arrow}}
|
||||
</$button>
|
||||
<$button popup=<<qualify "$:/state/variableDropdown">> class="tc-btn-invisible">
|
||||
{{$:/core/images/down-arrow}}
|
||||
</$button>
|
||||
</span>
|
||||
|
||||
<$reveal state=<<qualify "$:/state/variableDropdown">> type="popup" position="belowleft">
|
||||
<$reveal state=<<qualify "$:/state/variableDropdown">> type="popup" position="below">
|
||||
<$let name="tv-show-missing-links" value="yes">
|
||||
<$linkcatcher actions=<<lc-actions>> >
|
||||
<div class="tc-block-dropdown-wrapper">
|
||||
<div class="tc-block-dropdown tc-edit-type-dropdown">
|
||||
<div class="tc-block-dropdown tc-variables-dropdown">
|
||||
<$macrocall $name="list-tagged-draggable"
|
||||
tag="$:/tags/Variables/Exclude/Snippet"
|
||||
subFilter="!is[draft]"
|
||||
itemTemplate="$:/core/ui/AdvancedSearch/Variables/ItemTemplate"
|
||||
/>
|
||||
<!-- <$list filter="[all[shadows+tiddlers]tag[$:/tags/Variables/Exclude/Snippet]!is[draft]]"> -->
|
||||
<!-- <$link to={{!!text}}><$let tv-wikilinks="no"><$transclude field="description"/></$let></$link> -->
|
||||
<!-- </$list> -->
|
||||
<<addNewVariableFilter>>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -0,0 +1,16 @@
|
||||
title: $:/core/ui/AdvancedSearch/Variables/ItemTemplate
|
||||
|
||||
\whitespace trim
|
||||
|
||||
\procedure editSnippet()
|
||||
<$action-sendmessage $message="tm-edit-tiddler" title=<<currentTiddler>> />
|
||||
\end
|
||||
|
||||
<$link to={{!!text}} >
|
||||
<$let tv-wikilinks="no">
|
||||
<$transclude field="description"/>
|
||||
</$let>
|
||||
</$link>
|
||||
<$button actions=<<editSnippet>> class="tc-btn-invisible tc-small-gap-left">
|
||||
{{$:/core/images/edit-button}}
|
||||
</$button>
|
@ -1954,6 +1954,22 @@ html body.tc-body.tc-single-tiddler-window {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tc-block-dropdown-wrapper .tc-variables-dropdown {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tc-block-dropdown-wrapper .tc-variables-dropdown a {
|
||||
display: inline-block;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.tc-block-dropdown-wrapper .tc-variables-dropdown svg {
|
||||
height: .9rem;
|
||||
width: .9rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.tc-search-results {
|
||||
padding: 0 7px 0 7px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user