71 lines
3.1 KiB
Nim
71 lines
3.1 KiB
Nim
|
#? stdtmpl | standard
|
||
|
#
|
||
|
#proc test_bouton(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/bouton.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 Bouton Dashbord</h2>
|
||
|
<div>
|
||
|
<a href="/test" class="test_ping"><h4>Back to Test Home page ...</h4></a>
|
||
|
</div>
|
||
|
<div class="panel">
|
||
|
<div style="overflow: auto; position: relative; zoom: 1; height: 731px;">
|
||
|
<div style="position: relative; zoom: 1;">
|
||
|
<div class="apps">
|
||
|
# var count: int = 1
|
||
|
# var i: int
|
||
|
# for i in 0 .. (columnLeftInfo.dashbord.position.len() - 1) :
|
||
|
# count += 1
|
||
|
# if columnLeftInfo.dashbord.ext_link[i] == "" and columnLeftInfo.dashbord.int_link[i] == "":
|
||
|
<button type="button" class="glow-on-hover" onclick="window.location.href='';">
|
||
|
# elif columnLeftInfo.dashbord.ext_link[i] == "":
|
||
|
<button type="button" class="glow-on-hover" onclick="window.location.href='${columnLeftInfo.dashbord.int_link[i]}';">
|
||
|
# else:
|
||
|
<button type="button" class="glow-on-hover" onclick="window.location.href='${columnLeftInfo.dashbord.ext_link[i]}';">
|
||
|
# end if
|
||
|
|
||
|
<div class="grid-container">
|
||
|
<div class="grid-container-title">${columnLeftInfo.dashbord.title[i]}</div>
|
||
|
<div class="grid-container-logo crossfade">
|
||
|
|
||
|
<i class="fa fa-bookmark-o fa x5" aria-hidden="true"></i>
|
||
|
<img class="top" alt="Logo" src="images/bookmarks.jpg">
|
||
|
|
||
|
</div>
|
||
|
<div class="grid-container-description">${columnLeftInfo.dashbord.description[i]}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</button>
|
||
|
# end for
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="footer">
|
||
|
<hr>
|
||
|
</div>
|
||
|
<div class="footer version">
|
||
|
<div class="gwt-Label">The NewWebJoplin V15 le 2022-10-28 10:56 par Bruno Charest.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
#end proc
|