-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (52 loc) · 2.96 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="true">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="index.css">
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> -->
<title>smartFeed</title>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-light top">
<div class="brand" href="index.html"> <span onclick="getdata()">SmartFeed</span> </div>
</nav>
<div class="container">
<div class="alert">
<span id="petalert"></span>
</div>
</div>
<div class="container mains">
<div class="food">
<h4 style="text-align: center; color: aliceblue; border-bottom: 1px solid #5312eb;padding-bottom: 10px;">FOOD</h4>
<hr style="color: #5312eb;">
<div class="container" style="text-align: center;">
<h5> <strong>Current levels:</strong> <span id="food-refill"></span> </h5>
<hr>
<h5> <strong>Last Refill:</strong> <span id="food-time"></span></h5>
<hr>
<button onclick="food()" class="btn btn-small btn-light" >REFILL</button>
</div>
</div>
<div class="water">
<h4 style="text-align: center;color: aliceblue;border-bottom: 1px solid #5312eb; padding-bottom: 10px;">WATER</h4>
<hr style="color: #5312eb;">
<div class="container" style="text-align: center;">
<h5> <strong> Current levels:</strong> <span id="water-refill"></span></h5>
<hr >
<h5> <strong>Last Refill:</strong> <span id="water-time"></span></h5>
<hr>
<button onclick="water()" class="btn btn-small btn-light" > <span>REFILL</span></button>
</div>
</div>
</div>
<script src="index.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
</body>
</html>