You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
996 B
HTML

<html>
<head>
<title>The Screenless Office - Main Menu</title>
<style type="text/css">
body {
font-family: Georgia;
font-size: 11pt;
}
.bureau {
clear: both;
width: 100%;
}
.cmd {
width: 33%;
float: left;
}
.barcode {
height: 1cm;
}
svg {
width: 100%;
}
</style>
</head>
<body>
<div "main">
%for prefix, buro in menu.items():
<div class="bureau">
<h1>${buro["name"]}</h1>
<div class="prefix">Prefix: ${prefix}</div>
<p class="description">${buro["desc"]}</p>
<div class="commands">
%for cmdtxt, cmd in buro["commands"].items():
% if cmdtxt != "test":
<div class="cmd">
<h3>${cmd["name"]}</h3>
<div class="cmdtxt">${cmdtxt}</div>
<div class="barcode">${cmd["barcode"]}</div>
<p>${cmd["desc"]}</p>
</div>
% endif
%endfor
</div>
</div>
%endfor
</div>
</body>
</html>