diff --git a/core/ui/Manager.tid b/core/ui/Manager.tid index 275d9e401..5adc448d9 100644 --- a/core/ui/Manager.tid +++ b/core/ui/Manager.tid @@ -74,48 +74,49 @@ Show raw text <$list filter="[all{$:/config/Manager/Show}!is{$:/config/Manager/System}search{$:/config/Manager/Filter}tag:strict{$:/config/Manager/Tag}untagged:no{$:/config/Manager/Untagged}sort{$:/config/Manager/Sort}order{$:/config/Manager/Order}]"> <$vars transclusion=<>>
-<$button popup=<> class="tc-btn-invisible tc-manager-list-item-heading"> +<$button popup=<> class="tc-btn-invisible tc-manager-list-item-heading" selectedClass="tc-manager-list-item-heading-selected"> <$text text=<>/> <$reveal state=<> type="nomatch" text="" default="" tag="div" class="tc-manager-list-item-content tc-popup-handle">
-
-<$reveal state="$:/config/Manager/View" type="nomatch" text="plain"> -<$transclude mode="block"/> - -<$reveal state="$:/config/Manager/View" type="match" text="plain"> -
-
-<$view/>
-
-
- +<$reveal state="$:/config/Manager/View" type="nomatch" text="plain" tag="div" class="tc-manager-list-item-content-tiddler-item"> +
+Wikified text
- +
+<$transclude mode="block"/> +
+ +<$reveal state="$:/config/Manager/View" type="match" text="plain" tag="div" class="tc-manager-list-item-content-tiddler-item"> +
+Raw text +
+
+
<$view/>
+
+ +
+
+Fields +
+
<$list filter="[all[current]fields[]sort[title]] -text" template="$:/core/ui/TiddlerFieldTemplate" variable="listItem"/>
+
diff --git a/core/ui/Manager/ItemSidebarColour.tid b/core/ui/Manager/ItemSidebarColour.tid new file mode 100644 index 000000000..0bf3c9967 --- /dev/null +++ b/core/ui/Manager/ItemSidebarColour.tid @@ -0,0 +1,15 @@ +title: $:/Manager/ItemSidebar/Colour +tags: $:/tags/Manager/ItemSidebar +caption: Colour + +\define swatch-styles() +height: 1em; +background-color: $(colour)$ +\end + +<$vars colour={{!!color}}> +

>/> + +

+<$edit-text field="color" tag="input" type="color"/> / <$edit-text field="color" tag="input" type="text" size="9"/> +

diff --git a/core/ui/Manager/ItemSidebarIcon.tid b/core/ui/Manager/ItemSidebarIcon.tid new file mode 100644 index 000000000..3f607573a --- /dev/null +++ b/core/ui/Manager/ItemSidebarIcon.tid @@ -0,0 +1,9 @@ +title: $:/Manager/ItemSidebar/Icon +tags: $:/tags/Manager/ItemSidebar +caption: Icon + +

+<$macrocall $name="image-picker-dropdown" image-tiddler={{!!icon}} fallback="(none)" actions=""" +<$action-setfield $field="icon" $value=<>/> +"""/> +

diff --git a/core/ui/Manager/ItemSidebarTagsEditor.tid b/core/ui/Manager/ItemSidebarTagsEditor.tid new file mode 100644 index 000000000..c7ababc99 --- /dev/null +++ b/core/ui/Manager/ItemSidebarTagsEditor.tid @@ -0,0 +1,16 @@ +title: $:/Manager/ItemSidebar/Tags +tags: $:/tags/Manager/ItemSidebar +caption: Tags + +

+<$list filter="[is[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] " variable="tag"> +

+<$checkbox tiddler=<> tag=<> actions=<>> +<$macrocall $name="tag-pill" tag=<>/> + +
+ +

+

+<$macrocall $name="tag-picker" actions=<>/> +

diff --git a/core/ui/Manager/ItemSidebarTools.tid b/core/ui/Manager/ItemSidebarTools.tid new file mode 100644 index 000000000..793487ca9 --- /dev/null +++ b/core/ui/Manager/ItemSidebarTools.tid @@ -0,0 +1,10 @@ +title: $:/Manager/ItemSidebar/Tools +tags: $:/tags/Manager/ItemSidebar +caption: Tools + +

+<$button to=<>>{{$:/core/images/link}} open +

+

+<$button message="tm-edit-tiddler" param=<>>{{$:/core/images/edit-button}} edit +

diff --git a/core/wiki/tags/ManagerItemSidebar.tid b/core/wiki/tags/ManagerItemSidebar.tid new file mode 100644 index 000000000..b450ef772 --- /dev/null +++ b/core/wiki/tags/ManagerItemSidebar.tid @@ -0,0 +1,2 @@ +title: $:/tags/Manager/ItemSidebar +list: $:/Manager/ItemSidebar/Tags $:/Manager/ItemSidebar/Colour $:/Manager/ItemSidebar/Icon $:/Manager/ItemSidebar/Tools \ No newline at end of file diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index cf6a4a457..b46d6a3fd 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1768,6 +1768,10 @@ html body.tc-body.tc-single-tiddler-window { padding: 3px; } +.tc-manager-list-item-heading-selected { + font-weight: bold; +} + .tc-manager-list-item-heading:hover { background: <>; color: <>; @@ -1785,9 +1789,21 @@ html body.tc-body.tc-single-tiddler-window { white-space: nowrap; } -.tc-manager-list-item-content-sidebar-item { - border-top: 0.5em solid <>; - padding: 0 0.5em 0 0.5em; +.tc-manager-list-item-content-item-heading { + background: <>; + text-transform: uppercase; + font-size: 0.6em; + font-weight: bold; +} + +.tc-manager-list-item-content-item-body { + padding: 0 0.5em 0 0.5em; +} + +.tc-manager-list-item-content-item-body > pre { + margin: 0.5em 0 0.5em 0; + border: none; + background: inherit; } .tc-manager-list-item-content-tiddler { @@ -1797,16 +1813,16 @@ html body.tc-body.tc-single-tiddler-window { border-bottom: 0.5em solid <>; } -.tc-manager-list-item-content-tiddler-item { - border-top: 0.5em solid <>; - padding: 0.5em; -} - -.tc-manager-list-item-content-tiddler-item.tc-manager-list-item-content-tiddler-item-table { +.tc-manager-list-item-content-item-body.tc-manager-list-item-content-item-body-table { + border: none; padding: 0; margin: 0; } +.tc-manager-list-item-content-item-body.tc-manager-list-item-content-item-body-table td { + border: none; +} + /* ** Alerts */