img-path
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<script>
|
||||
export default{
|
||||
created: function () {
|
||||
this.util.setTitle('Voting System - Maklumat Undian');
|
||||
this.util.setTitle('MyKoPKB - Maklumat Undian');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<script>
|
||||
export default{
|
||||
created: function () {
|
||||
this.util.setTitle('Voting System - Manage Partylist');
|
||||
this.util.setTitle('MyKoPKB - Manage Partylist');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -9,7 +9,7 @@
|
||||
<i class="fa fa-plus"></i> Tambah Jawatan
|
||||
</router-link>
|
||||
<button class="btn btn-default" @click="refreshPosition()">
|
||||
<i class="fa fa-refresh"></i> Refresh Position
|
||||
<i class="fa fa-refresh"></i> Kemaskini Jawatan
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<i class="fa fa-plus"></i> Tambah Pengundi
|
||||
</router-link>
|
||||
<button class="btn btn-default" @click="refreshVoter()">
|
||||
<i class="fa fa-refresh"></i> Refresh Voter
|
||||
<i class="fa fa-refresh"></i> Kemaskini
|
||||
</button>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<br> KALI KE-27/2023 </h4></CENTER>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ export default {
|
||||
padding: 20px 40px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
border-radius: 5px;
|
||||
border-radius: 15px;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
|
||||
@@ -36,13 +36,19 @@
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// Select the image element by its ID
|
||||
var logoImage = document.getElementById('logo');
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// 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.height = 'auto';
|
||||
logoImage.style.objectFit = 'cover';
|
||||
logoImage.style.margin = 'auto';
|
||||
logoImage.style.margin = 'auto';
|
||||
});
|
||||
|
||||
|
||||
@@ -57,7 +63,7 @@ export default {
|
||||
created: function () {
|
||||
if (this.util.isLogin())
|
||||
//return this.$router.push({name:'Admin Home'})
|
||||
this.util.setTitle('Log Masuk Pengundi=====');
|
||||
this.util.setTitle('Log Masuk Pengundi====');
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user