More things work now
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s

This commit is contained in:
2026-04-27 00:42:14 +02:00
parent 2b07cc98a6
commit c7aac117c7
16 changed files with 607 additions and 59 deletions

View File

@@ -5,9 +5,9 @@ import {
SetSize,
ResetPosition,
SetResizable,
SetMovable,
ClearWindow,
CreateWindow,
Top,
} from '@/services/Windows';
import WindowHandle from './partials/WindowHandle.vue';
@@ -17,6 +17,7 @@ import { SetUser } from '~/services/User';
import Spinner from '../partials/Spinner.vue';
const handle = ref(null);
const wrapper = ref(null);
const props = defineProps(['data']);
const data = props.data;
@@ -29,6 +30,7 @@ const password = ref("");
const loading = ref(false);
onMounted(() => {
Top(wrapper);
SetupHandle(id, handle);
SetSize(id, {width: 450, height: 480});
SetResizable(id, false);
@@ -37,7 +39,7 @@ onMounted(() => {
function ShowMainMenu(){
CreateWindow('main_menu');
ClearWindow('login');
ClearWindow({type: 'login'});
}
function login() {
@@ -61,13 +63,13 @@ function login() {
function toRegister(){
CreateWindow('register');
ClearWindow('login');
ClearWindow({type: 'login'});
}
</script>
<template>
<div class="window-wrapper" :id="'window-wrapper-' + id">
<div class="window-wrapper" :id="'window-wrapper-' + id" ref="wrapper">
<WindowHandle :window="id" ref="handle"></WindowHandle>
<!-- Body -->