feat: Add more advanced voting
All checks were successful
Build Docker / Build Image (push) Successful in 22s

This commit is contained in:
2024-02-25 21:39:04 +11:00
parent eaf0a23923
commit e960d6d0ef
5 changed files with 114 additions and 11 deletions

View File

@@ -49,7 +49,7 @@
<h4><span id="percent">0</span>% of the voting power.</h4>
<p class="fs-5 text-muted mb-5">Vote here</p>
<form class="d-flex justify-content-center flex-wrap" id="signMessageForm" data-bs-theme="light">
<div class="shadow-lg mb-3"><input class="form-control" type="text" id="vote" name="vote" value="{{vote}}" placeholder="Your Vote"></div>
<div class="shadow-lg mb-3">{{options|safe}}</div>
<div class="shadow-lg mb-3"><button class="btn btn-primary" type="submit">Vote</button></div>
</form>
</div>{{votes|safe}}