-
Notifications
You must be signed in to change notification settings - Fork 0
/
CatInfo.html
88 lines (76 loc) · 3.4 KB
/
CatInfo.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Cat Information</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/lumen/bootstrap.min.css" integrity="sha384-GzaBcW6yPIfhF+6VpKMjxbTx6tvR/yRd/yJub90CqoIn2Tz4rRXlSpTFYMKHCifX" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<style>
{{{style}}}
</style>
<!--cat info paylode : name weight type des update-->
<!--cat schedule paylode : time amount des-->
</head>
<body>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
{{{nav}}}
<div class="container-fluid maxWidth">
<center><h2>Cat Information</h2></center>
<br>
<!--first row-->
<div class="row">
{{{catinfo}}}
<!--Cat information>
<div class="col-sm">
{{#payload}}
<div class="container" style="font-size:16px;">
<div class="card p-4">
<div class=" image d-flex flex-column justify-content-center align-items-center"><button class="rbtn btn-secondary">
<img src="http://pngimg.com/uploads/cat/cat_PNG50514.png" height="100" width="100" ></button>
<span class="name mt-3">{{name}}</span> <br>
<span class="idd" style="font-size:16px;">Weight : {{weight}} kg</span>
<span class="idd" style="font-size:16px;">type : {{type}} </span>
<div class="text mt-3"> <span>{{des}} </span> </div>
<br>
<div class=" btn btn-lg" style="width:100%"> <a href="/catedit"><button class="btn btn-info" style="width:100%">Edit Profile</button></a> </div>
</div>
<div class="gap-3 mt-3 icons d-flex flex-row justify-content-center align-items-center">
<center><div class=" card border-secondary mb-3 "> <span class="join text-primary">Last update {{date}}</span> </div> </center>
</div>
</div>
</div>
{{/payload}}
</div>
<End of Cat information-->
<!--Cat schedule-->
<div class="col-sm .ml-1">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Time</th>
<th scope="col">Amount of food</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<!--display value of payload-->
<tr class="table-active">
{{#payload}}
<tr class="table-light">
<td scope="row">{{time}}</td>
<td scope="row">{{amount}}</td>
<td scope="row">{{des}}</td>
</tr>
{{/payload}}
</tr>
</tbody>
</table>
</div>
<!--End of Cat schedule-->
<!--End of first row-->
</div></div>
{{{footer}}}
</body>
</html>