-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OcttKB Cross-Repo Sync (HTML to Raw)
- Loading branch information
octospacc
committed
Feb 4, 2024
1 parent
d49724d
commit 434b9dc
Showing
11 changed files
with
144 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 3 additions & 108 deletions
111
Wiki-OcttKB/tiddlers/Normal/_Fediverse Frontends Comparison.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,8 @@ | ||
created: 20240203164756269 | ||
creator: Octt | ||
modified: 20240204112212512 | ||
modified: 20240204123631907 | ||
modifier: Octt | ||
tags: | ||
tags: Fediverse | ||
title: Fediverse Frontends Comparison | ||
|
||
\define FilterRangeIndirect() [range[$(filterRangeStart)$,$(filterRangeEnd)$]] | ||
|
||
\define TableEditable() | ||
<$let | ||
callerTiddler=<<currentTiddler>> | ||
dataTiddler={{{[<callerTiddler>addprefix[$:/Data/TableEditable/]]}}} | ||
tempTiddler={{{[<callerTiddler>addprefix[$:/temp/TableEditable/]]}}} | ||
rowsNumber={{{[<dataTiddler>getindex[rowsNumber]]}}} | ||
colsNumber={{{[<dataTiddler>getindex[colsNumber]]}}} | ||
selectIndex1={{{[<tempTiddler>get[.select1]]}}} | ||
> | ||
<!-- TODO: | ||
* update row/col selector when insert/delete some row/col | ||
* implement all mentioned editing options | ||
* move macro to dedicated tiddler | ||
* row and col number headings? | ||
--> | ||
<$link to=<<dataTiddler>>>#</$link> | ||
<label> | ||
Rows: | ||
<$edit-text tag="input" type="number" tiddler=<<dataTiddler>> index="rowsNumber"/> | ||
</label> | ||
<label> | ||
Columns: | ||
<$edit-text tag="input" type="number" tiddler=<<dataTiddler>> index="colsNumber"/> | ||
</label> | ||
<label style="display: block;"> | ||
Edit... | ||
<$edit-text tag="input" type="number" tiddler=<<tempTiddler>> field=".select1"/> | ||
<$button> | ||
...Row Insert | ||
<$let filterRangeStart=<<rowsNumber>> filterRangeEnd=<<selectIndex1>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let rowIndexOld=<<currentTiddler>> filterRangeStart="1" filterRangeEnd=<<rowsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let colIndex=<<currentTiddler>> rowIndexNew={{{[<rowIndexOld>add[1]]}}} | ||
cellIndexOld={{{[[/r]addsuffix<rowIndexOld>addsuffix[/c]addsuffix<colIndex>addsuffix[/]]}}} | ||
cellIndexNew={{{[[/r]addsuffix<rowIndexNew>addsuffix[/c]addsuffix<colIndex>addsuffix[/]]}}} | ||
> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexNew>> $value={{{[<dataTiddler>getindex<cellIndexOld>]}}}/> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexOld>> $value=""/> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$button> | ||
<$button> | ||
...Column Insert | ||
<$let filterRangeStart=<<colsNumber>> filterRangeEnd=<<selectIndex1>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let colIndexOld=<<currentTiddler>> filterRangeStart="1" filterRangeEnd=<<rowsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let rowIndex=<<currentTiddler>> colIndexNew={{{[<colIndexOld>add[1]]}}} | ||
cellIndexOld={{{[[/r]addsuffix<rowIndex>addsuffix[/c]addsuffix<colIndexOld>addsuffix[/]]}}} | ||
cellIndexNew={{{[[/r]addsuffix<rowIndex>addsuffix[/c]addsuffix<colIndexNew>addsuffix[/]]}}} | ||
> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexNew>> $value={{{[<dataTiddler>getindex<cellIndexOld>]}}}/> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexOld>> $value=""/> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$button> | ||
<!-- | ||
<$button> | ||
...Row Delete | ||
</$button> | ||
<$button> | ||
...Column Delete | ||
</$button> | ||
--> | ||
</label> | ||
<div class="TableEditable"><table><tbody> | ||
<$let filterRangeStart="1" filterRangeEnd=<<rowsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let row=<<currentTiddler>>> | ||
<tr> | ||
<$let filterRangeStart="1" filterRangeEnd=<<colsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let col=<<currentTiddler>> cellIndex={{{[[/r]addsuffix<row>addsuffix[/c]addsuffix<col>addsuffix[/]]}}}> | ||
<td title=<<cellIndex>>> | ||
<$edit-text minHeight="1em" tiddler=<<dataTiddler>> index=<<cellIndex>>/> | ||
</td> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</tr> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</tbody></table></div> | ||
<style> | ||
div.TableEditable { | ||
overflow-x: auto; | ||
} | ||
div.TableEditable textarea { | ||
border: 0; | ||
resize: none; | ||
} | ||
</style> | ||
</$let> | ||
\end | ||
|
||
<<TableEditable>> | ||
<<EditableTable>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
created: 20240204143427407 | ||
creator: Octt | ||
modified: 20240204143503230 | ||
modifier: Octt | ||
tags: | ||
title: HTML & CSS | ||
|
||
* [[How to line-break from css, without using <br />?|https://stackoverflow.com/questions/2703601/how-to-line-break-from-css-without-using-br]] --- `white-space: pre-line;` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
created: 20230203223711243 | ||
creator: Octt | ||
modified: 20231227012206962 | ||
modified: 20240204160648523 | ||
modifier: Octt | ||
tags: $:/i18n:en Information Knowledge | ||
title: Wiki | ||
|
||
<<^wikipediaframe Wiki en>> | ||
|
||
* //''[[BookStack|https://www.bookstackapp.com/]]'' is a simple, self-hosted, easy-to-use platform for organising and storing information.// --- <<[# Git"https://github.com/BookStackApp">> | ||
* [[DokuWiki|https://www.dokuwiki.org/]] --- //simple to use and highly versatile Open Source wiki software that doesn't require a database// --- <<[# Git "https://github.com/dokuwiki/">> | ||
* [[MediaWiki]] | ||
* [[TiddlyWiki]] | ||
* [[WikiDocs|https://www.wikidocs.it/]] --- //📗 Just a databaseless markdown flat-file wiki engine// --- <<[# Git "https://github.com/Zavy86/WikiDocs">> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
created: 20240204115610391 | ||
creator: Octt | ||
modified: 20240204120519575 | ||
modifier: Octt | ||
tags: $:/tags/Macro | ||
title: $:/Macros/EditableTable | ||
|
||
\define FilterRangeIndirect() [range[$(filterRangeStart)$,$(filterRangeEnd)$]] | ||
|
||
\define EditableTable(tableName) | ||
<$let | ||
callerTiddler={{{[[$tableName$]match[]then<currentTiddler>else[$tableName$]]}}} | ||
dataTiddler={{{[<callerTiddler>addprefix[$:/Data/TableEditable/]]}}} | ||
tempTiddler={{{[<callerTiddler>addprefix[$:/temp/TableEditable/]]}}} | ||
rowsNumber={{{[<dataTiddler>getindex[rowsNumber]]}}} | ||
colsNumber={{{[<dataTiddler>getindex[colsNumber]]}}} | ||
selectIndex1={{{[<tempTiddler>get[.select1]]}}} | ||
> | ||
<!-- TODO: | ||
* update row/col selector when insert/delete some row/col | ||
* implement all mentioned editing options | ||
* move macro to dedicated tiddler | ||
* row and col number as table headings? | ||
* sticky table headings or first row/col? | ||
--> | ||
<$link to=<<dataTiddler>>>#</$link> | ||
<label> | ||
Rows: | ||
<$edit-text tag="input" type="number" tiddler=<<dataTiddler>> index="rowsNumber"/> | ||
</label> | ||
<label> | ||
Columns: | ||
<$edit-text tag="input" type="number" tiddler=<<dataTiddler>> index="colsNumber"/> | ||
</label> | ||
<label style="display: block;"> | ||
Edit... | ||
<$edit-text tag="input" type="number" tiddler=<<tempTiddler>> field=".select1"/> | ||
<$button> | ||
...Row Insert | ||
<$let filterRangeStart=<<rowsNumber>> filterRangeEnd=<<selectIndex1>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let rowIndexOld=<<currentTiddler>> filterRangeStart="1" filterRangeEnd=<<rowsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let colIndex=<<currentTiddler>> rowIndexNew={{{[<rowIndexOld>add[1]]}}} | ||
cellIndexOld={{{[[/r]addsuffix<rowIndexOld>addsuffix[/c]addsuffix<colIndex>addsuffix[/]]}}} | ||
cellIndexNew={{{[[/r]addsuffix<rowIndexNew>addsuffix[/c]addsuffix<colIndex>addsuffix[/]]}}} | ||
> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexNew>> $value={{{[<dataTiddler>getindex<cellIndexOld>]}}}/> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexOld>> $value=""/> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$button> | ||
<$button> | ||
...Column Insert | ||
<$let filterRangeStart=<<colsNumber>> filterRangeEnd=<<selectIndex1>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let colIndexOld=<<currentTiddler>> filterRangeStart="1" filterRangeEnd=<<rowsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let rowIndex=<<currentTiddler>> colIndexNew={{{[<colIndexOld>add[1]]}}} | ||
cellIndexOld={{{[[/r]addsuffix<rowIndex>addsuffix[/c]addsuffix<colIndexOld>addsuffix[/]]}}} | ||
cellIndexNew={{{[[/r]addsuffix<rowIndex>addsuffix[/c]addsuffix<colIndexNew>addsuffix[/]]}}} | ||
> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexNew>> $value={{{[<dataTiddler>getindex<cellIndexOld>]}}}/> | ||
<$action-setfield $tiddler=<<dataTiddler>> $index=<<cellIndexOld>> $value=""/> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</$button> | ||
<!-- | ||
<$button> | ||
...Row Delete | ||
</$button> | ||
<$button> | ||
...Column Delete | ||
</$button> | ||
--> | ||
</label> | ||
<div class="EditableTable"><table><tbody> | ||
<$let filterRangeStart="1" filterRangeEnd=<<rowsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let row=<<currentTiddler>>> | ||
<tr> | ||
<$let filterRangeStart="1" filterRangeEnd=<<colsNumber>>> | ||
<$list filter=<<FilterRangeIndirect>>> | ||
<$let col=<<currentTiddler>> cellIndex={{{[[/r]addsuffix<row>addsuffix[/c]addsuffix<col>addsuffix[/]]}}}> | ||
<td title=<<cellIndex>>> | ||
<$edit-text minHeight="1em" tiddler=<<dataTiddler>> index=<<cellIndex>>/> | ||
</td> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</tr> | ||
</$let> | ||
</$list> | ||
</$let> | ||
</tbody></table></div> | ||
<style> | ||
div.EditableTable { | ||
overflow-x: auto; | ||
} | ||
div.EditableTable textarea { | ||
border: 0; | ||
resize: none; | ||
} | ||
</style> | ||
</$let> | ||
\end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
created: 20240204112953722 | ||
created: 20240204162240669 | ||
current-tiddler: GettingStarted | ||
modified: 20240204112953722 | ||
modified: 20240204162240669 | ||
title: $:/HistoryList | ||
type: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
created: 20240204093609710 | ||
creator: Octt | ||
list: | ||
modified: 20240204112916955 | ||
modified: 20240204160358787 | ||
modifier: Octt | ||
title: $:/StoryList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters