mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
created: 20230817233331840
|
||||
creator: Octt
|
||||
modified: 20230817233610503
|
||||
modifier: Octt
|
||||
tags: $:/Apps
|
||||
title: $:/Apps/BBCodeAssembler
|
75
Wiki-OcttKB/tiddlers/System/Apps/_MagicBox.tid
Normal file
75
Wiki-OcttKB/tiddlers/System/Apps/_MagicBox.tid
Normal file
@@ -0,0 +1,75 @@
|
||||
created: 20240129095948486
|
||||
creator: Octt
|
||||
modified: 20240129125736163
|
||||
modifier: Octt
|
||||
tags: $:/Apps
|
||||
title: $:/Apps/MagicBox
|
||||
|
||||
\define SearchResults(fields)
|
||||
<$list filter="[!is[system]search:$fields${$:/temp/MagicBox!!.input}sort[title]limit[150]]">
|
||||
<div class=`MagicBoxResult ${[{$:/temp/MagicBox!!.type}]}$` style=`background-image: url("${[{!!page-cover}]}$");`>
|
||||
<$link to={{!!title}}>
|
||||
<h3>
|
||||
<$link to={{!!title}}/>
|
||||
</h3>
|
||||
<$if value={{$:/temp/MagicBox!!.context}}>
|
||||
<$context term={{$:/temp/MagicBox!!.input}}/>
|
||||
</$if>
|
||||
</$link>
|
||||
</div>
|
||||
</$list>
|
||||
\end
|
||||
|
||||
<div>
|
||||
<$edit-text tiddler="$:/temp/MagicBox" field=".input" placeholder="Search..."/>
|
||||
<$checkbox tiddler="$:/temp/MagicBox" field=".context" checked="1">Context</$checkbox>
|
||||
<!--<$edit-text tiddler="$:/temp/MagicBox" field=".type" placeholder="Display Type"/>-->
|
||||
<$checkbox tiddler="$:/temp/MagicBox" field=".type" checked="grid">Fixed Grid</$checkbox>
|
||||
<$range tiddler="$:/temp/MagicBox" field=".width" min="33" max="49"/>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.MagicBoxResult {
|
||||
margin: 8px;
|
||||
display: inline-block;
|
||||
background-color: lightgray;
|
||||
background-size: cover;
|
||||
aspect-ratio: 16/9;
|
||||
max-width: calc({{$:/temp/MagicBox!!.width}}% - 16px);
|
||||
}
|
||||
.MagicBoxResult.grid {
|
||||
width: calc(33% - 16px);
|
||||
}
|
||||
.MagicBoxResult h3 {
|
||||
margin-top: 25%;
|
||||
padding: 8px;
|
||||
background-color: rgba(255, 255, 255, 0.75);
|
||||
text-align: center;
|
||||
}
|
||||
.MagicBoxResult pre {
|
||||
color: initial;
|
||||
max-height: 10em;
|
||||
overflow-y: auto;
|
||||
margin: 0;
|
||||
top: 1em;
|
||||
position: relative;
|
||||
}
|
||||
.MagicBoxResult > a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.MagicBoxResult > a:after {
|
||||
content: "" !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<$if value={{{ [{$:/temp/MagicBox!!.input}split[]count[]compare:integer:gteq[3]then[1]] }}}>
|
||||
Title or Caption matches:
|
||||
<br/><<SearchResults "title,caption">>
|
||||
|
||||
<div><br/><hr/><br/></div>
|
||||
|
||||
Tags or Text matches:
|
||||
<br/><<SearchResults "tags,text">>
|
||||
</$if>
|
@@ -1,6 +1,6 @@
|
||||
created: 20230108190740128
|
||||
creator: Octt
|
||||
modified: 20240127214256070
|
||||
modified: 20240129121756874
|
||||
modifier: Octt
|
||||
tags: $:/tags/Stylesheet
|
||||
title: $:/Styles/Main
|
||||
@@ -26,6 +26,11 @@ html, body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
div.commandpalette {
|
||||
min-width: 75vw;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
/* Override the font used for icon display by the the <$:/plugins/Gk0Wk/notionpage-covericon> plugin, and then also apply it to the :after of .tc-tiddlylink anchors, for consistency.
|
||||
We override adding a "sans-serif" to the start due to a spacing bug (?) */
|
||||
.gk0wk-notionpagebg-icon1,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
created: 20240129010956583
|
||||
created: 20240129130848548
|
||||
current-tiddler: GettingStarted
|
||||
modified: 20240129010956583
|
||||
modified: 20240129130848548
|
||||
title: $:/HistoryList
|
||||
type: application/json
|
@@ -3,4 +3,4 @@ title: $:/Import
|
||||
|
||||
The following tiddlers were imported:
|
||||
|
||||
# [[$:/plugins/oeyoews/commandpalette/icon]]
|
||||
# [[$:/plugins/ebalster/condition]]
|
@@ -1,2 +1,6 @@
|
||||
created: 20240129112639085
|
||||
creator: Octt
|
||||
list:
|
||||
modified: 20240129125711061
|
||||
modifier: Octt
|
||||
title: $:/StoryList
|
@@ -0,0 +1,12 @@
|
||||
caption: Context
|
||||
created: 20240129101557058
|
||||
creator: Octt
|
||||
modified: 20240129101627850
|
||||
modifier: Octt
|
||||
tags: $:/tags/SearchResults
|
||||
title: $:/plugins/danielo515/ContextPlugin/visualizer
|
||||
|
||||
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[150]]"><!-- Brought down to 150 from the original 250 to attempt to reduce lag on mobile -->
|
||||
{{!!title||$:/core/ui/ListItemTemplate}}
|
||||
<$context term={{$:/temp/search}} />
|
||||
</$list>
|
@@ -1,6 +1,6 @@
|
||||
created: 20220920140732083
|
||||
creator: Octt
|
||||
modified: 20240129005620170
|
||||
modified: 20240129100429521
|
||||
modifier: Octt
|
||||
title: $:/state/showeditpreview
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
created: 20220920090533937
|
||||
creator: Octt
|
||||
modified: 20231110114944899
|
||||
modified: 20240129120246880
|
||||
modifier: Octt
|
||||
title: $:/state/tab--1963855381
|
||||
|
||||
$:/core/ui/ControlPanel/Palette
|
||||
$:/core/ui/ControlPanel/Toolbars
|
@@ -1,7 +1,7 @@
|
||||
created: 20220920090405977
|
||||
creator: Octt
|
||||
modified: 20240129010805185
|
||||
modified: 20240129120243906
|
||||
modifier: Octt
|
||||
title: $:/state/tab-1749438307
|
||||
|
||||
$:/core/ui/ControlPanel/Plugins
|
||||
$:/core/ui/ControlPanel/Appearance
|
@@ -0,0 +1,7 @@
|
||||
created: 20240129095343238
|
||||
creator: Octt
|
||||
modified: 20240129095343238
|
||||
modifier: Octt
|
||||
title: $:/state/plugin-info--274784486-$:/plugins/oeyoews/echarts-addons---173507521
|
||||
|
||||
contents
|
@@ -1,7 +0,0 @@
|
||||
created: 20240128234400100
|
||||
creator: Octt
|
||||
modified: 20240129005448654
|
||||
modifier: Octt
|
||||
title: $:/state/search-list/selected-item--1546365138
|
||||
|
||||
TiddlyWiki/TipsAndTricks-primaryList
|
@@ -1,6 +1,6 @@
|
||||
created: 20220920092307479
|
||||
creator: Octt
|
||||
modified: 20240129010410225
|
||||
modified: 20240129122104626
|
||||
modifier: Octt
|
||||
title: $:/state/tab/sidebar--595412856
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
created: 20220920114638764
|
||||
creator: Octt
|
||||
modified: 20230128224606306
|
||||
modified: 20240129120304646
|
||||
modifier: Octt
|
||||
title: $:/state/tabs/controlpanel/toolbars-1345989671
|
||||
|
||||
$:/core/ui/ControlPanel/Toolbars/PageControls
|
||||
$:/core/ui/ControlPanel/Toolbars/EditorToolbar
|
@@ -1,6 +1,6 @@
|
||||
created: 20230817233312379
|
||||
creator: Octt
|
||||
modified: 20231107154741134
|
||||
modified: 20240129125712407
|
||||
modifier: Octt
|
||||
title: $:/state/toc/$:/ToC-$:/Apps--1697730578
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
created: 20230111091048227
|
||||
creator: Octt
|
||||
modified: 20231107223047754
|
||||
modified: 20240129092940714
|
||||
modifier: Octt
|
||||
title: $:/state/tree/$:/Styles/View/
|
||||
|
||||
show
|
||||
hide
|
Reference in New Issue
Block a user