ADD: WIP Component
This commit is contained in:
20
src/components/WIP.vue
Normal file
20
src/components/WIP.vue
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<template>
|
||||||
|
<div class="bg-wip w-full text-center p-8 text-zinc-200">
|
||||||
|
<span class="bg-black font-heading p-1">WORK IN PROGRESS</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.bg-wip {
|
||||||
|
--stripe-color-a: rgb(228 228 231);
|
||||||
|
--stripe-color-b: black;
|
||||||
|
--stripe-width: 1em;
|
||||||
|
background: repeating-linear-gradient(
|
||||||
|
45deg,
|
||||||
|
var(--stripe-color-a),
|
||||||
|
var(--stripe-color-a) var(--stripe-width),
|
||||||
|
var(--stripe-color-b) var(--stripe-width),
|
||||||
|
var(--stripe-color-b) calc(var(--stripe-width) * 2)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,35 +1,38 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="w-96">
|
<div class="w-96">
|
||||||
<ConfigSection :title="$t('config_options.profile_settings.profile_properties.title')" :icon-component="Type">
|
<ConfigSection :title="$t('config_options.profile_settings.profile_properties.title')" :icon-component="Type">
|
||||||
<div class="flex flex-col p-8 py-4">
|
<WIP />
|
||||||
|
<div class="hidden">
|
||||||
|
<div class="flex flex-col p-8 py-4">
|
||||||
<span
|
<span
|
||||||
class="text-sm text-muted-foreground font-mono pb-4">{{ $t('config_options.profile_settings.profile_properties.profile_name')
|
class="text-sm text-muted-foreground font-mono pb-4">{{ $t('config_options.profile_settings.profile_properties.profile_name')
|
||||||
}}</span>
|
}}</span>
|
||||||
<Input
|
<Input
|
||||||
type="text" :placeholder="$t('config_options.profile_settings.profile_properties.profile_name')"
|
type="text" :placeholder="$t('config_options.profile_settings.profile_properties.profile_name')"
|
||||||
class="text-xl border-0 text-center border-b rounded-none focus-visible:ring-0 focus-visible:border-emerald-500 font-pixelsm uppercase"
|
class="text-xl border-0 text-center border-b rounded-none focus-visible:ring-0 focus-visible:border-emerald-500 font-pixelsm uppercase"
|
||||||
default-value="Oscillator 1" maxlength="20" />
|
default-value="Oscillator 1" maxlength="20" />
|
||||||
|
|
||||||
<Label for="text" class="text-muted-foreground text-right mt-1 text-xs">16/20</Label>
|
<Label for="text" class="text-muted-foreground text-right mt-1 text-xs">16/20</Label>
|
||||||
</div>
|
</div>
|
||||||
<Separator />
|
<Separator />
|
||||||
<div class="flex flex-col p-8 py-4">
|
<div class="flex flex-col p-8 py-4">
|
||||||
<span
|
<span
|
||||||
class="text-sm text-muted-foreground font-mono pb-4">{{ $t('config_options.profile_settings.profile_properties.profile_description')
|
class="text-sm text-muted-foreground font-mono pb-4">{{ $t('config_options.profile_settings.profile_properties.profile_description')
|
||||||
}}</span>
|
}}</span>
|
||||||
<Textarea
|
<Textarea
|
||||||
class="text-lg px-3 bg-inherit text-center focus-visible:outline-none border-b focus-visible:border-emerald-500 resize-none font-pixelsm text-muted-foreground uppercase"
|
class="text-lg px-3 bg-inherit text-center focus-visible:outline-none border-b focus-visible:border-emerald-500 resize-none font-pixelsm text-muted-foreground uppercase"
|
||||||
:placeholder="$t('config_options.profile_settings.profile_properties.profile_description')"
|
:placeholder="$t('config_options.profile_settings.profile_properties.profile_description')"
|
||||||
default-value="Adjust Korg Oscillator Waveform " rows="2"
|
default-value="Adjust Korg Oscillator Waveform " rows="2"
|
||||||
maxlength="50" />
|
maxlength="50" />
|
||||||
<Label for="textarea" class="text-muted-foreground text-right mt-1 text-xs">24/50</Label>
|
<Label for="textarea" class="text-muted-foreground text-right mt-1 text-xs">24/50</Label>
|
||||||
<div class="flex items-center space-x-4 space-y-1">
|
<div class="flex items-center space-x-4 space-y-1">
|
||||||
<Switch id="airplane-mode" :default-checked="true" />
|
<Switch id="airplane-mode" :default-checked="true" />
|
||||||
<Label
|
<Label
|
||||||
for="airplane-mode"
|
for="airplane-mode"
|
||||||
class="text-xs text-muted-foreground">{{
|
class="text-xs text-muted-foreground">{{
|
||||||
$t('config_options.profile_settings.profile_properties.show_description')
|
$t('config_options.profile_settings.profile_properties.show_description')
|
||||||
}}</Label>
|
}}</Label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ConfigSection>
|
</ConfigSection>
|
||||||
@@ -51,7 +54,7 @@
|
|||||||
}}:<br>
|
}}:<br>
|
||||||
<Badge class="bg-orange-500">SHIFT</Badge> + <Badge
|
<Badge class="bg-orange-500">SHIFT</Badge> + <Badge
|
||||||
class="bg-zinc-500">Fn3</Badge> + <Badge>Rotation</Badge></span>
|
class="bg-zinc-500">Fn3</Badge> + <Badge>Rotation</Badge></span>
|
||||||
<Separator/>
|
<Separator />
|
||||||
<span class="pt-4">{{ $t('config_options.profile_settings.internal_profile_toggle.warning') }}</span>
|
<span class="pt-4">{{ $t('config_options.profile_settings.internal_profile_toggle.warning') }}</span>
|
||||||
</p>
|
</p>
|
||||||
</ConfigSection>
|
</ConfigSection>
|
||||||
@@ -68,6 +71,7 @@ import UsbIcon from '@/assets/gui-ico/ico-usb-logo.svg'
|
|||||||
import MidiIcon from '@/assets/gui-ico/ico-midi-logo.svg'
|
import MidiIcon from '@/assets/gui-ico/ico-midi-logo.svg'
|
||||||
import ConnectionTypeButton from '@/components/config/ConnectionTypeButton.vue'
|
import ConnectionTypeButton from '@/components/config/ConnectionTypeButton.vue'
|
||||||
import { Badge } from '@/components/ui/badge'
|
import { Badge } from '@/components/ui/badge'
|
||||||
|
import WIP from '@/components/WIP.vue'
|
||||||
|
|
||||||
const connectionType = ref('usb') // TODO: replace with actual value
|
const connectionType = ref('usb') // TODO: replace with actual value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user