mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
use tv-disable-storyview-scroll variable
This commit is contained in:
parent
8622d955f7
commit
6f8be1f42c
@ -77,6 +77,7 @@ $value={{{ [subfilter<get-field-value-tiddler-filter>get[text]] }}}/>
|
||||
<div class="tc-edit-fields">
|
||||
<table class={{{ [all[current]fields[]] :filter[lookup[$:/config/EditTemplateFields/Visibility/]!match[hide]] +[count[]!match[0]] +[then[tc-edit-fields]] ~[[tc-edit-fields tc-edit-fields-small]] }}}>
|
||||
<tbody>
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField" storyview="pop">
|
||||
<$list filter=<<config-filter>> variable="temp">
|
||||
<tr class="tc-edit-field">
|
||||
@ -96,6 +97,7 @@ $value={{{ [subfilter<get-field-value-tiddler-filter>get[text]] }}}/>
|
||||
</tr>
|
||||
</$list>
|
||||
</$list>
|
||||
</$set>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -47,6 +47,7 @@ tags: $:/tags/EditTemplate
|
||||
|
||||
\procedure edit-tags-template(tagField:"tags")
|
||||
<div class="tc-edit-tags">
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[<currentTiddler>get<tagField>enlist-input[]sort[title]]" storyview="pop">
|
||||
<$macrocall $name="tag-body"
|
||||
colour={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}
|
||||
@ -55,6 +56,7 @@ tags: $:/tags/EditTemplate
|
||||
tagField=<<tagField>>
|
||||
/>
|
||||
</$list>
|
||||
</$set>
|
||||
<$let tabIndex={{$:/config/EditTabIndex}} cancelPopups="yes">
|
||||
<$macrocall $name="tag-picker" tagField=<<tagField>>/>
|
||||
</$let>
|
||||
|
@ -15,6 +15,7 @@ caption: {{$:/language/Manager/Item/Tags}}
|
||||
\end
|
||||
|
||||
<p>
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[all[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] " variable="tag" storyview="pop">
|
||||
<div>
|
||||
<$checkbox tiddler=<<currentTiddler>> tag=<<tag>> actions=<<tag-checkbox-actions>>>
|
||||
@ -22,6 +23,7 @@ caption: {{$:/language/Manager/Item/Tags}}
|
||||
</$checkbox>
|
||||
</div>
|
||||
</$list>
|
||||
</$set>
|
||||
</p>
|
||||
<p>
|
||||
<$fieldmangler>
|
||||
|
@ -5,10 +5,12 @@ title: $:/core/ui/PageTemplate/pagecontrols
|
||||
|
||||
<div class="tc-page-controls">
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[<config-title>!text[hide]]" storyview="pop" variable="ignore">
|
||||
<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}>
|
||||
<$transclude $tiddler=<<listItem>> $mode="inline"/>
|
||||
</$let>
|
||||
</$list>
|
||||
</$set>
|
||||
</$list>
|
||||
</div>
|
@ -3,6 +3,10 @@ tags: $:/tags/PageTemplate
|
||||
|
||||
<div class="tc-alerts">
|
||||
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Alert]!has[draft.of]]" template="$:/core/ui/AlertTemplate" storyview="pop"/>
|
||||
|
||||
</$set>
|
||||
|
||||
</div>
|
||||
|
@ -3,10 +3,14 @@ tags: $:/tags/PageTemplate
|
||||
|
||||
<span class="tc-topbar tc-topbar-left">
|
||||
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]" variable="listItem" storyview="pop">
|
||||
|
||||
<$transclude tiddler=<<listItem>> mode="inline"/>
|
||||
|
||||
</$list>
|
||||
|
||||
</$set>
|
||||
|
||||
</span>
|
||||
|
@ -3,10 +3,14 @@ tags: $:/tags/PageTemplate
|
||||
|
||||
<span class="tc-topbar tc-topbar-right">
|
||||
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]" variable="listItem" storyview="pop">
|
||||
|
||||
<$transclude tiddler=<<listItem>> mode="inline"/>
|
||||
|
||||
</$list>
|
||||
|
||||
</$set>
|
||||
|
||||
</span>
|
||||
|
@ -23,17 +23,17 @@ $button$
|
||||
</$droppable>
|
||||
\end
|
||||
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<div class="tc-sidebar-tab-open">
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[list<tv-story-list>]" history=<<tv-history-list>> storyview="pop">
|
||||
<div class="tc-sidebar-tab-open-item">
|
||||
<$macrocall $name="droppable-item" button="<$button message='tm-close-tiddler' tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class='tc-btn-invisible tc-btn-mini tc-small-gap-right'>{{$:/core/images/close-button}}</$button><$link/>"/>
|
||||
</div>
|
||||
</$list>
|
||||
</$set>
|
||||
<$tiddler tiddler="">
|
||||
<div>
|
||||
<$macrocall $name="droppable-item" button="<$button message='tm-close-all-tiddlers' class='tc-btn-invisible tc-btn-mini'><<lingo Button>></$button>"/>
|
||||
</div>
|
||||
</$tiddler>
|
||||
</div>
|
||||
</$set>
|
||||
|
@ -3,7 +3,9 @@ title: $:/core/ui/ViewTemplate/tags/default
|
||||
\whitespace trim
|
||||
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
|
||||
<div class="tc-tags-wrapper">
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/>
|
||||
</$set>
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Tags]!has[draft.of]]">
|
||||
<$transclude mode="inline"/>
|
||||
</$list>
|
||||
|
@ -7,6 +7,7 @@ tags: $:/tags/ViewTemplate
|
||||
<div class="tc-tiddler-title tc-clearfix">
|
||||
<div class="tc-titlebar">
|
||||
<span class="tc-tiddler-controls">
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] :filter[lookup[$:/config/ViewToolbarButtons/Visibility/]!match[hide]]"
|
||||
storyview="pop"
|
||||
variable="listItem"
|
||||
@ -15,6 +16,7 @@ tags: $:/tags/ViewTemplate
|
||||
<$transclude tiddler=<<listItem>>/>
|
||||
</$set>
|
||||
</$list>
|
||||
</$set>
|
||||
</span>
|
||||
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
|
||||
<$link>
|
||||
|
@ -37,9 +37,11 @@ code-body: yes
|
||||
|
||||
\define tabs-tab-list()
|
||||
\whitespace trim
|
||||
<$list filter=<<__tabsList__>> variable="currentTab" storyview="pop">
|
||||
<$set name="tv-disable-storyview-scroll" value="yes">
|
||||
<$list filter=<<__tabsList__>> variable="currentTab" storyview="pop">
|
||||
<<tabs-tab>>
|
||||
</$list>
|
||||
</$list>
|
||||
</$set>
|
||||
\end
|
||||
|
||||
\define tabs-tab-body()
|
||||
|
Loading…
Reference in New Issue
Block a user