add clean badge generation for each user from database

This commit is contained in:
tcprod
2026-03-15 21:15:17 +01:00
parent d11d0b1b38
commit 4e55fc8273
12 changed files with 386 additions and 305 deletions
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 191 KiB

+39
View File
@@ -0,0 +1,39 @@
<html>
<head>
<style>
@page {
size: {{ width }} {{ height }};
margin: 0;
}
body {
margin: 0;
}
.page {
width: {{ width }};
height: {{ height }};
page-break-after: always;
display: flex;
align-items: center;
justify-content: center;
}
.rotated {
transform: rotate(180deg);
transform-origin: center;
}
</style>
</head>
<body>
<div class="page">
{{ svg_string | safe }}
</div>
<div class="page rotated">
{{ svg_string | safe }}
</div>
</body>
</html>
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB