silly little doodles
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

make button position absolute | fix 'just deploy' task

nnuuvv 94f715c8 04503dd9

+25 -4
+16 -1
justfile
··· 9 9 build: 10 10 gleam run -m lustre/dev build 11 11 12 + 13 + roll-back: 14 + # move copy from /srv/doodler/previous to /srv/doodler/ 15 + ssh deploy-doodler@gitlab "cp /srv/doodler/previous/* /srv/doodler/" 16 + 12 17 # Deploy doodler to my server 13 18 deploy: build 14 - ssh deploy-doodler@gitlab rm /srv/doodler/* 19 + #!/bin/zsh 20 + ssh deploy-doodler@gitlab " 21 + # ignore errors since the following 2 steps would otherwise have issues 22 + set +e 23 + # create copy of previous version in /srv/doodler/previous 24 + cp /srv/doodler/* /srv/doodler/previous 25 + # remove previous version -- /srv/doodler/previous will be ignored 26 + rm /srv/doodler/* 27 + " 28 + 29 + # copy current version to /srv/doodler/ 15 30 scp ./dist/* deploy-doodler@gitlab:/srv/doodler 16 31 17 32
+9 -3
src/doodler.gleam
··· 260 260 <> int.to_string(int.absolute_value(min_y) + max_y) 261 261 262 262 div([], [ 263 - html.button([on_click(UserClickedCycleMirror)], [ 264 - html.text("Mirroring: " <> model.mirroring |> mirroring_to_string), 265 - ]), 263 + html.button( 264 + [ 265 + on_click(UserClickedCycleMirror), 266 + attribute.style("position", "absolute"), 267 + ], 268 + [ 269 + html.text("Mirroring: " <> model.mirroring |> mirroring_to_string), 270 + ], 271 + ), 266 272 svg.svg( 267 273 [ 268 274 attribute.attribute("width", "97vw"),