mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Remove the view switcher and the zoomer and chooser
This commit is contained in:
parent
9f6909ddc4
commit
55783a8f5d
@ -3,16 +3,6 @@ title: $:/templates/PageTemplate
|
||||
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
|
||||
<<navigator><
|
||||
|
||||
<!-- Zooming chooser -->
|
||||
{{navigation-panel{
|
||||
<<chooser><
|
||||
((( [!is[shadow]sort[title]] )) <div><<view title link>></div> )
|
||||
>>
|
||||
}}}
|
||||
|
||||
<!-- Zooming navigator -->
|
||||
<<zoomigator>>
|
||||
|
||||
<!-- The top navigation bar -->
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
@ -56,10 +46,7 @@ title: $:/templates/PageTemplate
|
||||
<!-- Full screen button -->
|
||||
<<button full-screen class:"btn btn-warning"><Full screen>>
|
||||
|
||||
<!-- View button -->
|
||||
<<button popup:ViewDropDownState class:"btn btn-danger"><View <span class="caret"></span>>>
|
||||
|
||||
<!-- View dropdown -->
|
||||
<!-- Edit button dropdown -->
|
||||
{{pull-right{
|
||||
<<reveal state:[[$:/EditMode]] type:nomatch text:yes><
|
||||
<<button modal param:[[$:/messages/EnterEditMode]] set:[[$:/EditMode]] setTo:yes class:"btn btn-success"><Edit>>
|
||||
@ -76,18 +63,6 @@ title: $:/templates/PageTemplate
|
||||
|
||||
}}}
|
||||
|
||||
<!-- This navigator intercepts navigation events and sets the text of the specified tiddler to the target tiddler title -->
|
||||
<<navigator set:[[$:/CurrentView]]><
|
||||
<<reveal state:ViewDropDownState type:popup position:below><
|
||||
<div class="open">
|
||||
{{dropdown-menu tw-suppress-missing-tiddlylink{
|
||||
* <<link to:classic>< <<reveal state:[[$:/CurrentView]] type:match text:classic>< <span class="tw-ticked-menu-item"></span> >> Classic>>
|
||||
* <<link to:sideways>< <<reveal state:[[$:/CurrentView]] type:match text:sideways>< <span class="tw-ticked-menu-item"></span> >> Sideways>>
|
||||
* <<link to:zoomin>< <<reveal state:[[$:/CurrentView]] type:match text:zoomin>< <span class="tw-ticked-menu-item"></span> >> Zoomin>>
|
||||
}}}
|
||||
</div>
|
||||
>>
|
||||
>>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,16 +3,6 @@ title: $:/templates/PageTemplate
|
||||
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
|
||||
<<navigator><
|
||||
|
||||
<!-- Zooming chooser -->
|
||||
{{navigation-panel{
|
||||
<<chooser><
|
||||
((( [!is[shadow]sort[title]] )) <div><<view title link>></div> )
|
||||
>>
|
||||
}}}
|
||||
|
||||
<!-- Zooming navigator -->
|
||||
<<zoomigator>>
|
||||
|
||||
<!-- The top navigation bar -->
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
@ -30,10 +20,7 @@ title: $:/templates/PageTemplate
|
||||
<!-- Full screen button -->
|
||||
<<button full-screen class:"btn btn-warning"><Full screen>>
|
||||
|
||||
<!-- View button -->
|
||||
<<button popup:ViewDropDownState class:"btn btn-danger"><View <span class="caret"></span>>>
|
||||
|
||||
<!-- View dropdown -->
|
||||
<!-- Edit button -->
|
||||
{{pull-right{
|
||||
<<reveal state:[[$:/EditMode]] type:nomatch text:yes><
|
||||
<<button modal param:[[$:/messages/EnterEditMode]] set:[[$:/EditMode]] setTo:yes class:"btn btn-success"><Edit>>
|
||||
@ -50,25 +37,13 @@ title: $:/templates/PageTemplate
|
||||
|
||||
}}}
|
||||
|
||||
<!-- This navigator intercepts navigation events and sets the text of the specified tiddler to the target tiddler title -->
|
||||
<<navigator set:[[$:/CurrentView]]><
|
||||
<<reveal state:ViewDropDownState type:popup position:below><
|
||||
<div class="open">
|
||||
{{dropdown-menu tw-suppress-missing-tiddlylink{
|
||||
* <<link to:classic>< <<reveal state:[[$:/CurrentView]] type:match text:classic>< <span class="tw-ticked-menu-item"></span> >> Classic>>
|
||||
* <<link to:sideways>< <<reveal state:[[$:/CurrentView]] type:match text:sideways>< <span class="tw-ticked-menu-item"></span> >> Sideways>>
|
||||
* <<link to:zoomin>< <<reveal state:[[$:/CurrentView]] type:match text:zoomin>< <span class="tw-ticked-menu-item"></span> >> Zoomin>>
|
||||
}}}
|
||||
</div>
|
||||
>>
|
||||
>>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- The main story references the same story and history tiddlers as the outer navigator -->
|
||||
<div class="container">
|
||||
<<list filter:"[list[$:/StoryList]]" history:"$:/HistoryList" template:"$:/templates/ViewTemplate" editTemplate:"$:/templates/EditTemplate" listview:classic >>
|
||||
<<list filter:"[list[$:/StoryList]]" history:"$:/HistoryList" template:"$:/templates/ViewTemplate" editTemplate:"$:/templates/EditTemplate" listview:classic itemClass:"tw-tiddler-frame">>
|
||||
</div>
|
||||
|
||||
>>
|
||||
|
@ -22,7 +22,7 @@ title: $:/templates/PageTemplate
|
||||
|
||||
<!-- The main story references the same story and history tiddlers as the outer navigator -->
|
||||
<div class="container">
|
||||
<<list filter:"[list[$:/StoryList]]" history:"$:/HistoryList" template:"$:/templates/ViewTemplate" editTemplate:"$:/templates/EditTemplate" listview:classic >>
|
||||
<<list filter:"[list[$:/StoryList]]" history:"$:/HistoryList" template:"$:/templates/ViewTemplate" editTemplate:"$:/templates/EditTemplate" listview:classic itemClass:"tw-tiddler-frame">>
|
||||
</div>
|
||||
|
||||
>>
|
||||
|
Loading…
Reference in New Issue
Block a user