nim-theNewWeb/tmpl/tests/test_notes.tmpl

35 lines
1.2 KiB
Cheetah

#? stdtmpl | standard
# import ../snippet_html
#proc test_notes(c: var TData, columnLeftInfo: var ColomnLeftData): 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">
<script src="js/script.js" defer></script>
</head>
<body>
<h1>TEST Joplin Notes Page</h1>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
# var title = templ_title("NOTES")
<div> ${title} </div>
<lu>
# var count: int = 1
# for i in columnLeftInfo.j_notes.title:
<li> ${count} : ${i} </li>
# count += 1
# end for
</lu>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
</body>
</html>
# end proc