mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 03:19:56 +00:00
957b17a78c
There's a wizard for switching into edit mode, and selective display of UI elements
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
title: $:/templates/PageTemplate
|
|
|
|
<<navigator story:"$:/StoryTiddlers" history:"$:/History" ><
|
|
|
|
{{navigation-panel{
|
|
<<chooser><
|
|
<<list all>>
|
|
>>
|
|
}}}
|
|
|
|
<<zoomer>>
|
|
|
|
<div class="navbar navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
<div class="container">
|
|
{{nav{
|
|
|
|
* HelloThere
|
|
* [[Docs]]
|
|
*{{divider-vertical}}
|
|
|
|
<<button popup:ViewDropDownState class:"btn btn-danger"><View <span class="caret"></span>>>
|
|
|
|
{{pull-right{
|
|
<<reveal state:[[$:/EditMode]] type:nomatch text:yes><
|
|
<<button modal param:[[$:/messages/EnterEditMode]] set:[[$:/EditMode]] setTo:yes class:"btn btn-success"><Edit>>
|
|
>>
|
|
|
|
<<reveal state:[[$:/EditMode]] type:match text:yes><
|
|
<<button save-wiki class:"btn pull-right"><Save Changes>>
|
|
>>
|
|
}}}
|
|
|
|
}}}
|
|
|
|
<<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>
|
|
|
|
<div class="container">
|
|
<<story story:"$:/StoryTiddlers" history:"$:/History" storyviewTiddler:[[$:/CurrentView]] storyview:classic >>
|
|
</div>
|
|
|
|
>>
|
|
|