From 61a6af60577280a5914b07d48ee348a797c5b512 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 23 Oct 2022 11:59:40 +0200 Subject: Remove templates --- templates/config/config.toml | 14 -------------- templates/config/templates/email/email.html | 2 -- templates/config/templates/field-input.html | 9 --------- templates/config/templates/form.html | 8 -------- templates/form-paged/fields/_fields.toml | 13 ------------- templates/form-paged/fields/email.toml | 7 ------- templates/form-paged/fields/name.toml | 6 ------ templates/form-paged/fields/second.toml | 17 ----------------- templates/form/fields/_fields.toml | 6 ------ templates/form/fields/email.toml | 7 ------- templates/form/fields/name.toml | 6 ------ 11 files changed, 95 deletions(-) delete mode 100644 templates/config/config.toml delete mode 100644 templates/config/templates/email/email.html delete mode 100644 templates/config/templates/field-input.html delete mode 100644 templates/config/templates/form.html delete mode 100644 templates/form-paged/fields/_fields.toml delete mode 100644 templates/form-paged/fields/email.toml delete mode 100644 templates/form-paged/fields/name.toml delete mode 100644 templates/form-paged/fields/second.toml delete mode 100644 templates/form/fields/_fields.toml delete mode 100644 templates/form/fields/email.toml delete mode 100644 templates/form/fields/name.toml (limited to 'templates') diff --git a/templates/config/config.toml b/templates/config/config.toml deleted file mode 100644 index 8f9a76f..0000000 --- a/templates/config/config.toml +++ /dev/null @@ -1,14 +0,0 @@ -[app] -title = "Flat-File Forms" - -[email] -host = "localhost" -user = "root" -password = 123456 - -[api] -keys = [] - -[api.cors] -origins = [] - diff --git a/templates/config/templates/email/email.html b/templates/config/templates/email/email.html deleted file mode 100644 index 3c706b1..0000000 --- a/templates/config/templates/email/email.html +++ /dev/null @@ -1,2 +0,0 @@ -

Hello this is E-Mail!

- diff --git a/templates/config/templates/field-input.html b/templates/config/templates/field-input.html deleted file mode 100644 index 407bde0..0000000 --- a/templates/config/templates/field-input.html +++ /dev/null @@ -1,9 +0,0 @@ - - diff --git a/templates/config/templates/form.html b/templates/config/templates/form.html deleted file mode 100644 index b880ee4..0000000 --- a/templates/config/templates/form.html +++ /dev/null @@ -1,8 +0,0 @@ -
- {{ csrf() }} - - {% for field in fields %} - {{ field.render() }} - {% endfor %} -
- diff --git a/templates/form-paged/fields/_fields.toml b/templates/form-paged/fields/_fields.toml deleted file mode 100644 index c0bfc7f..0000000 --- a/templates/form-paged/fields/_fields.toml +++ /dev/null @@ -1,13 +0,0 @@ -[page.one.field.name] -file = "name.toml" - -[page.one.field.email] -file = "email.toml" -required = true - -[page.second] -file = "second.toml" - -[page.second.field.date] -required = true - diff --git a/templates/form-paged/fields/email.toml b/templates/form-paged/fields/email.toml deleted file mode 100644 index 3ef14e8..0000000 --- a/templates/form-paged/fields/email.toml +++ /dev/null @@ -1,7 +0,0 @@ -type = "email" -name = "email" -placeholder = "E-Mail" - -[attributes] -data-email = "test@example.org" - diff --git a/templates/form-paged/fields/name.toml b/templates/form-paged/fields/name.toml deleted file mode 100644 index 5c888b6..0000000 --- a/templates/form-paged/fields/name.toml +++ /dev/null @@ -1,6 +0,0 @@ -type = "text" -name = "name" - -[attributes] -data-value = 123 - diff --git a/templates/form-paged/fields/second.toml b/templates/form-paged/fields/second.toml deleted file mode 100644 index cdeb9f0..0000000 --- a/templates/form-paged/fields/second.toml +++ /dev/null @@ -1,17 +0,0 @@ -[field.text] -placeholder = "Text placeholder" - -[field.text.validation] -pattern = "\\w+" - -[field.manythings] -type = "select" - -[field.manythings.options] -first = "First level" -second = "Second level" - -[field.multiplethings] -type = "checkbox" -options = ["thing-1", "thing-2", "thing-3"] - diff --git a/templates/form/fields/_fields.toml b/templates/form/fields/_fields.toml deleted file mode 100644 index 2be25cc..0000000 --- a/templates/form/fields/_fields.toml +++ /dev/null @@ -1,6 +0,0 @@ -[field.name] -file = "name.toml" - -[field.email] -file = "email.toml" - diff --git a/templates/form/fields/email.toml b/templates/form/fields/email.toml deleted file mode 100644 index 3ef14e8..0000000 --- a/templates/form/fields/email.toml +++ /dev/null @@ -1,7 +0,0 @@ -type = "email" -name = "email" -placeholder = "E-Mail" - -[attributes] -data-email = "test@example.org" - diff --git a/templates/form/fields/name.toml b/templates/form/fields/name.toml deleted file mode 100644 index 5c888b6..0000000 --- a/templates/form/fields/name.toml +++ /dev/null @@ -1,6 +0,0 @@ -type = "text" -name = "name" - -[attributes] -data-value = 123 - -- cgit v1.2.3