mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Make a control panel sidebar tab
This commit is contained in:
parent
a1260dc57d
commit
43001d58d1
10
core/templates/ControlPanel.tid
Normal file
10
core/templates/ControlPanel.tid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
title: $:/templates/ControlPanel
|
||||||
|
|
||||||
|
<$button message="tw-new-tiddler" class="btn btn-mini btn-success">New Tiddler</$button>
|
||||||
|
|
||||||
|
<$button message="tw-save-wiki" class="btn btn-mini btn-primary">Save Changes</$button>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
{{$:/snippets/encryptionstatus}}
|
||||||
|
|
@ -18,13 +18,6 @@ title: $:/templates/PageTemplate
|
|||||||
<!-- The main story -->
|
<!-- The main story -->
|
||||||
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/templates/ViewTemplate" editTemplate="$:/templates/EditTemplate" listview="classic" itemClass="tw-tiddler-frame"/>
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/templates/ViewTemplate" editTemplate="$:/templates/EditTemplate" listview="classic" itemClass="tw-tiddler-frame"/>
|
||||||
|
|
||||||
<!-- Config area -->
|
|
||||||
<div class="config-area">
|
|
||||||
! Temporary Control Panel
|
|
||||||
|
|
||||||
{{$:/snippets/encryptionstatus}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- End of story river -->
|
<!-- End of story river -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ title: $:/templates/SideBar
|
|||||||
|
|
||||||
<!-- The implementation of tabs here is currently a bit unreadable -->
|
<!-- The implementation of tabs here is currently a bit unreadable -->
|
||||||
<div class="tw-tab-set">
|
<div class="tw-tab-set">
|
||||||
<div class="tw-tab-buttons"><$button type="set" set="myTabset" setTo="openTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button><$button type="set" set="myTabset" setTo="allTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">All</$button><$button type="set" set="myTabset" setTo="systemTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">System</$button></div>
|
<div class="tw-tab-buttons"><$button type="set" set="myTabset" setTo="openTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button><$button type="set" set="myTabset" setTo="allTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">All</$button><$button type="set" set="myTabset" setTo="systemTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">System</$button><$button type="set" set="myTabset" setTo="toolsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tools</$button></div>
|
||||||
<div class="tw-tab-contents">
|
<div class="tw-tab-contents">
|
||||||
<$reveal type="match" state="myTabset" text="openTab" qualifyTiddlerTitles="yes">
|
<$reveal type="match" state="myTabset" text="openTab" qualifyTiddlerTitles="yes">
|
||||||
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item"/>
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item"/>
|
||||||
@ -13,9 +13,8 @@ title: $:/templates/SideBar
|
|||||||
<$reveal type="match" state="myTabset" text="systemTab" qualifyTiddlerTitles="yes">
|
<$reveal type="match" state="myTabset" text="systemTab" qualifyTiddlerTitles="yes">
|
||||||
<$list filter="[is[system]sort[title]]" itemClass="tw-menu-list-item"/>
|
<$list filter="[is[system]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
<$reveal type="match" state="myTabset" text="toolsTab" qualifyTiddlerTitles="yes">
|
||||||
|
{{$:/templates/ControlPanel}}
|
||||||
|
</$reveal>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="edit-controls">
|
|
||||||
<$button message="tw-new-tiddler" class="btn btn-mini btn-success">New</$button>
|
|
||||||
<$button message="tw-save-wiki" class="btn btn-mini btn-primary">Save</$button>
|
|
||||||
</div>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user