Added images, removed debug sleep

This commit is contained in:
Magnus Åhall 2026-07-16 09:21:20 +02:00
parent 47c4c99b66
commit 95f403c97c
7 changed files with 262 additions and 3 deletions

View file

@ -287,9 +287,6 @@ func pageSync(w http.ResponseWriter, r *http.Request) { // {{{
} // }}} } // }}}
func actionSyncFromServer(w http.ResponseWriter, r *http.Request) { // {{{ func actionSyncFromServer(w http.ResponseWriter, r *http.Request) { // {{{
// XXX - DELETE ME!
time.Sleep(time.Millisecond * 200)
// The purpose of the Client UUID is to avoid // The purpose of the Client UUID is to avoid
// sending nodes back once again to a client that // sending nodes back once again to a client that
// just created or modified it. // just created or modified it.

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="19.200001"
height="24"
viewBox="0 0 5.0800001 6.35"
version="1.1"
id="svg1"
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
sodipodi:docname="icon_file_download.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="1.0503157"
inkscape:cx="-237.54763"
inkscape:cy="49.984973"
inkscape:window-width="2190"
inkscape:window-height="1401"
inkscape:window-x="1463"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-167.74583,-135.20208)">
<title
id="title1">file-download-outline</title>
<path
d="m 170.92084,135.20208 1.90499,1.905 v 3.81 a 0.6349996,0.6349996 0 0 1 -0.635,0.635 h -3.81 a 0.6349996,0.6349996 0 0 1 -0.635,-0.635 v -5.08 a 0.6349996,0.6349996 0 0 1 0.635,-0.635 h 2.54001 m 1.26999,5.715 v -3.49249 h -1.5875 v -1.58751 h -2.2225 v 5.08 h 3.81 m -1.905,-0.3175 -1.26999,-1.26999 h 0.79374 v -0.9525 h 0.9525 v 0.9525 h 0.79375 z"
id="path1"
style="stroke-width:0.317499" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="19.200001"
height="24"
viewBox="0 0 5.0800001 6.35"
version="1.1"
id="svg1"
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
sodipodi:docname="icon_file_upload.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="1.0503157"
inkscape:cx="-237.54763"
inkscape:cy="49.984973"
inkscape:window-width="2190"
inkscape:window-height="1401"
inkscape:window-x="1463"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-167.74583,-135.20208)">
<title
id="title1">file-download-outline</title>
<title
id="title1-6">file-upload-outline</title>
<path
d="m 170.92084,135.20208 1.905,1.905 v 3.81001 a 0.63500079,0.63500079 0 0 1 -0.635,0.63499 h -3.81001 a 0.63500079,0.63500079 0 0 1 -0.635,-0.63499 v -5.08002 a 0.63500079,0.63500079 0 0 1 0.635,-0.63499 h 2.54001 m 1.27,5.71501 v -3.49251 h -1.58751 v -1.58751 h -2.2225 v 5.08002 h 3.81001 m -1.905,-2.54001 1.26999,1.27 h -0.79375 v 0.9525 h -0.9525 v -0.9525 h -0.79374 z"
id="path1-2"
style="stroke-width:0.3175" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="25.000025"
height="24"
viewBox="0 0 6.6145897 6.35"
version="1.1"
id="svg1"
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
sodipodi:docname="file_note_download.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="11.313708"
inkscape:cx="20.152543"
inkscape:cy="26.825864"
inkscape:window-width="2190"
inkscape:window-height="1401"
inkscape:window-x="1463"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-165.1,-169.33333)">
<title
id="title1">text-box-check-outline</title>
<path
d="m 168.55723,175.68333 h -2.75167 c -0.39159,0 -0.70556,-0.31397 -0.70556,-0.70555 v -4.93889 c 0,-0.39159 0.31397,-0.70556 0.70556,-0.70556 h 4.93888 c 0.39159,0 0.70556,0.31397 0.70556,0.70556 v 2.75167 c -0.2152,-0.12347 -0.45156,-0.21167 -0.70556,-0.254 v -2.49767 h -4.93888 v 4.93889 h 2.49767 c 0.0423,0.254 0.13053,0.49036 0.254,0.70555 m -0.28223,-1.41111 h -1.76389 v -0.70556 h 1.76389 m 0.94544,-0.70554 h -2.70933 v -0.70556 h 3.52778 v 0.381 c -0.29986,0.0493 -0.57502,0.16228 -0.81845,0.32456 m 0.81845,-1.41112 h -3.52778 v -0.70555 h 3.52778"
id="path1"
style="stroke-width:0.352777"
sodipodi:nodetypes="cssssssccccccccccccccccccccc" />
<path
d="m 170.19726,175.68333 1.26999,-1.27 h -0.79375 v -0.9525 h -0.9525 v 0.9525 h -0.79374 z"
style="stroke-width:0.3175"
id="path1-6" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="25.000025"
height="24"
viewBox="0 0 6.6145897 6.35"
version="1.1"
id="svg1"
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
sodipodi:docname="file_note_upload.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="11.313708"
inkscape:cx="20.152543"
inkscape:cy="26.825864"
inkscape:window-width="2190"
inkscape:window-height="1401"
inkscape:window-x="1463"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-165.1,-169.33333)">
<title
id="title1">text-box-check-outline</title>
<path
d="m 168.55723,175.68333 h -2.75167 c -0.39159,0 -0.70556,-0.31397 -0.70556,-0.70555 v -4.93889 c 0,-0.39159 0.31397,-0.70556 0.70556,-0.70556 h 4.93888 c 0.39159,0 0.70556,0.31397 0.70556,0.70556 v 2.75167 c -0.2152,-0.12347 -0.45156,-0.21167 -0.70556,-0.254 v -2.49767 h -4.93888 v 4.93889 h 2.49767 c 0.0423,0.254 0.13053,0.49036 0.254,0.70555 m -0.28223,-1.41111 h -1.76389 v -0.70556 h 1.76389 m 0.94544,-0.70554 h -2.70933 v -0.70556 h 3.52778 v 0.381 c -0.29986,0.0493 -0.57502,0.16228 -0.81845,0.32456 m 0.81845,-1.41112 h -3.52778 v -0.70555 h 3.52778"
id="path1"
style="stroke-width:0.352777"
sodipodi:nodetypes="cssssssccccccccccccccccccccc" />
<path
d="m 170.19726,173.46083 1.26999,1.27 h -0.79375 v 0.9525 h -0.9525 v -0.9525 h -0.79374 z"
style="stroke-width:0.3175"
id="path1-6" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="19.480101"
height="15.999988"
viewBox="0 0 5.1541098 4.23333"
version="1.1"
id="svg1"
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
sodipodi:docname="icon_sync_ok.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
inkscape:zoom="1.0503157"
inkscape:cx="9.0448999"
inkscape:cy="7.1407105"
inkscape:window-width="2190"
inkscape:window-height="1401"
inkscape:window-x="1463"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-102.60277,-146.54742)">
<title
id="title1">check-bold</title>
<path
d="m 104.29447,150.78075 -1.6917,-1.6917 0.77093,-0.77093 0.92077,0.92349 2.69147,-2.69419 0.77094,0.77093 z"
id="path1"
style="fill:#5aa02c;stroke-width:0.272415" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -14,18 +14,23 @@ const CACHED_ASSETS = [
'/images/{{ .VERSION }}/collapsed.svg', '/images/{{ .VERSION }}/collapsed.svg',
'/images/{{ .VERSION }}/expanded.svg', '/images/{{ .VERSION }}/expanded.svg',
'/images/{{ .VERSION }}/icon_back.svg', '/images/{{ .VERSION }}/icon_back.svg',
'/images/{{ .VERSION }}//icon_file_download.svg',
'/images/{{ .VERSION }}//icon_file_upload.svg',
'/images/{{ .VERSION }}/icon_history.svg', '/images/{{ .VERSION }}/icon_history.svg',
'/images/{{ .VERSION }}/icon_home.svg', '/images/{{ .VERSION }}/icon_home.svg',
'/images/{{ .VERSION }}/icon_markdown_hollow.svg', '/images/{{ .VERSION }}/icon_markdown_hollow.svg',
'/images/{{ .VERSION }}/icon_markdown.svg', '/images/{{ .VERSION }}/icon_markdown.svg',
'/images/{{ .VERSION }}/icon_menu.svg', '/images/{{ .VERSION }}/icon_menu.svg',
'/images/{{ .VERSION }}/icon_new_document.svg', '/images/{{ .VERSION }}/icon_new_document.svg',
'/images/{{ .VERSION }}//icon_node_download.svg',
'/images/{{ .VERSION }}//icon_node_upload.svg',
'/images/{{ .VERSION }}/icon_refresh.svg', '/images/{{ .VERSION }}/icon_refresh.svg',
'/images/{{ .VERSION }}/icon_save_disabled.svg', '/images/{{ .VERSION }}/icon_save_disabled.svg',
'/images/{{ .VERSION }}/icon_save.svg', '/images/{{ .VERSION }}/icon_save.svg',
'/images/{{ .VERSION }}/icon_search.svg', '/images/{{ .VERSION }}/icon_search.svg',
'/images/{{ .VERSION }}/icon_settings.svg', '/images/{{ .VERSION }}/icon_settings.svg',
'/images/{{ .VERSION }}/icon_storage.svg', '/images/{{ .VERSION }}/icon_storage.svg',
'/images/{{ .VERSION }}//icon_sync_done.svg',
'/images/{{ .VERSION }}/icon_table.svg', '/images/{{ .VERSION }}/icon_table.svg',
'/images/{{ .VERSION }}/icon_transfer.svg', '/images/{{ .VERSION }}/icon_transfer.svg',
'/images/{{ .VERSION }}/leaf.svg', '/images/{{ .VERSION }}/leaf.svg',