Added image credit, and site construction warning message
This commit is contained in:
parent
8010920909
commit
09d2d619de
@ -5,4 +5,9 @@
|
||||
<img class="full-height" src="//upload.wikimedia.org/wikipedia/commons/thumb/0/06/AGPLv3_Logo.svg/220px-AGPLv3_Logo.svg.png" alt="agpl logo">
|
||||
</a>
|
||||
<?php include("$root/networks.php");?>
|
||||
<div class="flush right">
|
||||
<p>
|
||||
Crédit image `Terre` : Laurine BURGARD
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
@ -1,5 +1,8 @@
|
||||
<?php
|
||||
$root = $_SERVER['DOCUMENT_ROOT'];
|
||||
|
||||
$message = "Site en construction...";
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
@ -15,7 +18,18 @@ $root = $_SERVER['DOCUMENT_ROOT'];
|
||||
crossorigin=""/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?php
|
||||
if (isset($message) and $message != "")
|
||||
{
|
||||
?>
|
||||
<div class="message warning dismissable">
|
||||
<p>
|
||||
<?=$message?>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<div class="container">
|
||||
<?php include("$root/menu.php");?>
|
||||
<?php include("$root/header.php");?>
|
||||
|
@ -0,0 +1,4 @@
|
||||
document.getElementsByClassName('dismissable')[0].addEventListener('click', function() {
|
||||
this.style.display = 'none';
|
||||
console.log('warning dismissed..');
|
||||
});
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user