-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclock.html
executable file
·45 lines (42 loc) · 1.29 KB
/
clock.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<html>
<head>
<script src="js/jquery-1.12.2.min.js"></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link href="css/dropzone.css" type="text/css" rel="stylesheet" />
<style type="text/css">
body {
background: url(./img/active.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-shadow:0px 0px 10px #000
}
</style>
</head>
<body>
<div style="vertical-align:middle">
<script>$.get("php/status.php",function(data){
if(data=="LoggedIN"){
$("#block").fadeOut();
}
else{
window.location.href="index.html";
}
});
</script>
<div style="display:inline-block;">
<h1 id="city">City</h1>
<h2 id="description">Description</h2>
<h2 id="temp">temperature</h2>
<h3 id="hilo">hi/lo</h3>
</div style="display:inline-block;">
<div style="float:right;">
<h1 style="font-size:8em;" id="time"></h1>
</div>
</div>
<div id="events" style="position:fixed;bottom:0;overflow:hidden;"></div>
<script src="js/clock.js"></script>
</body>
</html>