diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | client/index.html | 1 | ||||
-rw-r--r-- | client/style.css | 11 | ||||
-rw-r--r-- | config.mk | 1 |
4 files changed, 11 insertions, 5 deletions
@@ -37,7 +37,8 @@ server/assets/client.js: $(ELM_MESSAGES_SOURCE) $(ELM_SOURCES) cd client && elm make src/Client.elm --optimize --output=../$@ server/assets/client.html: client/index.html config.mk - sed "s@\$$CAFP_BASE@$(CAFP_BASE)@" $< >$@ + sed "s@\$$CAFP_BASE@$(CAFP_BASE)@" $< | \ + sed "s@\$$CAFP_VERSION@$(CAFP_VERSION)@" >$@ server/assets/style.css: client/style.css cp $< $@ diff --git a/client/index.html b/client/index.html index 007dc5c..274f533 100644 --- a/client/index.html +++ b/client/index.html @@ -46,5 +46,6 @@ connect(); </script> + <footer>CaFP version $CAFP_VERSION</footer> </body> </html> diff --git a/client/style.css b/client/style.css index ff25dd5..90e6a03 100644 --- a/client/style.css +++ b/client/style.css @@ -32,10 +32,8 @@ h1::after { } .main { - position: absolute; - top: 0px; - left: 286px; - right: 18px; + margin-left: 286px; + margin-right: 18px; } } @@ -119,3 +117,8 @@ button, input { .authors { margin-top: 6px; } + +footer { + font-size: 12px; + margin: 60px auto 60px auto; +} @@ -1,3 +1,4 @@ CAFP_HOSTNAME=0.0.0.0 CAFP_PORT=8002 CAFP_BASE=/cafp +CAFP_VERSION=$(shell git rev-parse HEAD | head -c8) |