workspace-settings.vue 870 Bytes
Newer Older
1
<template>
2
3
4
5
6
7
8
9
10
    <main>
        <section class="max-w-4xl mx-auto p-9">
            <h2 class="mb-4 text-2xl">Informations générales</h2>
            <form v-on:submit.prevent="save()">
                <oa-input id="id" label="ID" type="text" :value="workspace.id" required="true" disabled="true"></oa-input>
                <oa-input id="name" label="Nom" type="text" :value="workspace.name" required="true" @update="setName"></oa-input>
                <oa-textarea id="description" label="Description" :value="workspace.description" @update="setDescription"></oa-textarea>
                <oa-button type="submit" variant="primary" label="Enregistrer" ></oa-button>
            </form>
11
            <admin-users-table :users="authorizedUsers"></admin-users-table>
12
13
        </section>
    </main>
14
15
16
</template>

<script lang="ts" src="./workspace-settings.component.ts"/>