From a17708df9ab2eae520fd556906ac68092bbca324 Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Sun, 18 Feb 2018 10:58:28 +0100 Subject: [PATCH] Display version. --- src/CMakeLists.txt | 2 +- src/index.html | 22 ++++++++++++++++++---- src/style.css | 17 +++++++++-------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3df0411..5b3d1b5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -49,7 +49,7 @@ if (Web) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/index.html ${CMAKE_CURRENT_BINARY_DIR}/index.html - COPYONLY) + ) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/style.css diff --git a/src/index.html b/src/index.html index ccdce1a..5c3a7ec 100644 --- a/src/index.html +++ b/src/index.html @@ -6,14 +6,28 @@ +
-
+ + +

Diagon

Diagram Online

Interactive text→text tools collection.

Begin
+ + +
+
+
+
+
Version @git_version@
+
+
+ +
@@ -35,11 +49,11 @@
-
+
- +
- +
diff --git a/src/style.css b/src/style.css index e8e6422..1739e3a 100644 --- a/src/style.css +++ b/src/style.css @@ -27,6 +27,10 @@ textarea { flex-direction: row; } +.flex { + flex: 1; +} + .fullscreen { width:100%; height:100vh; @@ -46,14 +50,6 @@ textarea { border:solid 1px black; } -#input, #output { - flex:1; -} - -#inputoutput { - flex:1; -} - #landing_page { background-color:white; position:relative @@ -90,6 +86,11 @@ textarea { font-size:10vmin; } +#version { + font-size:2em; + margin:0.3em; +} + #begin_button { border-radius: 16px; font-family: Arial;