|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>web server project</title>
|
|
<meta charset="utf-8" />
|
|
</head>
|
|
<script type="text/javascript">
|
|
window.onload=function()
|
|
{
|
|
window.requestAnimationFrame(getDate)
|
|
}
|
|
|
|
function getDate()
|
|
{
|
|
window.setTimeout(function(){
|
|
window.requestAnimationFrame(getDate)
|
|
},1000/2)
|
|
|
|
|
|
var d=new Date();
|
|
var year=d.getFullYear()
|
|
var month=d.getMonth()+1;
|
|
var day=d.getDay()
|
|
var days=d.getDate()
|
|
var hour=d.getHours()
|
|
var minute=d.getMinutes()
|
|
var second=d.getSeconds()
|
|
|
|
|
|
if(days<10) days="0"+days
|
|
if(hour<10) hour="0"+hour
|
|
if(minute<10) minute="0"+minute
|
|
if(second<10) second="0"+second
|
|
|
|
|
|
|
|
if(month==1) month="janvier"
|
|
if(month==2) month="fevrier"
|
|
if(month==3) month="mars"
|
|
if(month==4) month="match"
|
|
if(month==5) month="mai"
|
|
if(month==6) month="juin"
|
|
if(month==7) month="juillet"
|
|
if(month==8) month="aout"
|
|
if(month==9) month="septembre"
|
|
if(month==10) month="octobre"
|
|
if(month==11) month="novembre"
|
|
if(month==12) month="decembre"
|
|
|
|
|
|
|
|
|
|
var week=new Array("dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi")
|
|
var Tools=document.getElementById("Main")
|
|
var da=days+" "+month+" "+year+" "+week[day]+" "+hour+" : "+minute+" :"+second
|
|
Tools.innerHTML=da
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
<body>
|
|
<link rel="stylesheet" href="ioT.css" />
|
|
|
|
|
|
<div class="dashboard">
|
|
<header>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="f fe">
|
|
<div class="heading">
|
|
<img src="ent.png">
|
|
<h5 class="date" id="Main" style="color: black font-size:"10px"></h5>
|
|
<h2 class="title">Projet Serveur Web</h2>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mesures f">
|
|
<div class="Temp">
|
|
<p style="color: white"><strong>Température</strong></p>
|
|
<strong style="color: white">26°<sup>C</sup></strong>
|
|
</div>
|
|
<p></p>
|
|
|
|
|
|
|
|
<div class="Hygro">
|
|
<p style="color: white"><strong>Hygrométrie.</strong></p>
|
|
<strong style="color: white">48.2%</strong>
|
|
</div>
|
|
<p></p>
|
|
|
|
|
|
|
|
<div class="Lum">
|
|
<p style="color: white"><strong>Luminosité.</strong></p>
|
|
<strong style="color: white">52.99</strong>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</header>
|
|
|
|
<section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Appliances -->
|
|
<div class="appliances">
|
|
|
|
|
|
<div class="appliance">
|
|
<input type="checkbox" name="a" id="b">
|
|
<label for="b">
|
|
<i class="r"></i>
|
|
<strong>Led ON/OFF</strong>
|
|
<span data-o="opened" data-c="closed"></span>
|
|
<small></small>
|
|
</label>
|
|
</div>
|
|
|
|
<div class="appliance">
|
|
<input type="checkbox" name="a" id="d">
|
|
<label for="d">
|
|
<i class="f"></i>
|
|
<strong>botton</strong>
|
|
<span data-o="opened" data-c="closed"></span>
|
|
<small></small>
|
|
</label>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Category -->
|
|
<div class="category">
|
|
<ul>
|
|
<li><p style="color: blue">Réalisé par:</p></li>
|
|
<li><p><strong>ACHOUR MOHAMED</strong></style></p></li>
|
|
<li><p><strong>THOMAS FRAYSSINET</strong></p></li>
|
|
|
|
<li><p style="color: blue">Encadré par:</p></li>
|
|
<li><p><strong><span style="text-decoration: underline;">POLYTECH CLERMONT-FERRAND:</span> M.Michel JAMES</strong></p></li>
|
|
<li><p><strong><span style="text-decoration: underline;">TUTEUR INDUSTRIEL:</span> M.Julian LAURENCE</strong></style></p></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</section>
|
|
</div>
|
|
<a href="https://forge.clermont-universite.fr/projects/p20ab08" target="_blank" title="aller sur la forge" style="position: fixed; bottom: 10px; right: 10px"><img src="https://findicons.com/files/icons/1676/primo/128/info_black.png" alt=""></a>
|
|
</body>
|
|
</html>
|
|
|
|
|