84 lines
2.4 KiB
HTML
84 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Vite + Vue</title>
|
|
<meta name="adrema_base_url" content="/" />
|
|
</head>
|
|
<body>
|
|
<event-form
|
|
style="--primary: hsl(181, 75%, 26%); --secondary: hsl(181, 75%, 35%); --font: hsl(181, 84%, 78%); --circle: hsl(181, 86%, 16%)"
|
|
value='{
|
|
"sections": [
|
|
{
|
|
"name": "sdfs",
|
|
"fields": [
|
|
{
|
|
"required": true,
|
|
"key": "vorname",
|
|
"name": "Vorname",
|
|
"nami_type": null,
|
|
"columns": {
|
|
"mobile": 2,
|
|
"tablet": 4,
|
|
"desktop": 6
|
|
},
|
|
"for_members": true,
|
|
"special_type": null,
|
|
"hint": null,
|
|
"intro": null,
|
|
"value": null,
|
|
"type": "TextField"
|
|
},
|
|
{
|
|
"required": true,
|
|
"key": "nachname",
|
|
"name": "Nachname",
|
|
"nami_type": null,
|
|
"columns": {
|
|
"mobile": 2,
|
|
"tablet": 4,
|
|
"desktop": 3
|
|
},
|
|
"for_members": true,
|
|
"special_type": null,
|
|
"hint": null,
|
|
"intro": null,
|
|
"value": null,
|
|
"type": "TextField"
|
|
},
|
|
{
|
|
"required": true,
|
|
"key": "mail",
|
|
"name": "Mail",
|
|
"nami_type": null,
|
|
"columns": {
|
|
"mobile": 1,
|
|
"tablet": 2,
|
|
"desktop": 3
|
|
},
|
|
"for_members": true,
|
|
"special_type": null,
|
|
"hint": null,
|
|
"intro": null,
|
|
"value": null,
|
|
"type": "EmailField"
|
|
}
|
|
],
|
|
"intro": null
|
|
}
|
|
]
|
|
}'
|
|
payload='{"vorname": "Philipp", "nachname": "Lang", "mail": "a@b.de"}'
|
|
url="http://localhost:8000"
|
|
></event-form>
|
|
<event-overview
|
|
style="--primary: hsl(181, 75%, 26%); --secondary: hsl(181, 75%, 35%); --font: hsl(181, 84%, 78%); --circle: hsl(181, 86%, 16%)"
|
|
url-pattern="/anmeldung/{slug}"
|
|
url="http://localhost:8000/api/form"
|
|
></event-overview>
|
|
<script type="module" src="src/main.js"></script>
|
|
</body>
|
|
</html>
|