From 09d2d619deeb8babc20f7e0b739e8bd5857975d1 Mon Sep 17 00:00:00 2001 From: Samuel ORTION Date: Sat, 10 Jul 2021 11:29:27 +0200 Subject: [PATCH] Added image credit, and site construction warning message --- public/footer.php | 5 +++++ public/index.php | 16 +++++++++++++++- public/scripts/script.js | 4 ++++ public/styles/style.css | 19 +++++++++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) diff --git a/public/footer.php b/public/footer.php index 80e955c..c43869d 100644 --- a/public/footer.php +++ b/public/footer.php @@ -5,4 +5,9 @@ agpl logo +
+

+ Crédit image `Terre` : Laurine BURGARD +

+
\ No newline at end of file diff --git a/public/index.php b/public/index.php index 7558581..b0b29e2 100644 --- a/public/index.php +++ b/public/index.php @@ -1,5 +1,8 @@ @@ -15,7 +18,18 @@ $root = $_SERVER['DOCUMENT_ROOT']; crossorigin=""/> - + +
+

+ +

+
+
diff --git a/public/scripts/script.js b/public/scripts/script.js index e69de29..157d0aa 100644 --- a/public/scripts/script.js +++ b/public/scripts/script.js @@ -0,0 +1,4 @@ +document.getElementsByClassName('dismissable')[0].addEventListener('click', function() { + this.style.display = 'none'; + console.log('warning dismissed..'); +}); \ No newline at end of file diff --git a/public/styles/style.css b/public/styles/style.css index ae7be8a..3ca75b0 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -144,4 +144,23 @@ div.container div img#logo { div.container img#logo { border-radius: 1em; +} + +.flush.right { + text-align: right; +} + +.message { + position: fixed; + text-align: center; + width: 100vw; + margin-bottom: 1em; +} + +.warning { + background-color: lightcoral; +} + +.dismissable { + cursor: not-allowed; } \ No newline at end of file