change naming eng to bm
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<h4> Recent Elections</h4>
|
<h4>Undian Terkini</h4>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button class="btn btn-success" v-if="data.election.status == 1 && data.user.role==1"
|
<button class="btn btn-success" v-if="data.election.status == 1 && data.user.role==1"
|
||||||
@click="util.showModal('#start-election-modal')">Start Election</button>
|
@click="util.showModal('#start-election-modal')">Start Election</button>
|
||||||
@@ -22,10 +22,10 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
<th>ID</th>
|
||||||
<th>Election Name</th>
|
<th>Nama Undian</th>
|
||||||
<th>Election Start</th>
|
<th>Undian Mula</th>
|
||||||
<th>Election End</th>
|
<th>Undian Tamat</th>
|
||||||
<th>View</th>
|
<th>Papar</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<td>{{ election.end }}</td>
|
<td>{{ election.end }}</td>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{ name: 'Election Result', params: { election_id: election.id } }"
|
<router-link :to="{ name: 'Election Result', params: { election_id: election.id } }"
|
||||||
class="btn btn-info">View Result</router-link>
|
class="btn btn-info">Keputusan Undian</router-link>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="data.elections.length < 1">
|
<tr v-if="data.elections.length < 1">
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<!-- {{ users }} -->
|
<!-- {{ users }} -->
|
||||||
<router-link :to="{name: 'Admin Home'}" tag="li" exact><a href="#">Home</a></router-link>
|
<router-link :to="{name: 'Admin Home'}" tag="li" exact><a href="#">Laman Utama</a></router-link>
|
||||||
<router-link :to="{name: 'Kemaskini Jawatan'}" v-if="data.user.role==1" tag="li">
|
<router-link :to="{name: 'Kemaskini Jawatan'}" v-if="data.user.role==1" tag="li">
|
||||||
<a href="#">Jawatan</a>
|
<a href="#">Jawatan</a>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|||||||
Reference in New Issue
Block a user