nim-theNewWeb/tmpl/tests/test_viewtree.nim

36 lines
1.3 KiB
Nim
Raw Normal View History

2022-08-06 16:51:49 -04:00
#? stdtmpl | standard
#
#proc test_viewtree(c: var TData): 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 href="js/viewtree/skin-win8/ui.fancytree.css" class="skinswitcher" rel="stylesheet">
<script src="js/viewtree.js" defer></script>
<script src="//code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="js/viewtree/jquery.fancytree-all-deps.min.js"></script>
</head>
<body>
<h2>TEST ViewTree Page</h2>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
<p>
<a id="button1" href="#">Toggle 'The Hobbit'</a>
</p>
<div id="tree"></div>
<div id="statusLine">Fancytree Demo - Click any node!</div>
<div>
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
</div>
</body>
</html>
#end proc