nim-theNewWeb/tmpl/tests/test_notebooks.tmpl

35 lines
1.2 KiB
Cheetah

#? stdtmpl | standard
# import ../snippet_html
#proc test_notebooks(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 Notebooks Page</h1>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
# var title = templ_title("NOTEBOOKS")
<div><h2> ${title} </h2></div>
<lu>
# var count: int = 1
# for i in columnLeftInfo.j_notebooks.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