diff options
| author | soaos <soaos@soaos.dev> | 2025-11-21 21:14:12 -0500 |
|---|---|---|
| committer | soaos <soaos@soaos.dev> | 2025-11-21 21:14:12 -0500 |
| commit | ba76e77d935998e4b128053dcc61d2ed4884cdda (patch) | |
| tree | 5464dccd475404b509f048f4525193a8ff36a715 /templates/shortcodes | |
| parent | 6e3a7252608197b6571a56c9b07be09f254e8bae (diff) | |
zola migration
Diffstat (limited to 'templates/shortcodes')
| -rw-r--r-- | templates/shortcodes/soaosed.html | 3 | ||||
| -rw-r--r-- | templates/shortcodes/subtree.html | 8 | ||||
| -rw-r--r-- | templates/shortcodes/title_bar.html | 8 | ||||
| -rw-r--r-- | templates/shortcodes/tree_view.html | 5 | ||||
| -rw-r--r-- | templates/shortcodes/treelink.html | 8 | ||||
| -rw-r--r-- | templates/shortcodes/window.html | 3 | ||||
| -rw-r--r-- | templates/shortcodes/window_body.html | 1 |
7 files changed, 36 insertions, 0 deletions
diff --git a/templates/shortcodes/soaosed.html b/templates/shortcodes/soaosed.html new file mode 100644 index 0000000..c5ae639 --- /dev/null +++ b/templates/shortcodes/soaosed.html @@ -0,0 +1,3 @@ +<span class="flip" data-title="{{ body }}" + ><span class="hidden-selectable">{{ body }}</span></span +>
\ No newline at end of file diff --git a/templates/shortcodes/subtree.html b/templates/shortcodes/subtree.html new file mode 100644 index 0000000..2246718 --- /dev/null +++ b/templates/shortcodes/subtree.html @@ -0,0 +1,8 @@ +<li> + <details {% if open %}open{% endif %}> + <summary><b>{{ name | safe }}</b></summary> + <ul> + {{ body | markdown | safe }} + </ul> + </details> +</li>
\ No newline at end of file diff --git a/templates/shortcodes/title_bar.html b/templates/shortcodes/title_bar.html new file mode 100644 index 0000000..facc6fb --- /dev/null +++ b/templates/shortcodes/title_bar.html @@ -0,0 +1,8 @@ +<div class="title-bar"> + <div class="title-bar-text">{{ body | safe }}</div> + <div class="title-bar-controls"> + {% if close %} + <a href="{{ close }}"><button aria-label="Close"></button></a> + {% endif %} + </div> +</div> diff --git a/templates/shortcodes/tree_view.html b/templates/shortcodes/tree_view.html new file mode 100644 index 0000000..e8de782 --- /dev/null +++ b/templates/shortcodes/tree_view.html @@ -0,0 +1,5 @@ +<div class="sunken-panel"> + <ul class="tree-view" {% if height %} style="height: {{height}}; overflow-y: scroll" {% endif %} > + {{ body | markdown | safe }} + </ul> +</div> diff --git a/templates/shortcodes/treelink.html b/templates/shortcodes/treelink.html new file mode 100644 index 0000000..ff80fdc --- /dev/null +++ b/templates/shortcodes/treelink.html @@ -0,0 +1,8 @@ +<li> + <a href="{{ url }}" {% if blank %} target="_blank" {% endif %} {% if rel %} rel="{{ rel }}" {% endif %}>{{ text }}</a> + {% if wip %} + <span {% if wip_tooltip %}data-tooltip="{{ wip_tooltip }}" {% endif %}> + <span class="under-construction unselectable">⚠</span> + </span> + {% endif %} +</li>
\ No newline at end of file diff --git a/templates/shortcodes/window.html b/templates/shortcodes/window.html new file mode 100644 index 0000000..8abddbe --- /dev/null +++ b/templates/shortcodes/window.html @@ -0,0 +1,3 @@ +<div class="window"> +{{ body | safe }} +</div> diff --git a/templates/shortcodes/window_body.html b/templates/shortcodes/window_body.html new file mode 100644 index 0000000..f7c84a7 --- /dev/null +++ b/templates/shortcodes/window_body.html @@ -0,0 +1 @@ +<div class="window-body">{{ body | markdown | safe }}</div> |
