diff --git a/project/blueprints/accounts-admin/add/blueprint.yaml b/project/blueprints/accounts-admin/add/blueprint.yaml deleted file mode 100644 index 24bea36e..00000000 --- a/project/blueprints/accounts-admin/add/blueprint.yaml +++ /dev/null @@ -1,108 +0,0 @@ -title: Create new account -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_account_add - process: - fields: - - name: id - properties: - type: string - - name: roles - properties: - type: string - - name: state - properties: - type: string - - name: password - properties: - type: string - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.accounts.edit" - args: - id: "{{ query.id }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('accounts_admin_create_new_account') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_create') }}" - - type: Row - blocks: - - type: Column - properties: - size: 3/12 - blocks: - - type: InputEmail - properties: - name: id - label: - value: "{{ __('accounts_admin_email') }}" - validation: - required: true - pattern: '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$' - - type: Column - properties: - size: 3/12 - blocks: - - type: InputPassword - properties: - name: password - label: - value: "{{ __('accounts_admin_password') }}" - validation: - required: true - pattern: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Tagify - properties: - name: roles - label: - value: "{{ __('accounts_admin_roles') }}" \ No newline at end of file diff --git a/project/blueprints/accounts-admin/blueprint.yaml b/project/blueprints/accounts-admin/blueprint.yaml deleted file mode 100644 index e4fed0a4..00000000 --- a/project/blueprints/accounts-admin/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Accounts Admin -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('accounts_admin_accounts') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_create') }}" - href: "{{ urlFor('admin.accounts.add') }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/accounts-admin/edit/blueprint.yaml b/project/blueprints/accounts-admin/edit/blueprint.yaml deleted file mode 100644 index 71d42301..00000000 --- a/project/blueprints/accounts-admin/edit/blueprint.yaml +++ /dev/null @@ -1,159 +0,0 @@ -title: Edit account -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_account_edit - process: - fields: - - name: name - properties: - type: string - - name: bio - properties: - type: string - - name: location - properties: - type: string - - name: website - properties: - type: string - - name: roles - properties: - type: string - - name: state - properties: - type: string - - name: new_password - properties: - type: string - - name: id - properties: - type: string - value: "{{ query.id }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.accounts.edit" - args: - id: "{{ query.id }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('accounts_admin_edit_account') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputText - properties: - name: name - label: - value: "{{ __('accounts_admin_name') }}" - - type: Column - properties: - size: 12 - blocks: - - type: InputTextarea - properties: - name: bio - rows: 8 - label: - value: "{{ __('accounts_admin_bio') }}" - - type: Column - properties: - size: 6/12 - blocks: - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: InputText - properties: - name: location - label: - value: "{{ __('accounts_admin_location') }}" - - type: Column - properties: - size: 6/12 - blocks: - - type: InputText - properties: - name: website - label: - value: "{{ __('accounts_admin_website') }}" - - type: Column - properties: - size: 12 - blocks: - - type: Tagify - properties: - name: roles - label: - value: "{{ __('accounts_admin_roles') }}" - - type: Column - properties: - size: 6/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 6/12 - blocks: - - type: InputPassword - properties: - name: new_password - label: - value: "{{ __('accounts_admin_new_password') }}" \ No newline at end of file diff --git a/project/blueprints/accounts-admin/login/blueprint.yaml b/project/blueprints/accounts-admin/login/blueprint.yaml deleted file mode 100644 index d49c8a97..00000000 --- a/project/blueprints/accounts-admin/login/blueprint.yaml +++ /dev/null @@ -1,83 +0,0 @@ -title: Login -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_account_login - process: - fields: - - name: id - properties: - type: string - - name: password - properties: - type: string - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 4/12 - style: - margin: 0 auto - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('accounts_admin_login') }}" - - type: Row - properties: - class: g-3 mt-2 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputEmail - properties: - name: id - validation: - required: true - pattern: '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$' - label: - value: "{{ __('accounts_admin_email') }}" - - type: Column - properties: - size: 12 - blocks: - - type: InputPassword - properties: - name: password - validation: - required: true - pattern: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' - label: - value: "{{ __('accounts_admin_password') }}" - - type: Column - properties: - size: 12 - class: mt-4 - blocks: - - type: InputSubmit - properties: - name: submit - value: "{{ __('accounts_admin_login') }}" - - type: Anchor - properties: - class: btn btn-link - value: "{{ __('accounts_admin_forgot_password') }}" - href: "./reset-password" - \ No newline at end of file diff --git a/project/blueprints/accounts-admin/registration/blueprint.yaml b/project/blueprints/accounts-admin/registration/blueprint.yaml deleted file mode 100644 index b77bd35b..00000000 --- a/project/blueprints/accounts-admin/registration/blueprint.yaml +++ /dev/null @@ -1,102 +0,0 @@ -title: Registration -icon: - set: bootstrap - name: file-text -vars: - - name: version - type: string - value: "@parsers:twig; {{ registry().get('flextype.manifest.version') }}" -actions: - get: - - name: foo - properties: - vars: - - name: version - type: string - value: "@parsers:twig; {{ registry().get('flextype.manifest.version') }}" -emitter: - addListener: - - name: onAdminThemeTail - properties: - vars: - - name: version - type: string - value: "@parsers:twig; {{ registry().get('flextype.manifest.version') }}" - value: | - @parsers:twig; - Flextype: {{ version }} -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_account_registration - process: - fields: - - name: id - properties: - type: string - - name: password - properties: - type: string - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 4/12 - style: - margin: 0 auto - blocks: - - type: Heading - properties: - size: large - id: title - value: "@parsers:twig;{{ __('accounts_admin_create_new_account') }} - {{ version }}" - - type: Row - properties: - class: g-3 mt-2 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputEmail - properties: - name: id - label: - value: "@parsers:twig;{{ __('accounts_admin_email') }}" - validation: - required: true - pattern: '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$' - help: "@parsers:twig;{{ __('accounts_admin_installation_email_tip') }}" - - type: Column - properties: - size: 12 - blocks: - - type: InputPassword - properties: - name: password - label: - value: "@parsers:twig;{{ __('accounts_admin_password') }}" - validation: - required: true - pattern: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' - help: "@parsers:twig;{{ __('accounts_admin_installation_password_tip') }}" - - type: Column - properties: - size: 12 - class: mt-4 - blocks: - - type: InputSubmit - properties: - name: submit - value: "@parsers:twig;{{ __('accounts_admin_create') }}" \ No newline at end of file diff --git a/project/blueprints/accounts-admin/reset-password/blueprint.yaml b/project/blueprints/accounts-admin/reset-password/blueprint.yaml deleted file mode 100644 index 28348839..00000000 --- a/project/blueprints/accounts-admin/reset-password/blueprint.yaml +++ /dev/null @@ -1,70 +0,0 @@ -title: Reset password -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_account_reset_password - process: - fields: - - name: id - properties: - type: string - - name: password - properties: - type: string - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 4/12 - style: - margin: 0 auto - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('accounts_admin_reset_password') }}" - - type: Row - properties: - class: g-3 mt-2 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputEmail - properties: - name: id - validation: - required: true - pattern: '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$' - label: - value: "{{ __('accounts_admin_email') }}" - - type: Column - properties: - size: 12 - class: mt-4 - blocks: - - type: InputSubmit - properties: - name: submit - value: "{{ __('accounts_admin_reset') }}" - - type: Anchor - properties: - class: btn btn-link - value: "{{ __('accounts_admin_cancel') }}" - href: "./login" \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/account/blueprint.yaml b/project/blueprints/admin/entries/accounts/account/blueprint.yaml deleted file mode 100644 index 917845da..00000000 --- a/project/blueprints/admin/entries/accounts/account/blueprint.yaml +++ /dev/null @@ -1,222 +0,0 @@ -title: Account -icon: - set: bootstrap - name: people-circle -admin: - entries: - accounts: - account: - item: - emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | -
- - blocks: - - type: Row - properties: - class: "m-0" - blocks: - - type: Column - properties: - size: 12 - class: card - blocks: - - type: Row - properties: - class: d-flex align-items-center row-hover - blocks: - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: Display - properties: - class: 'asd' - value: "{{ icon('person-circle', 'bootstrap') }}" - - type: Column - properties: - size: 10/12 - blocks: - - type: Row - properties: - class: gy-2 - blocks: - - type: Column - properties: - size: 5/12 - class: p-2 px-3 - blocks: - - type: Display - properties: - wrapper: div - style: - opacity: .4 - value: "{{ __('Email') }}" - - type: Display - properties: - wrapper: div - value: "{{ strings(entry.id).lastSegment('/') }}" - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: ActionsDropdown - properties: - items: - - href: "{{ urlFor('admin.entries.index') }}?id={{ entry.id }}" - value: "{{ __('View') }}" - visible: "{{ entry.has_children }}" - icon: - set: bootstrap - name: eye - - href: "{{ urlFor('admin.entries.edit') }}?id={{ entry.id }}" - value: "{{ __('admin_edit') }}" - icon: - set: bootstrap - name: pencil - - href: "{{ urlFor('admin.entries.add') }}?id={{ entry.id }}" - value: "{{ __('Add') }}" - icon: - set: bootstrap - name: plus-circle - - href: "#" - value: "{{ __('admin_duplicate') }}" - events: - onclick: "event.preventDefault(); document.getElementById('duplicate-content-id-{{ entry.id }}').submit();" - icon: - set: bootstrap - name: files - - href: "{{ urlFor('admin.entries.rename') }}?id={{ entry.id }}" - value: "{{ __('admin_rename') }}" - icon: - set: bootstrap - name: file-font - - href: "{{ urlFor('admin.entries.move') }}?id={{ entry.id }}" - value: "{{ __('admin_move') }}" - icon: - set: bootstrap - name: arrow-right-square - - href: "#" - events: - onclick: "confirmationEntryDelete(event, '{{ entry.id }}');" - value: "{{ __('admin_delete') }}" - icon: - set: bootstrap - name: trash - edit: - blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_account_add - process: - fields: - - name: id - properties: - type: string - - name: roles - properties: - type: string - - name: state - properties: - type: string - - name: password - properties: - type: string - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.accounts.edit" - args: - id: "{{ query.id }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('accounts_admin_create_new_account') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_create') }}" - - type: Row - blocks: - - type: Column - properties: - size: 3/12 - blocks: - - type: InputEmail - properties: - name: id - label: - value: "{{ __('accounts_admin_email') }}" - validation: - required: true - pattern: '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$' - - type: Column - properties: - size: 3/12 - blocks: - - type: InputPassword - properties: - name: password - label: - value: "{{ __('accounts_admin_password') }}" - validation: - required: true - pattern: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Tagify - properties: - name: roles - label: - value: "{{ __('accounts_admin_roles') }}" \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/account/item/blueprint.yaml b/project/blueprints/admin/entries/accounts/account/item/blueprint.yaml deleted file mode 100644 index 787659ae..00000000 --- a/project/blueprints/admin/entries/accounts/account/item/blueprint.yaml +++ /dev/null @@ -1,125 +0,0 @@ -title: Default -icon: - set: bootstrap - name: file-text -vars: - - name: foo - value: "@parsers:twig; {{ urlFor('admin.entries.deleteProcess') }}" -emitter: - addListener: - - name: onAdminThemeTail - properties: - vars: - - name: boo - value: "boo" - value: | - @parsers:twig; - 1. {{ foo }} - 2. {{ boo }} - - -blocks: - - type: Row - properties: - class: "m-0" - blocks: - - type: Column - properties: - size: 12 - class: card - blocks: - - type: Row - properties: - class: d-flex align-items-center row-hover - blocks: - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: Display - properties: - value: | - @parsers:twig,markdown,shortcode; - **Email:** {{ acl().getUserLoggedInEmail() }} - **Url:** [url] - {#{ icon('person-circle', 'bootstrap') }#}" - - type: Column - properties: - size: 10/12 - blocks: - - type: Row - properties: - class: gy-2 - blocks: - - type: Column - properties: - size: 5/12 - class: p-2 px-3 - blocks: - - type: Display - properties: - wrapper: div - style: - opacity: .4 - value: | - @twig - - type: Display - properties: - wrapper: div - value: "{{ urlFor('admin.entries.index') }}?id={{ entry.id }}" - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: ActionsDropdown - properties: - items: - - href: "@twig {{ urlFor('admin.entries.index') }}?id={{ entry.id }}" - value: "@twig: {{ __('View') }}" - visible: "@twig {{ entry.has_children }}" - icon: - set: bootstrap - name: eye - - href: "@twig {{ urlFor('admin.entries.edit') }}?id={{ entry.id }}" - value: "@twig {{ __('admin_edit') }}" - icon: - set: bootstrap - name: pencil - - href: "@twig {{ urlFor('admin.entries.add') }}?id={{ entry.id }} @endtwig" - value: "@twig {{ __('Add') }}" - icon: - set: bootstrap - name: plus-circle - - href: "#" - value: "@twig {{ __('admin_duplicate') }}" - events: - onclick: "@twig event.preventDefault(); document.getElementById('duplicate-content-id-{{ entry.id }}').submit();" - icon: - set: bootstrap - name: files - - href: "@twig {{ urlFor('admin.entries.rename') }}?id={{ entry.id }}" - value: "@twig {{ __('admin_rename') }}" - icon: - set: bootstrap - name: file-font - - href: "@twig {{ urlFor('admin.entries.move') }}?id={{ entry.id }}" - value: "@twig {{ __('admin_move') }}" - icon: - set: bootstrap - name: arrow-right-square - - href: "#" - events: - onclick: "@twig confirmationEntryDelete(event, '{{ entry.id }}');" - value: "@twig {{ __('admin_delete') }}" - icon: - set: bootstrap - name: trash \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/account/move/blueprint.yaml b/project/blueprints/admin/entries/accounts/account/move/blueprint.yaml deleted file mode 100644 index 1d6ed013..00000000 --- a/project/blueprints/admin/entries/accounts/account/move/blueprint.yaml +++ /dev/null @@ -1,90 +0,0 @@ -title: Move entry -icon: - set: bootstrap - name: file-alt -blocks: - - type: Container - properties: - class: mt-4 - blocks: - - type: Row - properties: - class: justify-content-center - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries_move') }}" - class: mb-4 - - type: Form - properties: - name: form_entries_move - process: - fields: - - name: id - properties: - type: string - value: "{{ query.id }}" - - name: entry_current_id - properties: - type: string - value: "{{ entryCurrentID }}" - - name: entry_parent_id - properties: - type: string - value: "{{ entryParentID }}" - - name: from - properties: - type: string - - name: to - properties: - type: string - messages: - error: "{{ __('admin_message_entries_was_not_moved') }}" - success: "{{ __('admin_message_entries_moved') }}" - redirect: - route: admin.entries.index - args: - id: "{{ _form.registry.data.to }}" - blocks: - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputText - properties: - name: from - value: "{{ entryParentID }}" - label: - value: "{{ __('admin_from') }}" - disabled: true - - type: Column - properties: - size: 12 - blocks: - - type: Select2 - properties: - name: to - items: "{{ serializers().json.encode(entries) }}" - label: - value: "{{ __('admin_to') }}" - - type: Column - properties: - size: 12 - class: pt-2 - blocks: - - type: InputSubmit - properties: - name: submit_form_entries_create - type: primary - value: "{{ __('admin_move') }}" - class: js-submit-entry-move-form - \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/account/rename/blueprint.yaml b/project/blueprints/admin/entries/accounts/account/rename/blueprint.yaml deleted file mode 100644 index 89a2ec13..00000000 --- a/project/blueprints/admin/entries/accounts/account/rename/blueprint.yaml +++ /dev/null @@ -1,72 +0,0 @@ -title: Rename entry -icon: - set: bootstrap - name: file-alt -blocks: - - type: Container - properties: - class: mt-4 - blocks: - - type: Row - properties: - class: justify-content-center - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_rename_entry') }}" - class: mb-4 - - type: Form - properties: - name: form_entries_rename - process: - fields: - - name: id - properties: - type: string - value: "{{ query.id }}" - - name: new_id - properties: - type: string - value: | - {% if registry().get('plugins.admin.settings.entries.slugify') %} - {{ (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) ~ '/' ~ flextype.slugify.slugify(_form.registry.data.name) }} - {% else %} - {{ (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) ~ '/' ~ _form.registry.data.name }} - {% endif %} - messages: - error: "{{ __('admin_message_entries_was_not_renamed') }}" - success: "{{ __('admin_message_entries_renamed') }}" - redirect: - route: admin.entries.index - args: - id: "{{ (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) }}" - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputText - properties: - name: name - label: - value: "{{ __('admin_name') }}" - help: "{{ __('admin_help_text_for_entries_name') }}" - value: "{{ arraysFromString(query.id, '/').last() }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_name_empty_input') }}" - - type: Column - properties: - size: 12 - class: pt-4 - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_rename') }}" \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/blueprint.yaml b/project/blueprints/admin/entries/accounts/blueprint.yaml deleted file mode 100644 index 471a7ea0..00000000 --- a/project/blueprints/admin/entries/accounts/blueprint.yaml +++ /dev/null @@ -1,4 +0,0 @@ -title: Accounts -icon: - set: bootstrap - name: file-text \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/index/blueprint.yaml b/project/blueprints/admin/entries/accounts/index/blueprint.yaml deleted file mode 100644 index c6956196..00000000 --- a/project/blueprints/admin/entries/accounts/index/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Accounts -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('Accounts') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('Create new account') }}" - href: "{{ urlFor('admin.entries.add', {}, {'id': query.id}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/entries/accounts/item/blueprint.yaml b/project/blueprints/admin/entries/accounts/item/blueprint.yaml deleted file mode 100644 index 3f2c1475..00000000 --- a/project/blueprints/admin/entries/accounts/item/blueprint.yaml +++ /dev/null @@ -1,126 +0,0 @@ -title: Default -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - - -blocks: - - type: Row - properties: - class: "m-0 {{ urlFor('admin.entries.deleteProcess') }}" - blocks: - - type: Column - properties: - size: 12 - class: card - blocks: - - type: Row - properties: - class: d-flex align-items-center row-hover - blocks: - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: Display - properties: - value: "{{ icon('person-circle', 'bootstrap') }}" - - type: Column - properties: - size: 10/12 - blocks: - - type: Row - properties: - class: gy-2 - blocks: - - type: Column - properties: - size: 2/12 - class: p-2 px-3 - blocks: - - type: Display - properties: - wrapper: div - style: - opacity: .4 - value: "{{ __('title') }}" - - type: Display - properties: - wrapper: div - value: "{{ entry.title }}" - - type: Column - properties: - size: 2/12 - class: p-2 px-3 - blocks: - - type: Display - properties: - wrapper: div - style: - opacity: .4 - value: "{{ __('id') }}" - - type: Display - properties: - wrapper: div - value: "{{ entry.id }}" - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: ActionsDropdown - properties: - items: - - href: "{{ urlFor('admin.entries.index') }}?id={{ entry.id }}" - value: "{{ __('View') }}" - visible: "{{ entry.has_children }}" - icon: - set: bootstrap - name: eye - - href: "{{ urlFor('admin.entries.edit') }}?id={{ entry.id }}" - value: "{{ __('admin_edit') }}" - icon: - set: bootstrap - name: pencil - - href: "{{ urlFor('admin.entries.add') }}?id={{ entry.id }}" - value: "{{ __('Add') }}" - icon: - set: bootstrap - name: plus-circle - - href: "#" - value: "{{ __('admin_duplicate') }}" - events: - onclick: "event.preventDefault(); document.getElementById('duplicate-content-id-{{ entry.id }}').submit();" - icon: - set: bootstrap - name: files - - href: "{{ urlFor('admin.entries.rename') }}?id={{ item.id }}" - value: "{{ __('admin_rename') }}" - icon: - set: bootstrap - name: file-font - - href: "{{ urlFor('admin.entries.move') }}?id={{ item.id }}" - value: "{{ __('admin_move') }}" - icon: - set: bootstrap - name: arrow-right-square - - href: "#" - events: - onclick: "confirmationEntryDelete(event, '{{ entry.id }}');" - value: "{{ __('admin_delete') }}" - icon: - set: bootstrap - name: trash \ No newline at end of file diff --git a/project/blueprints/admin/entries/blueprint.yaml b/project/blueprints/admin/entries/blueprint.yaml deleted file mode 100644 index 8f3644b4..00000000 --- a/project/blueprints/admin/entries/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "@parsers:twig; {{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('Create new entry') }}" - href: "{{ urlFor('admin.entries.add', [], {'id': query.id}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/entries/default/add/blueprint.yaml b/project/blueprints/admin/entries/default/add/blueprint.yaml deleted file mode 100644 index b700c208..00000000 --- a/project/blueprints/admin/entries/default/add/blueprint.yaml +++ /dev/null @@ -1,229 +0,0 @@ -title: Create new entry -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_entries_create - process: - fields: - - name: title - properties: - type: string - - name: id - properties: - type: string - value: | - {% if registry().get('plugins.admin.settings.entries.slugify') %} - {{ strings(query.id ~ '/' ~ flextype.slugify.slugify(_form.registry.data.name)).trimLeft('/') }} - {% else %} - {{ strings(query.id ~ '/' ~ _form.registry.data.name).trimLeft('/') }} - {% endif %} - - name: routable - properties: - type: bool - - name: visibility - properties: - type: string - - name: blueprint - properties: - type: string - - name: published_at - properties: - type: string - - name: publised_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: created_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: template - properties: - type: string - ignore: "{{ registry().has('plugins.site') ? false : true }}" - value: | - @parsers:twig; - {% if registry().has('plugins.site') %} - {% if filesystem().file(PATH_PROJECT ~ '/themes/' ~ registry().get('plugins.site.settings.theme') ~ '/templates/' ~ _form.registry.data.blueprint ~ '.html').exists() %} - {{ _form.registry.data.blueprint }} - {% else %} - default - {% endif %} - {% endif %} - messages: - error: "{{ __('admin_message_entries_was_not_created') }}" - success: "{{ __('admin_message_entries_created') }}" - redirect: - route: | - @parsers:twig; - {% if _form.registry.data.redirect == 'index' %} - admin.entries.index - {% elseif _form.registry.data.redirect == 'edit' %} - admin.entries.edit - {% elseif _form.registry.data.redirect == 'add' %} - admin.entries.add - {% endif %} - args: - id: "{{ (_form.registry.data.redirect == 'add' or _form.registry.data.redirect == 'index') ? query.id : (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) ~ '/' ~ _form.registry.data.name }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_create_new_content') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - name: submit_form_entries_create - style: - display: none - - type: ButtonGroup - properties: - buttons: - - type: Button - properties: - value: "{{ __('admin_create') }}" - class: js-submit-entry-create-form - data: - redirect: index - - type: ButtonToggle - properties: - type: secondary - value: "{{ __('admin_create_and_edit') }}" - items: - - href: "#" - value: "{{ __('admin_create_and_edit') }}" - class: js-submit-entry-create-form - data: - redirect: edit - - href: "#" - value: "{{ __('admin_create_and_add') }}" - class: js-submit-entry-create-form - data: - redirect: add - - type: InputHidden - properties: - name: current_id - value: "{{ query.id }}" - - type: InputHidden - properties: - name: redirect - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_entries_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 6/12 - blocks: - - type: InputText - properties: - name: name - label: - value: "{{ __('admin_name') }}" - class: js-name - help: "{{ __('admin_help_text_for_entries_name') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_name_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: routable - value: true - items: "{{ serializers().json.encode(routable) }}" - label: - value: "{{ __('admin_routable') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: visibility - value: visible - items: "{{ serializers().json.encode(visibility) }}" - label: - value: "{{ __('admin_visibility') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: blueprint - items: "{{ serializers().json.encode(blueprints) }}" - label: - value: "{{ __('admin_blueprint') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Flatpickr - properties: - name: published_at - label: - value: "{{ __('admin_published_at') }}" - \ No newline at end of file diff --git a/project/blueprints/admin/entries/default/blueprint.yaml b/project/blueprints/admin/entries/default/blueprint.yaml deleted file mode 100644 index 09bb847b..00000000 --- a/project/blueprints/admin/entries/default/blueprint.yaml +++ /dev/null @@ -1,249 +0,0 @@ -title: Default -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_entries_edit - process: - fields: - - name: id - properties: - type: string - value: "{{ query.id }}" - - name: title - properties: - type: string - - name: content - properties: - type: string - - name: description - properties: - type: string - - name: routable - properties: - type: bool - - name: visibility - properties: - type: string - - name: published_at - properties: - type: string - - name: source - properties: - type: string - - name: template - properties: - ignore: "{{ registry().has('plugins.site') ? false : true }}" - type: string - - name: menu_item_title - properties: - type: string - - name: menu_item_url - properties: - type: string - - name: menu_item_target - properties: - type: string - - name: menu_item_order - properties: - type: int - messages: - error: "{{ __('admin_message_entries_changes_not_saved') }}" - success: "{{ __('admin_message_entries_changes_saved') }}" - redirect: - route: admin.entries.edit - args: - id: "{{ query.id }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_edit_content') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - class: js-submit-entries-form-editor - value: "{{ __('admin_save') }}" - id: submit - - type: Tabs - properties: - tabs: - main: - title: "{{ __('admin_main') }}" - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - - type: Column - properties: - size: 12 - class: mb-3 - blocks: - - type: Trumbowyg - properties: - name: content - label: - value: "{{ __('admin_entries') }}" - options: - btns: - - strong - - em - - del - - link - - insertImage - - viewHTML - settings: - title: "{{ __('admin_settings') }}" - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: Heading - properties: - value: "{{ __('admin_general') }}" - - type: Column - properties: - size: 12 - class: mb-3 - blocks: - - type: InputTextarea - properties: - name: description - validation: - required: true - rows: 3 - label: - value: "{{ __('admin_description') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: template - label: - value: "{{ __('admin_template') }}" - items: "{{ serializers().json.encode(templates) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: routable - label: - value: "{{ __('admin_routable') }}" - items: "{{ serializers().json.encode(routable) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: visibility - label: - value: "{{ __('admin_visibility') }}" - items: "{{ serializers().json.encode(visibility) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Flatpickr - properties: - name: published_at - label: - value: "{{ __('admin_published_at') }}" - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: Heading - properties: - value: "{{ __('admin_menu') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputText - properties: - name: menu_item_title - label: - value: "{{ __('admin_menu_item_title') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputText - properties: - name: menu_item_url - label: - value: "{{ __('admin_menu_item_url') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: menu_item_target - label: - value: "{{ __('admin_menu_item_target') }}" - items: { _self: _self, _blank: _blank, _parent: _parent, _top: _top } - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputNumber - properties: - name: menu_item_order - label: - value: "{{ __('admin_menu_item_order') }}" - value: 1 - \ No newline at end of file diff --git a/project/blueprints/admin/entries/default/index/blueprint.yaml b/project/blueprints/admin/entries/default/index/blueprint.yaml deleted file mode 100644 index 9b22b64b..00000000 --- a/project/blueprints/admin/entries/default/index/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('Create new entry') }}" - href: "{{ urlFor('admin.entries.add', {}, {'id': query.id}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/entries/default/item/blueprint.yaml b/project/blueprints/admin/entries/default/item/blueprint.yaml deleted file mode 100644 index 25d88643..00000000 --- a/project/blueprints/admin/entries/default/item/blueprint.yaml +++ /dev/null @@ -1,126 +0,0 @@ -title: Default -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - - -blocks: - - type: Row - properties: - class: m-0 - blocks: - - type: Column - properties: - size: 12 - class: card - blocks: - - type: Row - properties: - class: d-flex align-items-center row-hover - blocks: - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: Display - properties: - value: "{{ icon('file-text', 'bootstrap') }}" - - type: Column - properties: - size: 10/12 - blocks: - - type: Row - properties: - class: gy-2 - blocks: - - type: Column - properties: - size: 2/12 - class: p-2 px-3 - blocks: - - type: Display - properties: - wrapper: div - style: - opacity: .4 - value: "{{ __('title') }}" - - type: Display - properties: - wrapper: div - value: "{{ entry.title }}" - - type: Column - properties: - size: 2/12 - class: p-2 px-3 - blocks: - - type: Display - properties: - wrapper: div - style: - opacity: .4 - value: "{{ __('id') }}" - - type: Display - properties: - wrapper: div - value: "{{ entry.id }}" - - type: Column - properties: - size: 1/12 - class: p-2 text-center - blocks: - - type: ActionsDropdown - properties: - items: - - href: "{{ urlFor('admin.entries.index') }}?id={{ entry.id }}" - value: "{{ __('View') }}" - visible: "{{ entry.has_children }}" - icon: - set: bootstrap - name: eye - - href: "{{ urlFor('admin.entries.edit') }}?id={{ entry.id }}" - value: "{{ __('admin_edit') }}" - icon: - set: bootstrap - name: pencil - - href: "{{ urlFor('admin.entries.add') }}?id={{ entry.id }}" - value: "{{ __('Add') }}" - icon: - set: bootstrap - name: plus-circle - - href: "#" - value: "{{ __('admin_duplicate') }}" - events: - onclick: "event.preventDefault(); document.getElementById('duplicate-content-id-{{ entry.id }}').submit();" - icon: - set: bootstrap - name: files - - href: "{{ urlFor('admin.entries.rename') }}?id={{ item.id }}" - value: "{{ __('admin_rename') }}" - icon: - set: bootstrap - name: file-font - - href: "{{ urlFor('admin.entries.move') }}?id={{ item.id }}" - value: "{{ __('admin_move') }}" - icon: - set: bootstrap - name: arrow-right-square - - href: "#" - events: - onclick: "confirmationEntryDelete(event, '{{ entry.id }}');" - value: "{{ __('admin_delete') }}" - icon: - set: bootstrap - name: trash \ No newline at end of file diff --git a/project/blueprints/admin/entries/default/move/blueprint.yaml b/project/blueprints/admin/entries/default/move/blueprint.yaml deleted file mode 100644 index 1d6ed013..00000000 --- a/project/blueprints/admin/entries/default/move/blueprint.yaml +++ /dev/null @@ -1,90 +0,0 @@ -title: Move entry -icon: - set: bootstrap - name: file-alt -blocks: - - type: Container - properties: - class: mt-4 - blocks: - - type: Row - properties: - class: justify-content-center - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries_move') }}" - class: mb-4 - - type: Form - properties: - name: form_entries_move - process: - fields: - - name: id - properties: - type: string - value: "{{ query.id }}" - - name: entry_current_id - properties: - type: string - value: "{{ entryCurrentID }}" - - name: entry_parent_id - properties: - type: string - value: "{{ entryParentID }}" - - name: from - properties: - type: string - - name: to - properties: - type: string - messages: - error: "{{ __('admin_message_entries_was_not_moved') }}" - success: "{{ __('admin_message_entries_moved') }}" - redirect: - route: admin.entries.index - args: - id: "{{ _form.registry.data.to }}" - blocks: - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputText - properties: - name: from - value: "{{ entryParentID }}" - label: - value: "{{ __('admin_from') }}" - disabled: true - - type: Column - properties: - size: 12 - blocks: - - type: Select2 - properties: - name: to - items: "{{ serializers().json.encode(entries) }}" - label: - value: "{{ __('admin_to') }}" - - type: Column - properties: - size: 12 - class: pt-2 - blocks: - - type: InputSubmit - properties: - name: submit_form_entries_create - type: primary - value: "{{ __('admin_move') }}" - class: js-submit-entry-move-form - \ No newline at end of file diff --git a/project/blueprints/admin/entries/default/rename/blueprint.yaml b/project/blueprints/admin/entries/default/rename/blueprint.yaml deleted file mode 100644 index 2e463053..00000000 --- a/project/blueprints/admin/entries/default/rename/blueprint.yaml +++ /dev/null @@ -1,72 +0,0 @@ -title: Rename entry -icon: - set: bootstrap - name: file-alt -blocks: - - type: Container - properties: - class: mt-4 - blocks: - - type: Row - properties: - class: justify-content-center - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_rename_content') }}" - class: mb-4 - - type: Form - properties: - name: form_entries_rename - process: - fields: - - name: id - properties: - type: string - value: "{{ query.id }}" - - name: new_id - properties: - type: string - value: | - {% if registry().get('plugins.admin.settings.entries.slugify') %} - {{ (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) ~ '/' ~ flextype.slugify.slugify(_form.registry.data.name) }} - {% else %} - {{ (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) ~ '/' ~ _form.registry.data.name }} - {% endif %} - messages: - error: "{{ __('admin_message_entries_was_not_renamed') }}" - success: "{{ __('admin_message_entries_renamed') }}" - redirect: - route: admin.entries.index - args: - id: "{{ (strings(query.id).contains('/') ? arraysFromString(query.id, '/').slice(0, -1).toString('/') : query.id) }}" - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputText - properties: - name: name - label: - value: "{{ __('admin_name') }}" - help: "{{ __('admin_help_text_for_entries_name') }}" - value: "{{ arraysFromString(query.id, '/').last() }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_name_empty_input') }}" - - type: Column - properties: - size: 12 - class: pt-4 - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_rename') }}" \ No newline at end of file diff --git a/project/blueprints/admin/plugins/blueprint.yaml b/project/blueprints/admin/plugins/blueprint.yaml deleted file mode 100644 index 19f14fdb..00000000 --- a/project/blueprints/admin/plugins/blueprint.yaml +++ /dev/null @@ -1,30 +0,0 @@ -title: Plugin -type: plugins -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_plugins') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_get_more_plugins') }}" - href: "https://flextype.org/downloads/extend/plugins" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/plugins/information/blueprint.yaml b/project/blueprints/admin/plugins/information/blueprint.yaml deleted file mode 100644 index f6f772d6..00000000 --- a/project/blueprints/admin/plugins/information/blueprint.yaml +++ /dev/null @@ -1,20 +0,0 @@ -title: Plugin Information -type: plugins -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_information') }}" \ No newline at end of file diff --git a/project/blueprints/admin/plugins/settings/blueprint.yaml b/project/blueprints/admin/plugins/settings/blueprint.yaml deleted file mode 100644 index 733cbb4a..00000000 --- a/project/blueprints/admin/plugins/settings/blueprint.yaml +++ /dev/null @@ -1,68 +0,0 @@ -title: Plugin Settings -type: plugins -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_settings - process: - fields: - - name: settings - properties: - type: string - - name: id - properties: - type: string - value: "{{ query.id }}" - messages: - error: "{{ __('admin_message_settings_was_not_saved') }}" - success: "{{ __('admin_message_settings_saved') }}" - redirect: - route: admin.settings.index - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_settings') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - id: submit - - type: Row - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: Codemirror - properties: - name: settings - value: "{{ settings }}" - options: - mode: yaml - \ No newline at end of file diff --git a/project/blueprints/admin/system/api/access/add/blueprint.yaml b/project/blueprints/admin/system/api/access/add/blueprint.yaml deleted file mode 100644 index ffe1283b..00000000 --- a/project/blueprints/admin/system/api/access/add/blueprint.yaml +++ /dev/null @@ -1,209 +0,0 @@ -title: Create new token -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_create - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - value: 0 - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: created_at - properties: - type: string - value: "{{ time }}" - - name: created_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: uuid - properties: - type: string - value: "{{ uuid }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_created') }}" - success: "{{ __('admin_message_entries_api_token_created') }}" - redirect: - route: | - {% if _form.registry.data.redirect == 'index' %} - admin.api.tokens - {% elseif _form.registry.data.redirect == 'edit' %} - admin.api.edit - {% elseif _form.registry.data.redirect == 'add' %} - admin.api.add - {% endif %} - args: - api: "{{ query.api }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_create_new_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - name: submit_form_token_create - style: - display: none - - type: ButtonGroup - properties: - buttons: - - type: Button - properties: - value: "{{ __('admin_create') }}" - class: js-submit-token-create-form - data: - redirect: index - - type: ButtonToggle - properties: - type: secondary - value: "{{ __('admin_create_and_edit') }}" - items: - - href: "#" - value: "{{ __('admin_create_and_edit') }}" - class: js-submit-token-create-form - data: - redirect: edit - - href: "#" - value: "{{ __('admin_create_and_add') }}" - class: js-submit-token-create-form - data: - redirect: add - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - \ No newline at end of file diff --git a/project/blueprints/admin/system/api/access/blueprint.yaml b/project/blueprints/admin/system/api/access/blueprint.yaml deleted file mode 100644 index 568442f1..00000000 --- a/project/blueprints/admin/system/api/access/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_create_new_token') }}" - href: "{{ urlFor('admin.api.add', {}, {'api': query.api}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/system/api/access/edit/blueprint.yaml b/project/blueprints/admin/system/api/access/edit/blueprint.yaml deleted file mode 100644 index 8908ef88..00000000 --- a/project/blueprints/admin/system/api/access/edit/blueprint.yaml +++ /dev/null @@ -1,157 +0,0 @@ -title: Edit token -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_edit - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: token - properties: - type: string - value: "{{ query.token }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.api.edit" - args: - api: "{{ query.api }}" - token: "{{ query.token }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_edit_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/api/blueprint.yaml b/project/blueprints/admin/system/api/blueprint.yaml deleted file mode 100644 index 71356ecd..00000000 --- a/project/blueprints/admin/system/api/blueprint.yaml +++ /dev/null @@ -1,19 +0,0 @@ -title: API -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_api') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/api/entries/add/blueprint.yaml b/project/blueprints/admin/system/api/entries/add/blueprint.yaml deleted file mode 100644 index ffe1283b..00000000 --- a/project/blueprints/admin/system/api/entries/add/blueprint.yaml +++ /dev/null @@ -1,209 +0,0 @@ -title: Create new token -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_create - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - value: 0 - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: created_at - properties: - type: string - value: "{{ time }}" - - name: created_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: uuid - properties: - type: string - value: "{{ uuid }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_created') }}" - success: "{{ __('admin_message_entries_api_token_created') }}" - redirect: - route: | - {% if _form.registry.data.redirect == 'index' %} - admin.api.tokens - {% elseif _form.registry.data.redirect == 'edit' %} - admin.api.edit - {% elseif _form.registry.data.redirect == 'add' %} - admin.api.add - {% endif %} - args: - api: "{{ query.api }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_create_new_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - name: submit_form_token_create - style: - display: none - - type: ButtonGroup - properties: - buttons: - - type: Button - properties: - value: "{{ __('admin_create') }}" - class: js-submit-token-create-form - data: - redirect: index - - type: ButtonToggle - properties: - type: secondary - value: "{{ __('admin_create_and_edit') }}" - items: - - href: "#" - value: "{{ __('admin_create_and_edit') }}" - class: js-submit-token-create-form - data: - redirect: edit - - href: "#" - value: "{{ __('admin_create_and_add') }}" - class: js-submit-token-create-form - data: - redirect: add - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - \ No newline at end of file diff --git a/project/blueprints/admin/system/api/entries/blueprint.yaml b/project/blueprints/admin/system/api/entries/blueprint.yaml deleted file mode 100644 index 568442f1..00000000 --- a/project/blueprints/admin/system/api/entries/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_create_new_token') }}" - href: "{{ urlFor('admin.api.add', {}, {'api': query.api}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/system/api/entries/edit/blueprint.yaml b/project/blueprints/admin/system/api/entries/edit/blueprint.yaml deleted file mode 100644 index 8908ef88..00000000 --- a/project/blueprints/admin/system/api/entries/edit/blueprint.yaml +++ /dev/null @@ -1,157 +0,0 @@ -title: Edit token -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_edit - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: token - properties: - type: string - value: "{{ query.token }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.api.edit" - args: - api: "{{ query.api }}" - token: "{{ query.token }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_edit_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/api/images/add/blueprint.yaml b/project/blueprints/admin/system/api/images/add/blueprint.yaml deleted file mode 100644 index ffe1283b..00000000 --- a/project/blueprints/admin/system/api/images/add/blueprint.yaml +++ /dev/null @@ -1,209 +0,0 @@ -title: Create new token -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_create - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - value: 0 - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: created_at - properties: - type: string - value: "{{ time }}" - - name: created_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: uuid - properties: - type: string - value: "{{ uuid }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_created') }}" - success: "{{ __('admin_message_entries_api_token_created') }}" - redirect: - route: | - {% if _form.registry.data.redirect == 'index' %} - admin.api.tokens - {% elseif _form.registry.data.redirect == 'edit' %} - admin.api.edit - {% elseif _form.registry.data.redirect == 'add' %} - admin.api.add - {% endif %} - args: - api: "{{ query.api }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_create_new_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - name: submit_form_token_create - style: - display: none - - type: ButtonGroup - properties: - buttons: - - type: Button - properties: - value: "{{ __('admin_create') }}" - class: js-submit-token-create-form - data: - redirect: index - - type: ButtonToggle - properties: - type: secondary - value: "{{ __('admin_create_and_edit') }}" - items: - - href: "#" - value: "{{ __('admin_create_and_edit') }}" - class: js-submit-token-create-form - data: - redirect: edit - - href: "#" - value: "{{ __('admin_create_and_add') }}" - class: js-submit-token-create-form - data: - redirect: add - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - \ No newline at end of file diff --git a/project/blueprints/admin/system/api/images/blueprint.yaml b/project/blueprints/admin/system/api/images/blueprint.yaml deleted file mode 100644 index 568442f1..00000000 --- a/project/blueprints/admin/system/api/images/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_create_new_token') }}" - href: "{{ urlFor('admin.api.add', {}, {'api': query.api}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/system/api/images/edit/blueprint.yaml b/project/blueprints/admin/system/api/images/edit/blueprint.yaml deleted file mode 100644 index 8908ef88..00000000 --- a/project/blueprints/admin/system/api/images/edit/blueprint.yaml +++ /dev/null @@ -1,157 +0,0 @@ -title: Edit token -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_edit - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: token - properties: - type: string - value: "{{ query.token }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.api.edit" - args: - api: "{{ query.api }}" - token: "{{ query.token }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_edit_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/api/media/add/blueprint.yaml b/project/blueprints/admin/system/api/media/add/blueprint.yaml deleted file mode 100644 index ffe1283b..00000000 --- a/project/blueprints/admin/system/api/media/add/blueprint.yaml +++ /dev/null @@ -1,209 +0,0 @@ -title: Create new token -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_create - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - value: 0 - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: created_at - properties: - type: string - value: "{{ time }}" - - name: created_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: uuid - properties: - type: string - value: "{{ uuid }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_created') }}" - success: "{{ __('admin_message_entries_api_token_created') }}" - redirect: - route: | - {% if _form.registry.data.redirect == 'index' %} - admin.api.tokens - {% elseif _form.registry.data.redirect == 'edit' %} - admin.api.edit - {% elseif _form.registry.data.redirect == 'add' %} - admin.api.add - {% endif %} - args: - api: "{{ query.api }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_create_new_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - name: submit_form_token_create - style: - display: none - - type: ButtonGroup - properties: - buttons: - - type: Button - properties: - value: "{{ __('admin_create') }}" - class: js-submit-token-create-form - data: - redirect: index - - type: ButtonToggle - properties: - type: secondary - value: "{{ __('admin_create_and_edit') }}" - items: - - href: "#" - value: "{{ __('admin_create_and_edit') }}" - class: js-submit-token-create-form - data: - redirect: edit - - href: "#" - value: "{{ __('admin_create_and_add') }}" - class: js-submit-token-create-form - data: - redirect: add - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - \ No newline at end of file diff --git a/project/blueprints/admin/system/api/media/blueprint.yaml b/project/blueprints/admin/system/api/media/blueprint.yaml deleted file mode 100644 index 568442f1..00000000 --- a/project/blueprints/admin/system/api/media/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_create_new_token') }}" - href: "{{ urlFor('admin.api.add', {}, {'api': query.api}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/system/api/media/edit/blueprint.yaml b/project/blueprints/admin/system/api/media/edit/blueprint.yaml deleted file mode 100644 index 8908ef88..00000000 --- a/project/blueprints/admin/system/api/media/edit/blueprint.yaml +++ /dev/null @@ -1,157 +0,0 @@ -title: Edit token -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_edit - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: token - properties: - type: string - value: "{{ query.token }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.api.edit" - args: - api: "{{ query.api }}" - token: "{{ query.token }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_edit_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/api/registry/add/blueprint.yaml b/project/blueprints/admin/system/api/registry/add/blueprint.yaml deleted file mode 100644 index ffe1283b..00000000 --- a/project/blueprints/admin/system/api/registry/add/blueprint.yaml +++ /dev/null @@ -1,209 +0,0 @@ -title: Create new token -icon: - set: bootstrap - name: file-text -emitter: - addListener: - - name: onAdminThemeTail - properties: - value: | - -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_create - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - value: 0 - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: created_at - properties: - type: string - value: "{{ time }}" - - name: created_by - properties: - type: string - value: "{{ acl().getUserLoggedInUuid() }}" - - name: uuid - properties: - type: string - value: "{{ uuid }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_created') }}" - success: "{{ __('admin_message_entries_api_token_created') }}" - redirect: - route: | - {% if _form.registry.data.redirect == 'index' %} - admin.api.tokens - {% elseif _form.registry.data.redirect == 'edit' %} - admin.api.edit - {% elseif _form.registry.data.redirect == 'add' %} - admin.api.add - {% endif %} - args: - api: "{{ query.api }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_create_new_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - name: submit_form_token_create - style: - display: none - - type: ButtonGroup - properties: - buttons: - - type: Button - properties: - value: "{{ __('admin_create') }}" - class: js-submit-token-create-form - data: - redirect: index - - type: ButtonToggle - properties: - type: secondary - value: "{{ __('admin_create_and_edit') }}" - items: - - href: "#" - value: "{{ __('admin_create_and_edit') }}" - class: js-submit-token-create-form - data: - redirect: edit - - href: "#" - value: "{{ __('admin_create_and_add') }}" - class: js-submit-token-create-form - data: - redirect: add - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - \ No newline at end of file diff --git a/project/blueprints/admin/system/api/registry/blueprint.yaml b/project/blueprints/admin/system/api/registry/blueprint.yaml deleted file mode 100644 index 568442f1..00000000 --- a/project/blueprints/admin/system/api/registry/blueprint.yaml +++ /dev/null @@ -1,29 +0,0 @@ -title: Entries -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_entries') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_create_new_token') }}" - href: "{{ urlFor('admin.api.add', {}, {'api': query.api}) }}" - class: btn btn-primary \ No newline at end of file diff --git a/project/blueprints/admin/system/api/registry/edit/blueprint.yaml b/project/blueprints/admin/system/api/registry/edit/blueprint.yaml deleted file mode 100644 index 8908ef88..00000000 --- a/project/blueprints/admin/system/api/registry/edit/blueprint.yaml +++ /dev/null @@ -1,157 +0,0 @@ -title: Edit token -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_token_edit - process: - fields: - - name: title - properties: - type: string - - name: limit_calls - properties: - type: int - - name: icon.name - properties: - type: string - - name: icon.set - properties: - type: string - - name: state - properties: - type: string - - name: calls - properties: - type: int - - name: api - properties: - type: string - value: "{{ query.api }}" - - name: token - properties: - type: string - value: "{{ query.token }}" - messages: - error: "{{ __('admin_message_entries_api_token_was_not_updated') }}" - success: "{{ __('admin_message_entries_api_token_updated') }}" - redirect: - route: "admin.api.edit" - args: - api: "{{ query.api }}" - token: "{{ query.token }}" - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_edit_token') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - - type: Row - properties: - class: g-3 - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: InputHidden - properties: - name: redirect - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_title_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputNumber - properties: - name: limit_calls - label: - value: "{{ __('admin_api_calls_limit') }}" - value: 0 - help: "{{ __('admin_help_text_for_api_calls_limit_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('admin_error_api_calls_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: Select2 - properties: - name: state - value: enabled - items: - enabled: "{{ __('admin_enabled') }}" - disabled: "{{ __('admin_disabled') }}" - label: - value: "{{ __('admin_state') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.name - label: - value: "{{ __('admin_icon_name') }}" - value: "newspaper" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" - - type: Column - properties: - size: 3/12 - blocks: - - type: InputText - properties: - name: icon.set - label: - value: "{{ __('admin_icon_set') }}" - value: "bootstrap" - class: js-title - help: "{{ __('admin_help_text_for_tokens_label') }}" - validation: - required: true - minlength: 1 - errorMessage: "{{ __('form_admin_error_icon_empty_input') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/settings/blueprint.yaml b/project/blueprints/admin/system/settings/blueprint.yaml deleted file mode 100644 index f4600184..00000000 --- a/project/blueprints/admin/system/settings/blueprint.yaml +++ /dev/null @@ -1,64 +0,0 @@ -title: Settings -type: settings -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - properties: - name: form_settings - process: - fields: - - name: settings - properties: - type: string - messages: - error: "{{ __('admin_message_settings_was_not_saved') }}" - success: "{{ __('admin_message_settings_saved') }}" - redirect: - route: admin.settings.index - blocks: - - type: Row - properties: - class: mt-4 mb-4 - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - id: title - value: "{{ __('admin_settings') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: InputSubmit - properties: - type: primary - value: "{{ __('admin_save') }}" - id: submit - - type: Row - blocks: - - type: Column - properties: - size: 12 - blocks: - - type: Codemirror - properties: - name: settings - value: "{{ settings }}" - options: - mode: yaml - \ No newline at end of file diff --git a/project/blueprints/admin/system/tools/blueprint.yaml b/project/blueprints/admin/system/tools/blueprint.yaml deleted file mode 100644 index 4606384d..00000000 --- a/project/blueprints/admin/system/tools/blueprint.yaml +++ /dev/null @@ -1,20 +0,0 @@ -title: Tools -type: system -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_tools') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/tools/cache/blueprint.yaml b/project/blueprints/admin/system/tools/cache/blueprint.yaml deleted file mode 100644 index c483a641..00000000 --- a/project/blueprints/admin/system/tools/cache/blueprint.yaml +++ /dev/null @@ -1,32 +0,0 @@ -title: Cache -type: system -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_cache') }}" - - type: Column - properties: - size: 6/12 - class: d-flex align-items-center justify-content-end text-end - blocks: - - type: Anchor - properties: - value: "{{ __('admin_clear_cache_all') }}" - href: "#" - class: btn btn-primary - events: - onclick: "clearCache('all');" \ No newline at end of file diff --git a/project/blueprints/admin/system/tools/information/blueprint.yaml b/project/blueprints/admin/system/tools/information/blueprint.yaml deleted file mode 100644 index 955d65d8..00000000 --- a/project/blueprints/admin/system/tools/information/blueprint.yaml +++ /dev/null @@ -1,20 +0,0 @@ -title: Information -type: system -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_information') }}" \ No newline at end of file diff --git a/project/blueprints/admin/system/tools/registry/blueprint.yaml b/project/blueprints/admin/system/tools/registry/blueprint.yaml deleted file mode 100644 index 00062864..00000000 --- a/project/blueprints/admin/system/tools/registry/blueprint.yaml +++ /dev/null @@ -1,20 +0,0 @@ -title: Registry -type: system -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 mb-4 - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 6/12 - blocks: - - type: Heading - properties: - size: large - value: "{{ __('admin_registry') }}" \ No newline at end of file diff --git a/project/blueprints/blog/blueprint.yaml b/project/blueprints/blog/blueprint.yaml deleted file mode 100644 index 69d2aa4b..00000000 --- a/project/blueprints/blog/blueprint.yaml +++ /dev/null @@ -1,196 +0,0 @@ -title: Blog -type: entry -icon: - set: bootstrap - name: file-text -blocks: - - type: Container - properties: - class: mt-4 - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - process: - fields: - - title - - content - - description - - keywords - messages: - error: admin_message_entries_changes_saved - success: admin_message_entries_changes_not_saved - redirect: - route: admin.entries.edit args:id,type - properties: - name: form_entries_edit - blocks: - - type: InputSubmit - properties: - id: submit - style: - display: none - - type: Tabs - properties: - tabs: - main: - title: "{{ __('admin_main') }}" - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - - type: Column - properties: - size: 12 - class: mb-3 - blocks: - - type: Trumbowyg - properties: - name: content - label: - value: "{{ __('admin_entries') }}" - options: - btns: - - strong - - em - - del - - link - - insertImage - - viewHTML - settings: - title: "{{ __('admin_settings') }}" - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: Heading - properties: - value: "{{ __('admin_general') }}" - - type: Column - properties: - size: 12 - class: mb-3 - blocks: - - type: InputTextarea - properties: - name: description - validation: - required: true - rows: 3 - label: - value: "{{ __('admin_description') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: template - label: - value: "{{ __('admin_template') }}" - items: "{{ serializers().json.encode(templates) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: routable - label: - value: "{{ __('admin_routable') }}" - items: "{{ serializers().json.encode(routable) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: visibility - label: - value: "{{ __('admin_visibility') }}" - items: "{{ serializers().json.encode(visibility) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Flatpickr - properties: - name: published_at - label: - value: "{{ __('admin_published_at') }}" - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: Heading - properties: - value: "{{ __('admin_menu') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputText - properties: - name: menu_item_title - label: - value: "{{ __('admin_menu_item_title') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputText - properties: - name: menu_item_url - label: - value: "{{ __('admin_menu_item_url') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: menu_item_target - label: - value: "{{ __('admin_menu_item_target') }}" - items: { _self: _self, _blank: _blank, _parent: _parent, _top: _top } - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputNumber - properties: - name: menu_item_order - label: - value: "{{ __('admin_menu_item_order') }}" - value: 1 - - - - \ No newline at end of file diff --git a/project/blueprints/blog/post/blueprint.yaml b/project/blueprints/blog/post/blueprint.yaml deleted file mode 100644 index daf1277b..00000000 --- a/project/blueprints/blog/post/blueprint.yaml +++ /dev/null @@ -1,196 +0,0 @@ -title: Blog post -type: entry -icon: - set: bootstrap - name: file -blocks: - - type: Container - properties: - class: mt-4 - breakpoint: medium - blocks: - - type: Row - blocks: - - type: Column - blocks: - - type: Form - process: - fields: - - title - - content - - description - - keywords - messages: - error: admin_message_entries_changes_saved - success: admin_message_entries_changes_not_saved - redirect: - route: admin.entries.edit args:id,type - properties: - name: form_entries_edit - blocks: - - type: InputSubmit - properties: - id: submit - style: - display: none - - type: Tabs - properties: - tabs: - main: - title: "{{ __('admin_main') }}" - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: InputText - properties: - name: title - label: - value: "{{ __('admin_title') }}" - - type: Column - properties: - size: 12 - class: mb-3 - blocks: - - type: Trumbowyg - properties: - name: content - label: - value: "{{ __('admin_entries') }}" - options: - btns: - - strong - - em - - del - - link - - insertImage - - viewHTML - settings: - title: "{{ __('admin_settings') }}" - blocks: - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: Heading - properties: - value: "{{ __('admin_general') }}" - - type: Column - properties: - size: 12 - class: mb-3 - blocks: - - type: InputTextarea - properties: - name: description - validation: - required: true - rows: 3 - label: - value: "{{ __('admin_description') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: template - label: - value: "{{ __('admin_template') }}" - items: "{{ serializers().json.encode(templates) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: routable - label: - value: "{{ __('admin_routable') }}" - items: "{{ serializers().json.encode(routable) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: visibility - label: - value: "{{ __('admin_visibility') }}" - items: "{{ serializers().json.encode(visibility) }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Flatpickr - properties: - name: published_at - label: - value: "{{ __('admin_published_at') }}" - - type: Row - blocks: - - type: Column - properties: - size: 12 - class: mb-3 mt-3 - blocks: - - type: Heading - properties: - value: "{{ __('admin_menu') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputText - properties: - name: menu_item_title - label: - value: "{{ __('admin_menu_item_title') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputText - properties: - name: menu_item_url - label: - value: "{{ __('admin_menu_item_url') }}" - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: Select2 - properties: - name: menu_item_target - label: - value: "{{ __('admin_menu_item_target') }}" - items: { _self: _self, _blank: _blank, _parent: _parent, _top: _top } - - type: Column - properties: - size: 3/12 - class: mb-3 - blocks: - - type: InputNumber - properties: - name: menu_item_order - label: - value: "{{ __('admin_menu_item_order') }}" - value: 1 - - - - \ No newline at end of file diff --git a/project/config/plugins/accounts-admin/settings.yaml b/project/config/plugins/accounts-admin/settings.yaml deleted file mode 100644 index 46cb2237..00000000 --- a/project/config/plugins/accounts-admin/settings.yaml +++ /dev/null @@ -1,13 +0,0 @@ -enabled: true -priority: 90 -supper_admin_registered: true -from: - name: Flextype - email: sergey.romanenko@flextype.org -navigation: - links: { } - actions: - - - properties: - href: '{{ urlFor(''admin.accounts.index'') }}' - icon: { set: bootstrap, name: users } diff --git a/project/config/plugins/accounts/settings.yaml b/project/config/plugins/accounts/settings.yaml deleted file mode 100644 index d944aa08..00000000 --- a/project/config/plugins/accounts/settings.yaml +++ /dev/null @@ -1,77 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Accounts plugin priority -priority: 100 - -# From email -from: - name: Flextype - email: sergey.romanenko@flextype.org - -# Index(accounts) -index: - enabled: true - -# Registraton -registration: - enabled: true - default_roles: user - default_state: enabled - redirect: - route: - name: accounts.login - -# Login -login: - enabled: true - redirect: - route: - name: accounts.profile - -# Profile -profile: - enabled: true - -# Profile Edit -profile_edit: - enabled: true - redirect: - route: - name: accounts.profile - -# New Password -new_password: - enabled: true - redirect: - route: - name: accounts.login - -# Reset Password -reset_password: - enabled: true - redirect: - route: - name: accounts.login - -# Logout -logout: - redirect: - route: - name: accounts.login - - -# Entries -entries: - accounts: - collection: accounts - fields: - uuid: - enabled: true - path: "/project/plugins/accounts/app/Fields/UuidField.php" - id: - enabled: true - path: "/project/plugins/accounts/app/Fields/IdField.php" - registered_at: - enabled: true - path: "/project/plugins/accounts/app/Fields/RegisteredAtField.php" \ No newline at end of file diff --git a/project/config/plugins/acl/settings.yaml b/project/config/plugins/acl/settings.yaml deleted file mode 100644 index 21f1d326..00000000 --- a/project/config/plugins/acl/settings.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# ACL plugin priority -priority: 40 diff --git a/project/config/plugins/admin/settings.yaml b/project/config/plugins/admin/settings.yaml deleted file mode 100644 index d8b4388c..00000000 --- a/project/config/plugins/admin/settings.yaml +++ /dev/null @@ -1,49 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# custom admin pane route -route: admin - -# entries settings -entries: - slugify: true - -# plugin priority -priority: 50 - -# admin navigation -navigation: - dropdown: - - links: [] - actions: - - properties: - href: "{{ urlFor('admin.entries.index') }}" - icon: - set: bootstrap - name: newspaper - - properties: - href: "{{ urlFor('admin.media.index') }}" - icon: - set: bootstrap - name: images - - properties: - href: "{{ urlFor('admin.plugins.index') }}" - icon: - set: bootstrap - name: box - - properties: - href: "{{ urlFor('admin.tools.index') }}" - icon: - set: bootstrap - name: briefcase - - properties: - href: "{{ urlFor('admin.api.index') }}" - icon: - set: bootstrap - name: diagram-3 - - properties: - href: "{{ urlFor('admin.settings.index') }}" - icon: - set: bootstrap - name: gear diff --git a/project/config/plugins/blueprints/settings.yaml b/project/config/plugins/blueprints/settings.yaml deleted file mode 100644 index 60ed207c..00000000 --- a/project/config/plugins/blueprints/settings.yaml +++ /dev/null @@ -1,126 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Blueprint plugin priority -priority: 40 - -# Place to load -assetsLoadOnAdmin: true -assetsLoadOnSite: false - -# Entries -entries: - directory: '/blueprints' - collections: - default: - filename: blueprint - extension: yaml - serializer: yaml - fields: [] - -# Blocks -blocks: - ActionsDropdown: - type: ActionsDropdown - properties: [] - template: plugins/blueprints/blocks/blocks/ActionsDropdown/block.html - Anchor: - type: Anchor - properties: [] - template: plugins/blueprints/blocks/blocks/Anchor/block.html - Alert: - type: Alert - properties: [] - template: plugins/blueprints/blocks/blocks/Alert/block.html - Button: - type: Button - properties: [] - template: plugins/blueprints/blocks/blocks/Button/block.html - ButtonGroup: - type: ButtonGroup - properties: [] - template: plugins/blueprints/blocks/blocks/ButtonGroup/block.html - Display: - type: Display - properties: [] - template: plugins/blueprints/blocks/blocks/Display/block.html - Divider: - type: Divider - properties: [] - template: plugins/blueprints/blocks/blocks/Divider/block.html - Container: - type: Container - properties: [] - blocks: [] - template: plugins/blueprints/blocks/blocks/Container/block.html - Row: - type: Row - properties: [] - blocks: [] - template: plugins/blueprints/blocks/blocks/Row/block.html - Column: - type: Column - properties: [] - blocks: [] - template: plugins/blueprints/blocks/blocks/Column/block.html - Tabs: - type: Tabs - properties: [] - template: plugins/blueprints/blocks/blocks/Tabs/block.html - Form: - type: Form - properties: [] - blocks: [] - template: plugins/blueprints/blocks/blocks/Form/block.html - Heading: - type: Heading - properties: [] - template: plugins/blueprints/blocks/blocks/Heading/block.html - Image: - type: Image - properties: [] - template: plugins/blueprints/blocks/blocks/Image/block.html - InputText: - type: InputText - properties: [] - template: plugins/blueprints/blocks/blocks/InputText/block.html - InputEmail: - type: InputEmail - properties: [] - template: plugins/blueprints/blocks/blocks/InputEmail/block.html - InputPassword: - type: InputPassword - properties: [] - template: plugins/blueprints/blocks/blocks/InputPassword/block.html - InputTextarea: - type: InputTextarea - properties: [] - template: plugins/blueprints/blocks/blocks/InputTextarea/block.html - InputHidden: - type: InputHidden - properties: [] - template: plugins/blueprints/blocks/blocks/InputHidden/block.html - InputNumber: - type: InputNumber - properties: [] - template: plugins/blueprints/blocks/blocks/InputNumber/block.html - InputTags: - type: InputTags - properties: [] - template: plugins/blueprints/blocks/blocks/InputTags/block.html - InputSelect: - type: InputSelect - properties: [] - template: plugins/blueprints/blocks/blocks/InputSelect/block.html - InputReset: - type: InputReset - properties: [] - template: plugins/blueprints/blocks/blocks/InputReset/block.html - InputButton: - type: InputButton - properties: [] - template: plugins/blueprints/blocks/blocks/InputButton/block.html - InputSubmit: - type: InputSubmit - properties: [] - template: plugins/blueprints/blocks/blocks/InputSubmit/block.html diff --git a/project/config/plugins/codemirror/settings.yaml b/project/config/plugins/codemirror/settings.yaml deleted file mode 100644 index bb09e679..00000000 --- a/project/config/plugins/codemirror/settings.yaml +++ /dev/null @@ -1,183 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Plugin priority -priority: 41 - -# Place to load -assetsLoadOnAdmin: true -assetsLoadOnSite: false - -# Blocks -blocks: - Codemirror: - type: Codemirror - properties: - name: codemirror - - # Codemirror options - options: - - # The mode to use. - # https://codemirror.net/mode/ - # variants: yaml, yaml-frontmatter, htmlmixed, xml, php, javascript, markdown, css, twig - mode: "yaml-frontmatter" - - # Explicitly set the line separator for the editor. - # By default is null) - lineSeparator: null - - # Whether to show line numbers to the left of the editor. - lineNumbers: true - - # Whether CodeMirror should scroll or wrap for long lines. - # Defaults to false (scroll). - lineWrapping: false - - # At which number to start counting lines. - firstLineNumber: 1 - - # Determines whether the gutter scrolls along with the content horizontally (false) - # or whether it stays fixed during horizontal scrolling. - fixedGutter: true - - # Chooses a scrollbar implementation. - scrollbarStyle: "native" - - # When fixedGutter is on, and there is a horizontal scrollbar, by default the gutter will be visible to the left of this scrollbar. - # If this option is set to true, it will be covered by an element with class CodeMirror-gutter-filler. - coverGutterNextToScrollbar: true - - # This disables editing of the editor content by the user. - # If the special value "nocursor" is given (instead of simply true), - # focusing of the editor is also disallowed. - readOnly: false - - # This label is read by the screenreaders when CodeMirror text area is focused. - # This is helpful for accessibility. - screenReaderLabel: "" - - # Whether the cursor should be drawn when a selection is active. - showCursorWhenSelecting: false - - # The theme to style the editor with. only "elegant" available - theme: elegant - - # The width of a tab character. - # Defaults to 2. - tabSize: 2 - - # How many spaces a block (whatever that means in the edited language) should be indented. - # The default is 2. - indentUnit: 2 - - # Whether, when indenting, the first N*tabSize spaces should be replaced by N tabs. - # Default is false. - indentWithTabs: false - - # Whether to use the context-sensitive indentation that the mode provides (or just indent the same as the line before). - # Defaults to true. - smartIndent: true - - # Flips overall layout and selects base paragraph direction to be left-to-right or right-to-left. - # Default is "ltr". - direction: ltr - - # Determines whether horizontal cursor movement through right-to-left (Arabic, Hebrew) text is visual - # (pressing the left arrow moves the cursor left) or logical (pressing the left arrow moves to the next lower index in the string, which is visually right in right-to-left text). - # The default is false on Windows, and true on other platforms. - rtlMoveVisually: false - - # Configures whether the editor should re-indent the current line when a character is typed that might change its proper indentation (only works if the mode supports indentation). - # Default is true. - electricChars: true - - # Configures the key map to use. - # https://codemirror.net/doc/manual.html#keymaps - keyMap: "default" - - # When enabled, which is the default, doing copy or cut when there is no selection will copy or cut the whole lines that have cursors on them. - lineWiseCopyCut: true - - # When pasting something from an external source (not from the editor itself), if the number of lines matches the number of selection, - # CodeMirror will by default insert one line per selection. You can set this to false to disable that behavior. - pasteLinesPerSelection: true - - # Determines whether multiple selections are joined as soon as they touch (the default) or only when they overlap (true). - selectionsMayTouch: true - - # The maximum number of undo levels that the editor stores. - # Note that this includes selection change events. - undoDepth: 200 - - # The period of inactivity (in milliseconds) that will cause a new history event to be started when typing or deleting. - historyEventDelay: 1250 - - # Can be used to make CodeMirror focus itself on initialization. - # - # When fromTextArea is used, and no explicit value is given for this option, - # it will be set to true when either the source textarea is focused, - # or it has an autofocus attribute and no other element is focused. - autofocus: false - - # Controls whether drag-and-drop is enabled. - dragDrop: true - - # Half-period in milliseconds used for cursor blinking. - # By setting this to zero, blinking can be disabled. A negative value hides the cursor entirely. - cursorBlinkRate: 530 - - # How much extra space to always keep above and below the cursor when approaching the top or bottom of the visible view in a scrollable document. - cursorScrollMargin: 0 - - # Determines the height of the cursor. - # Default is 1, meaning it spans the whole height of the line. - # For some fonts (and by some tastes) a smaller height (for example 0.85), - # which causes the cursor to not reach all the way to the bottom of the line, looks better - cursorHeight: 1 - - # If set to true, will keep the cursor height constant for an entire line (or wrapped part of a line). - # When false, the cursor's height is based on the height of the adjacent reference character. - singleCursorHeightPerLine: true - - # Controls whether, when the context menu is opened with a click outside of the current selection, the cursor is moved to the point of the click. - resetSelectionOnContextMenu: true - - # Highlighting is done by a pseudo background-thread that will work for workTime milliseconds - workTime: 200 - - # and then use timeout to sleep for workDelay milliseconds. - workDelay: 300 - - # Indicates how quickly CodeMirror should poll its input textarea for changes (when focused). - # Most input is captured by events, but some things, like IME input on some browsers, don't generate events that allow CodeMirror to properly detect it. - pollInterval: 100 - - # By default, CodeMirror will combine adjacent tokens into a single span if they have the same class. - # This will result in a simpler DOM tree, and thus perform better. With some kinds of styling (such as rounded corners), this will change the way the document looks. You can set this option to false to disable this behavior. - flattenSpans: true - - # When enabled (off by default), an extra CSS class will be added to each token, indicating the (inner) mode that produced it, prefixed with "cm-m-". - # For example, tokens from the XML mode will get the cm-m-xml class. - # https://codemirror.net/doc/manual.html#innerMode - addModeClass: false - - # When highlighting long lines, in order to stay responsive, - # the editor will give up and simply style the rest of the line as plain text when it reaches a certain position. - maxHighlightLength: 10000 - - # Specifies the amount of lines that are rendered above and below the part of the document that's currently scrolled into view. - # This affects the amount of updates needed when scrolling, and the amount of work that such an update does. - # You should usually leave it at its default, 10. Can be set to Infinity to make sure the whole document is always rendered, and thus the browser's text search works on it. This will have bad effects on performance of big documents. - viewportMargin: 10 - - # Specifies whether or not spellcheck will be enabled on the input. - spellcheck: false - - # Specifies whether or not autocorrect will be enabled on the input. - autocorrect: false - - # Specifies whether or not autocapitalization will be enabled on the input. - autocapitalize: false - - template: plugins/codemirror/blocks/Codemirror/block.html \ No newline at end of file diff --git a/project/config/plugins/contact/settings.yaml b/project/config/plugins/contact/settings.yaml deleted file mode 100644 index 2b4f36fb..00000000 --- a/project/config/plugins/contact/settings.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Contact plugin priority -priority: 100 - -default_subject: Default subject -message_success: "Email sended." -from: - name: Flextype - email: sergey.romanenko@flextype.org -to: - name: Flextype - email: sergey.romanenko@flextype.org diff --git a/project/config/plugins/data-guard/settings.yaml b/project/config/plugins/data-guard/settings.yaml deleted file mode 100644 index af67fe5e..00000000 --- a/project/config/plugins/data-guard/settings.yaml +++ /dev/null @@ -1,2 +0,0 @@ -enabled: true -priority: 100 diff --git a/project/config/plugins/feed/settings.yaml b/project/config/plugins/feed/settings.yaml deleted file mode 100644 index c2c8c8ae..00000000 --- a/project/config/plugins/feed/settings.yaml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: true -priority: 100 -feed: [] diff --git a/project/config/plugins/flatpickr/settings.yaml b/project/config/plugins/flatpickr/settings.yaml deleted file mode 100644 index c6dc78af..00000000 --- a/project/config/plugins/flatpickr/settings.yaml +++ /dev/null @@ -1,160 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Plugin priority -priority: 41 - -# Place to load -assetsLoadOnAdmin: true -assetsLoadOnSite: false - -# Blocks -blocks: - Flatpickr: - type: Flatpickr - properties: - name: flatpickr - - # Flatpickr options - options: - - # Allows the user to enter a date directly input the input field. By default, direct entry is disabled. - allowInput: false - - # Allow preloading of invalid date - allowInvalidPreload: false - - # Exactly the same as date format, but for the altInput field - altFormat: "F j, Y" - - # Show the user a readable date (as per altFormat), but return something totally different to the server. - altInput: false - - # This class will be added to the input element created by the altInput option. - # Note that altInput already inherits classes from the original input. - altInputClass: "" - - # Whether to enable animations, such as month transitions - animate: true - - # Defines how the date will be formatted in the aria-label for calendar days, using the same tokens as dateFormat. - # If you change this, you should choose a value that will make sense if a screen reader reads it out loud. - ariaDateFormat: "F j, Y" - - # Whether the default time should be auto-filled when the input is empty and gains or loses focus. - autoFillDefaultTime: true - - # Whether clicking on the input should open the picker. - # Set it to false if you only want to open the calendar programmatically - clickOpens: true - - # Whether calendar should close after date selection - closeOnSelect: true - - # If "mode" is "multiple", this string will be used to join - # selected dates together for the date input value. - conjunction: null - - # A string of characters which are used to define how the date will be displayed in the input box. - # See https://chmln.github.io/flatpickr/formatting - dateFormat: "d-m-Y H:i" - - # The initial selected date(s). - defaultDate: null - - # Initial value of the hour element, when no date is selected - defaultHour: 12 - - # Initial value of the minute element, when no date is selected - defaultMinute: 0 - - # Initial value of the seconds element, when no date is selected - defaultSeconds: 0 - - # Set this to true to always use the non-native picker on mobile devices. - # By default, Flatpickr utilizes native datetime widgets unless certain options (e.g. disable) are used. - disableMobile: false - - # Disables all dates except these specified. - # See https://chmln.github.io/flatpickr/examples/#disabling-all-dates-except-select-few - #enable: [] - - # Disables certain dates, preventing them from being selected. - # See https://chmln.github.io/flatpickr/examples/#disabling-specific-dates - #disable: [] - - # Enables seconds selection in the time picker. - enableSeconds: false - - # Enables the time picker - enableTime: true - - # Adjusts the step for the hour input (incl. scrolling) - hourIncrement: 1 - - # By default, clicking anywhere outside of calendar/input will close the calendar. - # Clicking on elements specified in this option will not close the calendar - ignoredFocusElements: [] - - # Displays the calendar inline - inline: false - - # The locale, either as a string (e.g. "ru", "en") or as an object. - # See https://chmln.github.io/flatpickr/localization/ - locale: "default" - - # Adjusts the step for the minute input (incl. scrolling) - minuteIncrement: 5 - - # Date selection mode, defaults to "single" - # variants: single, multiple, or range - mode: "single" - - # How the month selector in the calendar should be shown - # variants: dropdown, static - monthSelectorType: "static" - - # HTML for the right arrow icon, used to switch months. - nextArrow: "" - - # Hides the day selection in calendar. - # Use it along with "enableTime" to create a time picker. - noCalendar: false - - # A custom datestring parser - parseDate: false - - # Plugins. - # See https://chmln.github.io/flatpickr/plugins/ - # plugins: [] - - # How the calendar should be positioned with regards to the input. - # variants: auto, above, below, auto left, auto center, above right, below left, below center, below right - position: "auto" - - # The element off of which the calendar will be positioned. - # Defaults to the date input - positionElement: null - - # HTML for the left arrow icon, used to switch months. - prevArrow: "" - - # Whether to display the current month name in shorthand mode, e.g. "Sep" instead "September" - shorthandCurrentMonth: false - - # Creates a wrapper to position the calendar. Use this if the input is inside a scrollable element - static: false - - # Sets the number of months to show - showMonths: 1 - - # Displays time picker in 24 hour mode without AM/PM selection when enabled. - time_24hr: false - - # Display week numbers left of the calendar. - weekNumbers: false - - # See https://chmln.github.io/flatpickr/examples/#flatpickr-external-elements - wrap: false - - template: plugins/flatpickr/blocks/Flatpickr/block.html \ No newline at end of file diff --git a/project/config/plugins/icon/settings.yaml b/project/config/plugins/icon/settings.yaml deleted file mode 100644 index e0b85b9e..00000000 --- a/project/config/plugins/icon/settings.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Icon plugin priority -priority: 1 diff --git a/project/config/plugins/page-view-counter/settings.yaml b/project/config/plugins/page-view-counter/settings.yaml deleted file mode 100644 index af67fe5e..00000000 --- a/project/config/plugins/page-view-counter/settings.yaml +++ /dev/null @@ -1,2 +0,0 @@ -enabled: true -priority: 100 diff --git a/project/config/plugins/php-embed/settings.yaml b/project/config/plugins/php-embed/settings.yaml deleted file mode 100644 index d4ca9418..00000000 --- a/project/config/plugins/php-embed/settings.yaml +++ /dev/null @@ -1 +0,0 @@ -enabled: true diff --git a/project/config/plugins/phpmailer/settings.yaml b/project/config/plugins/phpmailer/settings.yaml deleted file mode 100644 index ede80ba7..00000000 --- a/project/config/plugins/phpmailer/settings.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# PHP Mailer plugin priority -priority: 100 diff --git a/project/config/plugins/reading-time/settings.yaml b/project/config/plugins/reading-time/settings.yaml deleted file mode 100644 index af67fe5e..00000000 --- a/project/config/plugins/reading-time/settings.yaml +++ /dev/null @@ -1,2 +0,0 @@ -enabled: true -priority: 100 diff --git a/project/config/plugins/redirect/settings.yaml b/project/config/plugins/redirect/settings.yaml deleted file mode 100644 index 0e49a99a..00000000 --- a/project/config/plugins/redirect/settings.yaml +++ /dev/null @@ -1,3 +0,0 @@ -enabled: true -priority: 100 -redirect: [] diff --git a/project/config/plugins/section/settings.yaml b/project/config/plugins/section/settings.yaml deleted file mode 100644 index d4ca9418..00000000 --- a/project/config/plugins/section/settings.yaml +++ /dev/null @@ -1 +0,0 @@ -enabled: true diff --git a/project/config/plugins/select2/settings.yaml b/project/config/plugins/select2/settings.yaml deleted file mode 100644 index 05b5bc49..00000000 --- a/project/config/plugins/select2/settings.yaml +++ /dev/null @@ -1,91 +0,0 @@ -# enabled: true or false to disable the plugin -enabled: true - -# Plugin priority -priority: 41 - -# Place to load -assetsLoadOnAdmin: true -assetsLoadOnSite: false - -# Blocks -blocks: - Select2: - type: Select2 - properties: - name: select2 - - # Select2 options - options: - - # Provides support for ajax data sources. - # See: https://select2.org/data-sources/ajax - ajax: null - - # Provides support for clearable selections. - # See: https://select2.org/selections#clearable-selections - allowClear: false - - # Controls whether the dropdown is closed after a selection is made. - # See: https://select2.org/dropdown#forcing-the-dropdown-to-remain-open-after-selection - closeOnSelect: true - - # Allows rendering dropdown options from an array. - # See: https://select2.org/data-sources/arrays - data: null - - # Enable debugging messages in the browser console. - debug: false - - # Sets the dir attribute on the selection and dropdown containers to indicate the direction of the text. - # See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir - dir: ltr - - # When set to `true`, the select control will be disabled. - disabled: false - - # Dropdown auto width - dropdownAutoWidth: false - - # Adds additional CSS classes to the dropdown container. - # The helper :all: can be used to add all CSS classes present on the original