mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Group the recent changes list by day
This commit is contained in:
parent
5d43040663
commit
78cd134c0a
@ -14,6 +14,8 @@ title: $:/templates/MoreSideBar
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="orphanTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Orphans</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="typeTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Types</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="systemTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">System</$button>
|
||||
|
||||
<$button type="set" set="$:/state/moreSideBarTabSet" setTo="shadowsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Shadows</$button>
|
||||
@ -37,6 +39,14 @@ title: $:/templates/MoreSideBar
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="orphanTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[is[orphan]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="typeTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[has[type]each[type]sort[type]]" itemClass="tw-menu-list-item">
|
||||
<$view field="type" default="untyped"/>
|
||||
<$list filter="[type{!!type}sort[title]]" itemClass="tw-menu-list-subitem">
|
||||
<$view field="title" format="link"/>
|
||||
</$list>
|
||||
</$list>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="systemTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[is[system]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||
</$reveal>
|
||||
|
@ -14,7 +14,7 @@ title: $:/templates/SideBar
|
||||
|
||||
<div class="tw-search-results">
|
||||
|
||||
<$list filter="[!is[system]searchVia[$:/temp/search]sort[title]limit[50]]" emptyMessage="//No results//"/>
|
||||
<$list filter="[!is[system]search[$:/temp/search]sort[title]limit[50]]" emptyMessage="//No results//"/>
|
||||
|
||||
</div>
|
||||
|
||||
@ -27,7 +27,7 @@ title: $:/templates/SideBar
|
||||
</div>
|
||||
|
||||
<div class="tw-tab-set">
|
||||
<div class="tw-tab-buttons"><$button type="set" set="$:/state/sideBarTabSet" setTo="openTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="allTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">All</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="toolsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tools</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="moreTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">More</$button></div>
|
||||
<div class="tw-tab-buttons"><$button type="set" set="$:/state/sideBarTabSet" setTo="openTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="recentTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Recent</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="toolsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tools</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="moreTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">More</$button></div>
|
||||
<div class="tw-tab-divider tw-sidebar-tab-divider">
|
||||
</div>
|
||||
<div class="tw-tab-content">
|
||||
@ -37,8 +37,14 @@ title: $:/templates/SideBar
|
||||
</$list>
|
||||
<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all</$button>
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="allTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item"/>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="recentTab" qualifyTiddlerTitles="yes">
|
||||
<$list filter="[has[modified]!sort[modified]limit[100]eachday[modified]]" itemClass="tw-menu-list-item">
|
||||
<$view field="modified" format="date" template="DDth MMM YYYY"/>
|
||||
<$list filter="[sameday{!!modified}!sort[modified]]" itemClass="tw-menu-list-subitem">
|
||||
<$view field="title" format="link"/>
|
||||
</$list>
|
||||
</$list>
|
||||
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="toolsTab" qualifyTiddlerTitles="yes">
|
||||
{{$:/templates/ToolsPanel}}
|
||||
|
@ -249,6 +249,7 @@ a.tw-tiddlylink-missing {
|
||||
*/
|
||||
|
||||
.sidebar-header {
|
||||
color: #acacac;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255, 0.8);
|
||||
}
|
||||
|
||||
@ -290,6 +291,10 @@ a.tw-tiddlylink-missing {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tw-menu-list-subitem {
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 55em) {
|
||||
.sidebar-header {
|
||||
padding: 1em;
|
||||
|
Loading…
Reference in New Issue
Block a user