update-ui,zoom

This commit is contained in:
unknown
2024-03-30 01:39:36 +08:00
parent c089247bf2
commit 1b49be4fb6
25 changed files with 174 additions and 78 deletions
@@ -9,10 +9,10 @@
<thead>
<tr>
<th width="10%">No. Anggota</th>
<th width="30%">Name</th>
<th width="30%">Nama</th>
<th width="20%">Partylist</th>
<th width="20%">Unit</th>
<th width="20%">Votes</th>
<th width="20%">Undian</th>
</tr>
</thead>
<tbody>
@@ -1,7 +1,7 @@
<template>
<div class="panel panel-default">
<div class="panel-body">
<h4> Recent Elections</h4>
<h4>Undian terkini </h4>
<div class="form-group">
<button class="btn btn-success" v-if="data.election.status == 1" @click="util.showModal('#start-election-modal')">Start Election</button>
@@ -11,7 +11,7 @@
<button class="btn btn-danger" v-if="data.election.status == 2" @click="util.showModal('#stop-election-modal')">End Election</button>
<label v-if="data.election.status == 2">Election has Started {{ start_date }}</label>
<label v-if="data.election.status == 2">Undian telah bermula {{ start_date }}</label>
</div>
@@ -20,10 +20,10 @@
<thead>
<tr>
<th>ID</th>
<th>Election Name</th>
<th>Election Start</th>
<th>Election End</th>
<th>View</th>
<th>Nama Pengundi</th>
<th>Undian Mula </th>
<th>Undian Tamat</th>
<th>Papar</th>
</tr>
</thead>
<tbody>
@@ -73,7 +73,7 @@
</div>
<div class="form-group">
<label for="password">Confirm Password</label>
<label for="password">Sahkan Kata Laluan</label>
<input type="password" name="password" class="form-control" required/>
</div>
</modal-body>
@@ -1,7 +1,7 @@
<template>
<div class="row">
<div class="col-md-4">
<h4>Positions</h4><hr/>
<h4>Jawatan</h4><hr/>
<ul class="list-group">
<router-link :key="position.id" v-for="position in data.positions" class="list-group-item" :class="{'active':position.id==position_id}" tag="li" :to="{query:{position_id:position.id}}" exact replace>
{{ position.name }}
@@ -9,14 +9,14 @@
<li class="list-group-item">
<center>
<button class="btn btn-info" @click="refreshNominees()">
Refresh results <i class="fa fa-refresh"></i>
Kemaskini Keputusan<i class="fa fa-refresh"></i>
</button>
</center>
</li>
</ul>
</div>
<div class="col-md-8">
<h4>Results</h4><hr/>
<h4>Keputusan</h4><hr/>
<div class="panel panel-default">
<div class="panel-heading">{{ getPosition(position_id) }} - Results as of : {{ last_update }}</div>
<div class="panel-body">