1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 19:23:29 +00:00
TiddlyWiki5/core/templates/PageTemplate.tid
Jeremy Ruston 122e7bc770 Added dropdown for choosing the current view
It doesn't work fully yet
2012-06-20 17:42:49 +01:00

42 lines
1.0 KiB
Plaintext

title: $:/templates/PageTemplate
<div class="container-fluid">
<<story story:"$:/StoryTiddlers" storyview:scroller ><
{{navigation-panel{
<<chooser><<<list all>>>>
}}}
<<zoomer>>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
{{nav{
* HelloThere
* [[Introduction]]
* [[Docs]]
*{{divider-vertical}}
{{pull-right btn btn-info{
<<button popup:ViewDropDownState><View<span class="caret"></span>>>
}}}
}}}
<<linkcatcher store:[[$:/CurrentView]]><
<<reveal state:ViewDropDownState type:popup><
<div class="open">
{{dropdown-menu tw-suppress-missing-tiddlylink{
* <<link to:scroller>< <<hide tiddler:[[$:/CurrentView]] notequal:scroller>< <span class="tw-ticked-menu-item"></span> >> Classic>>
* <<link to:zoomin>< <<hide tiddler:[[$:/CurrentView]] notequal:zoomin>< <span class="tw-ticked-menu-item"></span> >> Zoomin>>
* <<link to:pasteboard>< <<hide tiddler:[[$:/CurrentView]] notequal:pasteboard>< <span class="tw-ticked-menu-item"></span> >> Pasteboard>>
}}}
</div>
>>
>>
</div>
</div>
</div>
>>
</div>