1 2 3 4 5 6 7 8 9 10 11 12 13
$def with (arch_data, arch_plot) $var title: Arch <table border="1"> <tr> <th>Arch</th> <th>Hosts</th> </tr> $for arch in arch_data.keys(): <tr><td>$arch</td><td>$arch_data[arch]['HOSTS']</td></tr> </table> <img src="data:image/png;base64,$arch_plot"/>