2012-06-01 19:04:51 +00:00
|
|
|
title: $:/templates/PageTemplate
|
2012-04-30 11:23:03 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
|
2012-06-26 18:54:51 +00:00
|
|
|
<<navigator story:"$:/StoryTiddlers" history:"$:/History" ><
|
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- Zooming chooser -->
|
2012-06-11 11:44:10 +00:00
|
|
|
{{navigation-panel{
|
2012-06-21 18:44:21 +00:00
|
|
|
<<chooser><
|
2012-10-16 09:15:12 +00:00
|
|
|
((( [!is[shadow]sort[title]] )) <div><<view title link>></div> )
|
2012-06-21 18:44:21 +00:00
|
|
|
>>
|
2012-06-11 11:44:10 +00:00
|
|
|
}}}
|
2012-07-15 21:35:39 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- Zooming navigator -->
|
2012-08-06 21:34:16 +00:00
|
|
|
<<zoomigator>>
|
2012-07-15 21:35:39 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- The top navigation bar -->
|
2012-06-10 21:02:16 +00:00
|
|
|
<div class="navbar navbar-fixed-top">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container">
|
|
|
|
{{nav{
|
2012-06-20 16:42:49 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- Navigation menu -->
|
2012-06-10 21:02:16 +00:00
|
|
|
* HelloThere
|
|
|
|
* [[Docs]]
|
2012-06-20 16:42:49 +00:00
|
|
|
*{{divider-vertical}}
|
|
|
|
|
2012-09-12 09:47:14 +00:00
|
|
|
<!-- Full screen button -->
|
|
|
|
<<button full-screen class:"btn btn-warning"><Full screen>>
|
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- View button -->
|
2012-07-15 21:35:39 +00:00
|
|
|
<<button popup:ViewDropDownState class:"btn btn-danger"><View <span class="caret"></span>>>
|
2012-06-20 16:42:49 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- View dropdown -->
|
2012-07-15 21:35:39 +00:00
|
|
|
{{pull-right{
|
|
|
|
<<reveal state:[[$:/EditMode]] type:nomatch text:yes><
|
|
|
|
<<button modal param:[[$:/messages/EnterEditMode]] set:[[$:/EditMode]] setTo:yes class:"btn btn-success"><Edit>>
|
|
|
|
>>
|
2012-07-10 22:18:44 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- Save changes is only visible in edit mode -->
|
2012-07-15 21:35:39 +00:00
|
|
|
<<reveal state:[[$:/EditMode]] type:match text:yes><
|
2012-09-02 19:59:53 +00:00
|
|
|
<<button save-wiki param:"$:/core/templates/tiddlywiki5.encrypted.template.html" class:"btn pull-right"><Save Changes (encrypted)>>
|
|
|
|
>>
|
|
|
|
<<reveal state:[[$:/EditMode]] type:match text:yes><
|
2012-07-15 21:35:39 +00:00
|
|
|
<<button save-wiki class:"btn pull-right"><Save Changes>>
|
|
|
|
>>
|
|
|
|
}}}
|
2012-07-10 22:18:44 +00:00
|
|
|
|
2012-06-20 16:42:49 +00:00
|
|
|
}}}
|
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- This navigator intercepts navigation events and sets the text of the specified tiddler to the target tiddler title -->
|
2012-07-13 22:09:45 +00:00
|
|
|
<<navigator set:[[$:/CurrentView]]><
|
2012-06-21 23:09:10 +00:00
|
|
|
<<reveal state:ViewDropDownState type:popup position:below><
|
2012-06-20 16:42:49 +00:00
|
|
|
<div class="open">
|
2012-06-21 23:09:10 +00:00
|
|
|
{{dropdown-menu tw-suppress-missing-tiddlylink{
|
2012-07-13 22:39:20 +00:00
|
|
|
* <<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>>
|
2012-06-10 21:02:16 +00:00
|
|
|
}}}
|
2012-06-20 16:42:49 +00:00
|
|
|
</div>
|
|
|
|
>>
|
|
|
|
>>
|
2012-06-10 21:02:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-06-26 18:54:51 +00:00
|
|
|
|
2012-08-02 21:06:52 +00:00
|
|
|
<!-- The main story references the same story and history tiddlers as the outer navigator -->
|
2012-06-26 18:54:51 +00:00
|
|
|
<div class="container">
|
|
|
|
<<story story:"$:/StoryTiddlers" history:"$:/History" storyviewTiddler:[[$:/CurrentView]] storyview:classic >>
|
2012-06-10 21:02:16 +00:00
|
|
|
</div>
|
2012-06-26 18:54:51 +00:00
|
|
|
|
|
|
|
>>
|
|
|
|
|