Add html page
This commit is contained in:
36
templates/dashboard.hbs
Normal file
36
templates/dashboard.hbs
Normal file
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="">
|
||||
|
||||
<link rel="icon" type="image/svg+xml" href="/static/icon.svg">
|
||||
<link rel="stylesheet" href="/static/styles/common.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu|Ubuntu+Mono&display=swap">
|
||||
|
||||
<title>healthpot</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 class="title">healthpot</h1>
|
||||
|
||||
<div class="last_update">
|
||||
<span>last update:</span>
|
||||
<span class="last_update_time">{{last_update}}</span>
|
||||
</div>
|
||||
|
||||
<ul class="service_list">
|
||||
{{#each services}}
|
||||
<li class="service_entry">
|
||||
<span class="service_name">{{this.name}}</span>
|
||||
<span> is </span>
|
||||
<span class="service_status"
|
||||
style="background-color: {{this.status_color}}">
|
||||
{{this.status_text}}
|
||||
</span>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user