adrema/resources/js/views/setting/Nami.vue

24 lines
1.1 KiB
Vue
Raw Permalink Normal View History

2023-10-31 00:11:32 +01:00
<template>
<page-layout>
<template #right>
<f-save-button form="namisettingform"></f-save-button>
</template>
<setting-layout>
2024-06-28 12:43:05 +02:00
<form id="namisettingform" class="grow p-6 grid grid-cols-2 gap-3 items-start content-start" @submit.prevent="submit">
2023-10-31 00:11:32 +01:00
<div class="col-span-full text-gray-100 mb-3">
2024-06-28 12:43:05 +02:00
<p class="text-sm">Hier kannst du deine Zugangsdaten zu NaMi anpassen, falls sich z.B. dein Passwort geändert hat.</p>
2023-10-31 00:11:32 +01:00
</div>
2024-08-01 17:30:55 +02:00
<f-text id="mglnr" v-model="data.mglnr" label="Mitgliedsnummer"></f-text>
<f-text id="default_group_id" v-model="data.default_group_id" label="Standard-Gruppierung"></f-text>
<f-text id="password" v-model="data.password" label="Passwort" name="password" type="password"></f-text>
2023-10-31 00:11:32 +01:00
</form>
</setting-layout>
</page-layout>
</template>
2024-08-01 17:30:55 +02:00
<script setup>
import {props, useSettings} from './useSettings.js';
const innerProps = defineProps(props);
const {submit, data, meta, SettingLayout} = useSettings(innerProps);
2023-10-31 00:11:32 +01:00
</script>