nim-theNewWeb/tmpl/tests/test_ping.tmpl

31 lines
1.0 KiB
Cheetah
Raw Normal View History

2022-08-06 16:51:49 -04:00
#? stdtmpl | standard
# import ../snippet_html
#
#proc test_ping(c: var TData, ping: joplin_ping): string =
# result = ""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/progress.css">
<script src="js/script.js" defer></script>
</head>
<body>
<h1>TEST Ping Joplin Page</h1>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
<h3>Joplin ping status : ${ping.ping_status}</h3>
<h3>Joplin Ping result : ${ping.ping_result}</h3>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
</body>
</html>
#end proc