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