mirror of
https://github.com/bartvdbraak/SlayerWeightCalculator.git
synced 2025-04-27 09:41:19 +00:00
Account icon, (un)check all quests, author notice
This commit is contained in:
parent
5cac478ee5
commit
78b2cb442e
4 changed files with 25 additions and 2 deletions
BIN
src/assets/account.png
Normal file
BIN
src/assets/account.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
|
@ -86,7 +86,16 @@
|
|||
</b-col>
|
||||
</b-row>
|
||||
<b-row class="shadow py-3">
|
||||
<b-col sm="12" ><h4>Quests Unlocks</h4></b-col>
|
||||
<b-col sm="12" ><h4>Quests Unlocks</h4>
|
||||
<b-form-checkbox
|
||||
@change="checkAll($event)"
|
||||
class="mb-1">
|
||||
<small class="text-monospace text-muted text-primary" >
|
||||
Unlocked all
|
||||
</small>
|
||||
</b-form-checkbox>
|
||||
|
||||
</b-col>
|
||||
<b-col md="6" xl="4" v-for="questUnlock in configData.questUnlocks" v-bind:key="questUnlock.id">
|
||||
<b-form-checkbox
|
||||
class="mb-1"
|
||||
|
@ -172,6 +181,12 @@ export default {
|
|||
};
|
||||
fr.readAsText(file);
|
||||
});
|
||||
},
|
||||
checkAll(value) {
|
||||
let data = this.configData;
|
||||
data.questUnlocks.forEach(quest=>{
|
||||
quest.unlock = value;
|
||||
});
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
|||
links: [
|
||||
{
|
||||
id: 100,
|
||||
icon: 'hiscores.png',
|
||||
icon: 'account.png',
|
||||
title: 'Account settings',
|
||||
to: 'config',
|
||||
},
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2019, Bart van der Braak
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* @author Bart
|
||||
*/
|
||||
|
||||
import '@babel/polyfill'
|
||||
import 'mutationobserver-shim'
|
||||
import 'lodash'
|
||||
|
|
Loading…
Reference in a new issue