blob: dbea2ce30f319a1674a6bbb8ad75daf475ea43ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<template>
<div class="fc_settings__container">
<!-- Game folder location -->
<h3>Manage installation</h3>
<el-input
v-model="$store.state.game_path"
class="w-50 m-2"
placeholder="Choose installation folder"
@click="updateGamePath"
>
<template #prepend>
<el-button icon="Folder" @click="updateGamePath"/>
</template>
</el-input>
</div>
</template>
<script>
export default {
name: "SettingsView",
methods: {
updateGamePath() {
console.log('TODO: update path');
}
},
mounted() {
document.querySelector('input').disabled = true;
}
}
</script>
<style scoped>
.fc_settings__container {
max-width: 1200px;
padding: 20px 30px;
margin: 0 auto;
color: white;
}
h3:first-of-type {
margin-top: 0;
margin-bottom: 1em;
text-transform: uppercase;
font-weight: unset;
}
.el-input {
width: 50%;
}
</style>
|