First fully working user management, move to layout groups
This commit is contained in:
@ -111,9 +111,6 @@ export function edit_ingredient_and_close_modal(){
|
||||
modal_el.close();
|
||||
}
|
||||
|
||||
export function show_keys(event){
|
||||
console.log(event.ctrlKey, event.key)
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
@ -122,7 +122,6 @@
|
||||
const item = await res.json();
|
||||
}
|
||||
async function doAdd () {
|
||||
console.log(add_info.total_time)
|
||||
const res = await fetch('/api/add', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
|
@ -14,7 +14,6 @@ const link_els = document.querySelectorAll("nav a")
|
||||
link_els.forEach((el) => {
|
||||
el.addEventListener("click", () => {toggle_sidebar(true)});
|
||||
})
|
||||
console.log(link_els)
|
||||
})
|
||||
|
||||
</script>
|
||||
|
@ -229,7 +229,7 @@ span
|
||||
<button class:selected={multiplier==1.5} on:click={() => {multiplier=1.5; custom_mul="…"}}><sup>3</sup>⁄<sub>2</sub>x</button>
|
||||
<button class:selected={multiplier==2} on:click="{() => {multiplier=2; custom_mul="…"}}">2x</button>
|
||||
<button class:selected={multiplier==3} on:click="{() => {multiplier=3; custom_mul="…"}}">3x</button>
|
||||
<button class:selected={multiplier==custom_mul} on:click={(e) => { console.log(e) ;const el = e.composedPath()[0].children[0]; if(el){ el.focus()}}}>
|
||||
<button class:selected={multiplier==custom_mul} on:click={(e) => { const el = e.composedPath()[0].children[0]; if(el){ el.focus()}}}>
|
||||
<span class:selected={multiplier==custom_mul}
|
||||
on:focus={() => { custom_mul="" }
|
||||
}
|
||||
|
@ -47,7 +47,6 @@
|
||||
|
||||
const json = await res.json()
|
||||
result = JSON.stringify(json)
|
||||
console.log(result)
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
@ -5,7 +5,6 @@
|
||||
let months = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
||||
let month : number;
|
||||
export let active_index;
|
||||
console.log(active_index)
|
||||
|
||||
</script>
|
||||
<style>
|
||||
|
Reference in New Issue
Block a user