DONE: enhance UI on admin and voter side, add docker config, fix delete button modal not showing

This commit is contained in:
ISMAIL MASSERAN
2026-04-02 11:59:56 +08:00
parent bed56792e6
commit 4369b079cb
31 changed files with 3044 additions and 1216 deletions
@@ -13,6 +13,14 @@
<br>-<b>+6 {{ $route.params.notel }}</b>
</div>
<div
v-if="showDebugOtp"
class="alert alert-info"
style="margin-bottom:20px;"
>
OTP local development: <b>{{ $route.params.debug_otp }}</b>
</div>
<div class="justify-content-center d-flex" style="margin-top:20px;margin-bottom:20px;display: flex;flex-direction: row;justify-content: center;align-items: center;">
<v-otp-input
ref="otpInput"
@@ -58,6 +66,11 @@ export default {
loading: false
}
},
computed: {
showDebugOtp: function () {
return process.env.NODE_ENV !== 'production' && !!this.$route.params.debug_otp;
}
},
created: function(){
console.log(this.$route.params.notel);