aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-18 17:22:17 -0600
committerFrederick Muriuki Muriithi2025-02-18 17:22:17 -0600
commit5b70de4de854b1ab6bdeb88eca1c15a3f75138d0 (patch)
treeed732193f6bdd06f9087e9923b77ee28a78e67f8
parentafad2ae40f32ea677b77b28176ac07268f6fa594 (diff)
downloadgn-uploader-5b70de4de854b1ab6bdeb88eca1c15a3f75138d0.tar.gz
Add missing macro.
-rw-r--r--uploader/templates/macro-step-indicator.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/uploader/templates/macro-step-indicator.html b/uploader/templates/macro-step-indicator.html
new file mode 100644
index 0000000..ac0be77
--- /dev/null
+++ b/uploader/templates/macro-step-indicator.html
@@ -0,0 +1,15 @@
+{%macro step_indicator(step, width=100)%}
+<svg width="{{width}}" height="{{width}}" xmlns="http://www.w3.org/2000/svg">
+ <circle cx="{{0.5*width}}"
+ cy="{{0.5*width}}"
+ r="{{0.5*width}}"
+ fill="#E5E5FF" />
+ <text x="{{0.5*width}}"
+ y="{{0.6*width}}"
+ font-size="{{0.2*width}}"
+ text-anchor="middle"
+ fill="#555555">
+ Step {{step}}
+ </text>
+</svg>
+{%endmacro%}