From 0d0f26d6c00d9e13840d3fe0e889ac8c1a1c9382 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 17 Sep 2022 19:41:24 +0200 Subject: [PATCH] client: Use Bulma as CSS framework Use Bulma as CSS framework and show a loading spinner when the WASM client application is loading. --- .gitmodules | 3 +++ client/index.html | 9 ++++++++- client/index.scss | 2 ++ vendor/bulma | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 100644 client/index.scss create mode 160000 vendor/bulma diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5ba7570 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/bulma"] + path = vendor/bulma + url = https://github.com/jgthms/bulma.git diff --git a/client/index.html b/client/index.html index 88b6355..10efa94 100644 --- a/client/index.html +++ b/client/index.html @@ -3,8 +3,15 @@ + LockWatch - loading... + +
+
+ +
+
+ diff --git a/client/index.scss b/client/index.scss new file mode 100644 index 0000000..d2a5788 --- /dev/null +++ b/client/index.scss @@ -0,0 +1,2 @@ +@charset "utf-8"; +@import "../vendor/bulma/bulma.sass"; diff --git a/vendor/bulma b/vendor/bulma new file mode 160000 index 0000000..1af0812 --- /dev/null +++ b/vendor/bulma @@ -0,0 +1 @@ +Subproject commit 1af081285ef37990ce4b25ed9b1166ff3397ab08