img-path
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default{
|
export default{
|
||||||
created: function () {
|
created: function () {
|
||||||
this.util.setTitle('Voting System - Maklumat Undian');
|
this.util.setTitle('MyKoPKB - Maklumat Undian');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default{
|
export default{
|
||||||
created: function () {
|
created: function () {
|
||||||
this.util.setTitle('Voting System - Manage Partylist');
|
this.util.setTitle('MyKoPKB - Manage Partylist');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<i class="fa fa-plus"></i> Tambah Jawatan
|
<i class="fa fa-plus"></i> Tambah Jawatan
|
||||||
</router-link>
|
</router-link>
|
||||||
<button class="btn btn-default" @click="refreshPosition()">
|
<button class="btn btn-default" @click="refreshPosition()">
|
||||||
<i class="fa fa-refresh"></i> Refresh Position
|
<i class="fa fa-refresh"></i> Kemaskini Jawatan
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<i class="fa fa-plus"></i> Tambah Pengundi
|
<i class="fa fa-plus"></i> Tambah Pengundi
|
||||||
</router-link>
|
</router-link>
|
||||||
<button class="btn btn-default" @click="refreshVoter()">
|
<button class="btn btn-default" @click="refreshVoter()">
|
||||||
<i class="fa fa-refresh"></i> Refresh Voter
|
<i class="fa fa-refresh"></i> Kemaskini
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<br> KALI KE-27/2023 </h4></CENTER>
|
<br> KALI KE-27/2023 </h4></CENTER>
|
||||||
|
|
||||||
<div class ="centered-button">
|
<div class ="centered-button">
|
||||||
<button class="btn btn-primary" @click=" navigateToURL">Klik pada pautan berikut >></button>
|
<button class="btn btn-primary" @click=" navigateToURL" target="_blank">Klik pada pautan berikut >></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ export default {
|
|||||||
padding: 20px 40px;
|
padding: 20px 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 5px;
|
border-radius: 15px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,8 +36,14 @@
|
|||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
// Select the image element by its ID
|
// Select the image element by its ID
|
||||||
var logoImage = document.getElementById('logo');
|
var logoImage = document.getElementById('logo');
|
||||||
// Set the source of the image dynamically
|
// Set the source of the image dynamically
|
||||||
logoImage.src = 'https://i.ibb.co/txhx2N0/My-Ko-PKB-logo-removebg-preview.png'; // Replace this URL with your desired image URL
|
logoImage.src = 'https://i.ibb.co/txhx2N0/My-Ko-PKB-logo-removebg-preview.png'; // Replace this URL with your desired image URL
|
||||||
|
|
||||||
|
// Add error handling
|
||||||
|
logoImage.onerror = function() {
|
||||||
|
// If the image fails to load, set a default image or handle the error in some other way
|
||||||
|
logoImage.src = 'https://i.ibb.co/txhx2N0/My-Ko-PKB-logo-removebg-preview.png'; // Replace 'path/to/default-image.png' with the URL of your default image
|
||||||
|
};
|
||||||
|
|
||||||
logoImage.style.width = '300px'; // Set width to 200 pixels
|
logoImage.style.width = '300px'; // Set width to 200 pixels
|
||||||
logoImage.style.height = 'auto';
|
logoImage.style.height = 'auto';
|
||||||
@@ -57,7 +63,7 @@ export default {
|
|||||||
created: function () {
|
created: function () {
|
||||||
if (this.util.isLogin())
|
if (this.util.isLogin())
|
||||||
//return this.$router.push({name:'Admin Home'})
|
//return this.$router.push({name:'Admin Home'})
|
||||||
this.util.setTitle('Log Masuk Pengundi=====');
|
this.util.setTitle('Log Masuk Pengundi====');
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user