feat: form for cert request
This commit is contained in:
parent
f563eb7cb7
commit
92b39998e8
1 changed files with 73 additions and 58 deletions
|
@ -1,4 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
|
<v-card class="ma-5">
|
||||||
|
<v-card-title>Request a certificate</v-card-title>
|
||||||
|
<v-card-item>
|
||||||
<v-form v-model="valid">
|
<v-form v-model="valid">
|
||||||
<v-container>
|
<v-container>
|
||||||
<v-row>
|
<v-row>
|
||||||
|
@ -58,9 +61,17 @@
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-container>
|
</v-container>
|
||||||
</v-form>
|
</v-form>
|
||||||
|
</v-card-item>
|
||||||
|
<v-card-actions>
|
||||||
|
<v-col class="text-right">
|
||||||
|
<v-btn onclick="requestCertificate()" text="Request certificate" prepend-icon="mdi-certificate"/>
|
||||||
|
</v-col>
|
||||||
|
</v-card-actions>
|
||||||
|
</v-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
||||||
import type { Valid } from "@/types/util";
|
import type { Valid } from "@/types/util";
|
||||||
|
|
||||||
type FormData = {
|
type FormData = {
|
||||||
|
@ -92,4 +103,8 @@ export default {
|
||||||
commonNameRules: [requiredValidation("Common Name")],
|
commonNameRules: [requiredValidation("Common Name")],
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function requestCertificate() {
|
||||||
|
throw new Error("Not supported yet");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue