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">
|
<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>
|
</a>
|
||||||
<?php include("$root/networks.php");?>
|
<?php include("$root/networks.php");?>
|
||||||
|
<div class="flush right">
|
||||||
|
<p>
|
||||||
|
Crédit image `Terre` : Laurine BURGARD
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
$root = $_SERVER['DOCUMENT_ROOT'];
|
$root = $_SERVER['DOCUMENT_ROOT'];
|
||||||
|
|
||||||
|
$message = "Site en construction...";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
@ -15,7 +18,18 @@ $root = $_SERVER['DOCUMENT_ROOT'];
|
|||||||
crossorigin=""/>
|
crossorigin=""/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<?php
|
||||||
|
if (isset($message) and $message != "")
|
||||||
|
{
|
||||||
|
?>
|
||||||
|
<div class="message warning dismissable">
|
||||||
|
<p>
|
||||||
|
<?=$message?>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<?php include("$root/menu.php");?>
|
<?php include("$root/menu.php");?>
|
||||||
<?php include("$root/header.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..');
|
||||||
|
});
|
@ -145,3 +145,22 @@ div.container div img#logo {
|
|||||||
div.container img#logo {
|
div.container img#logo {
|
||||||
border-radius: 1em;
|
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