Update gitignore
This commit is contained in:
parent
a892dfb3ba
commit
4a06b45dd5
9 changed files with 42 additions and 41 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -7,4 +7,7 @@ node_modules
|
||||||
.data
|
.data
|
||||||
.env
|
.env
|
||||||
dist
|
dist
|
||||||
public/firmware_v3
|
public/firmware_v3/*.txt
|
||||||
|
public/firmware_v3/**/*.bin
|
||||||
|
public/firmware_v3/**/*.sha256
|
||||||
|
!public/firmware_v3/nvs/*.bin
|
|
@ -1,12 +1,28 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
interface Settings {
|
||||||
|
hasFrontlight: boolean;
|
||||||
|
displayColors: string;
|
||||||
|
customize: boolean,
|
||||||
|
}
|
||||||
|
|
||||||
|
const emit = defineEmits(['update:settings']);
|
||||||
|
const localSettings = reactive<Settings>({
|
||||||
|
customize: false,
|
||||||
|
hasFrontlight: false,
|
||||||
|
displayColors: 'black-on-white'
|
||||||
|
});
|
||||||
|
|
||||||
|
const updateSettings = () => {
|
||||||
|
emit('update:settings', { ...toRaw(localSettings) });
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="card bg-base-100 shadow-xl">
|
<div class="card bg-base-100 shadow-xl">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="">
|
<div class="">
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex justify-between items-center">
|
||||||
<h2 class="card-title">Customize settings</h2>
|
<h2 class="card-title">Customize settings</h2>
|
||||||
<!-- <button class="btn btn-ghost btn-sm" @click="isExpanded = !isExpanded">
|
|
||||||
<span class="text-lg">{{ isExpanded ? '↑' : '↓' }}</span>
|
|
||||||
</button> -->
|
|
||||||
<div class="form-control">
|
<div class="form-control">
|
||||||
<label class="label cursor-pointer p-0">
|
<label class="label cursor-pointer p-0">
|
||||||
<span class="label-text">Enable</span>
|
<span class="label-text">Enable</span>
|
||||||
|
@ -57,23 +73,3 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
interface Settings {
|
|
||||||
hasFrontlight: boolean;
|
|
||||||
displayColors: string;
|
|
||||||
customize: boolean,
|
|
||||||
}
|
|
||||||
|
|
||||||
const emit = defineEmits(['update:settings']);
|
|
||||||
const isExpanded = ref(true);
|
|
||||||
const localSettings = reactive<Settings>({
|
|
||||||
customize: false,
|
|
||||||
hasFrontlight: false,
|
|
||||||
displayColors: 'black-on-white'
|
|
||||||
});
|
|
||||||
|
|
||||||
const updateSettings = () => {
|
|
||||||
emit('update:settings', { ...toRaw(localSettings) });
|
|
||||||
};
|
|
||||||
</script>
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
const selectedDevice = ref();
|
||||||
|
|
||||||
|
const emit = defineEmits<{
|
||||||
|
(e: 'update:device', value: string): void;
|
||||||
|
}>();
|
||||||
|
|
||||||
|
watch(selectedDevice, (newValue) => {
|
||||||
|
emit('update:device', newValue);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="card bg-base-100 shadow-xl">
|
<div class="card bg-base-100 shadow-xl">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -56,14 +68,3 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
const selectedDevice = ref();
|
|
||||||
|
|
||||||
const emit = defineEmits<{
|
|
||||||
(e: 'update:device', value: string): void;
|
|
||||||
}>();
|
|
||||||
|
|
||||||
watch(selectedDevice, (newValue) => {
|
|
||||||
emit('update:device', newValue);
|
|
||||||
});
|
|
||||||
</script>
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
defineProps<{
|
||||||
|
progress: number;
|
||||||
|
}>();
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<progress
|
<progress
|
||||||
|
@ -9,8 +15,3 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
defineProps<{
|
|
||||||
progress: number;
|
|
||||||
}>();
|
|
||||||
</script>
|
|
0
public/firmware_v3/nvs/.gitkeep
Normal file
0
public/firmware_v3/nvs/.gitkeep
Normal file
BIN
public/firmware_v3/nvs/black-on-white.bin
Normal file
BIN
public/firmware_v3/nvs/black-on-white.bin
Normal file
Binary file not shown.
BIN
public/firmware_v3/nvs/frontlight_black-on-white.bin
Normal file
BIN
public/firmware_v3/nvs/frontlight_black-on-white.bin
Normal file
Binary file not shown.
BIN
public/firmware_v3/nvs/frontlight_white-on-black.bin
Normal file
BIN
public/firmware_v3/nvs/frontlight_white-on-black.bin
Normal file
Binary file not shown.
BIN
public/firmware_v3/nvs/white-on-black.bin
Normal file
BIN
public/firmware_v3/nvs/white-on-black.bin
Normal file
Binary file not shown.
Loading…
Reference in a new issue