Skip to content

Commit

Permalink
主页更新为tabs展示
Browse files Browse the repository at this point in the history
避免了大量的details,虽然tiddlywiki的tabs不怎么好看,但调整了一下也没找到合适的,先这样 ,看有没有大神来救一救
  • Loading branch information
dongrentianyu committed Nov 10, 2023
1 parent 1632fb3 commit ad9b453
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 30 deletions.
14 changes: 7 additions & 7 deletions src/time-for-task/Sidebar/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ div.tft-sidebar-container {
}

.tft-sidebar-project-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.tft-sidebar-project-list-item {
padding: 5px 0;
margin: 5px;
word-wrap: break-word;
word-break: break-all;
word-break: break-all;
}

.tft-sidebar-buttons {
Expand All @@ -35,7 +35,7 @@ div.tft-sidebar-container {
font-size: 16px;
color: #666;
background-color: #e2e1e4 !important ;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease-in-out;
display: block;
margin: 0 auto;
Expand All @@ -59,8 +59,8 @@ div.tft-sidebar-container {
}
.search-input {
flex-grow: 1;
padding: 5px 10px;
padding: 5px 10px;
font-size: 14px;
border: none;
background: transparent;
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview

<$transclude
$variable="tabs"
tabsList="[all[tiddlers+shadows]tag[$:/tags/TFT/ProjectsOverview]]"
default="$:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/task"
/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: $:/tags/TFT/ProjectsOverview
list: $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/task $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/project $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/idea-intention-resonance

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/idea-intention-resonance
tags: $:/tags/TFT/ProjectsOverview
caption: 意义、想法、回路

<<tabs "[all[tiddlers+shadows]tag[$:/tags/TFT/ProjectsOverview/idea-intention-resonance]] -[enlist{$:/config/ViewTemplate/ProjectsOverview/idea-intention-resonance}]" "$:/plugins/mabuqian/time-for-task/ViewTemplate/IntentionDynamicTable" "$:/state/tft/ProjectsOverview/idea-intention-resonance" "tc-vertical">>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/project
tags: $:/tags/TFT/ProjectsOverview
caption: 项目

<<tabs "[all[tiddlers+shadows]tag[$:/tags/TFT/ProjectsOverview/project]] -[enlist{$:/config/ViewTemplate/ProjectsOverview/project}]" "$:/plugins/mabuqian/time-for-task/ViewTemplate/sidebar-ProjectDynamicTable" "$:/state/tft/ProjectsOverview/project" "tc-vertical">>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectsOverview/task
tags: $:/tags/TFT/ProjectsOverview
caption: 任务

<<tabs "[all[tiddlers+shadows]tag[$:/tags/TFT/ProjectsOverview/task]] -[enlist{$:/config/ViewTemplate/ProjectsOverview/task}]" "$:/plugins/mabuqian/time-for-task/ViewTemplate/PriorityTaskDynamicTable" "$:/state/tft/ProjectsOverview/task" "tc-vertical">>

0 comments on commit ad9b453

Please sign in to comment.