edit static pages in backend

This commit is contained in:
Arno Kaimbacher 2018-09-06 17:58:54 +02:00
parent e771c4921f
commit 783ac823ba
59 changed files with 1644 additions and 761 deletions

View file

@ -0,0 +1,23 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Alert Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain alert messages for various scenarios
| during CRUD operations. You are free to modify these language lines
| according to your application's requirements.
|
*/
'backend' => [
'pages' => [
'created' => 'The Page was successfully created.',
'deleted' => 'The Page was successfully deleted.',
'updated' => 'The Page was successfully updated.',
],
],
];

View file

@ -0,0 +1,55 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Buttons Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in buttons throughout the system.
| Regardless where it is placed, a button can be listed here so it is easily
| found in a intuitive way.
|
*/
'backend' => [
'access' => [
'users' => [
'activate' => 'Activate',
'change_password' => 'Change Password',
'clear_session' => 'Clear Session',
'deactivate' => 'Deactivate',
'delete_permanently' => 'Delete Permanently',
'login_as' => 'Login As :user',
'resend_email' => 'Resend Confirmation E-mail',
'restore_user' => 'Restore User',
],
],
],
'emails' => [
'auth' => [
'confirm_account' => 'Confirm Account',
'reset_password' => 'Reset Password',
],
],
'general' => [
'cancel' => 'Cancel',
'continue' => 'Continue',
'preview' => 'Preview',
'save' => 'Save',
'view' => 'View',
'crud' => [
'create' => 'Create',
'add' => 'Add',
'delete' => 'Delete',
'edit' => 'Edit',
'update' => 'Update',
'view' => 'View',
],
],
];

View file

@ -0,0 +1,27 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Exception Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in Exceptions thrown throughout the system.
| Regardless where it is placed, a button can be listed here so it is easily
| found in a intuitive way.
|
*/
'backend' => [
'pages' => [
'already_exists' => 'That Page already exists. Please choose a different name.',
'create_error' => 'There was a problem creating this Page. Please try again.',
'delete_error' => 'There was a problem deleting this Page. Please try again.',
'not_found' => 'That Page does not exist.',
'update_error' => 'There was a problem updating this Page. Please try again.',
],
],
'frontend' => [],
];

View file

@ -0,0 +1,82 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Labels Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in labels throughout the system.
| Regardless where it is placed, a label can be listed here so it is easily
| found in a intuitive way.
|
*/
'general' => [
'all' => 'All',
'yes' => 'Yes',
'no' => 'No',
'custom' => 'Custom',
'actions' => 'Actions',
'active' => 'Active',
'buttons' => [
'save' => 'Save',
'update' => 'Update',
],
'hide' => 'Hide',
'inactive' => 'Inactive',
'none' => 'None',
'show' => 'Show',
'toggle_navigation' => 'Toggle Navigation',
],
'backend' => [
'profile_updated' => 'Your profile has been updated.',
'access' => [
'roles' => [
'create' => 'Create Role',
'edit' => 'Edit Role',
'management' => 'Role Management',
'table' => [
'number_of_users' => 'Number of Users',
'permissions' => 'Permissions',
'role' => 'Role',
'sort' => 'Sort',
'total' => 'role total|roles total',
],
],
'permissions' => [
'create' => 'Create Permission',
'edit' => 'Edit Permission',
'management' => 'Permission Management',
'table' => [
'permission' => 'Permission',
'display_name' => 'Display Name',
'sort' => 'Sort',
'status' => 'Status',
'total' => 'role total|roles total',
],
]
],
'pages' => [
'create' => 'Create Page',
'edit' => 'Edit Page',
'management' => 'Page Management',
'title' => 'Pages',
'table' => [
'title' => 'Title',
'status' => 'Status',
'createdat' => 'Created At',
'updatedat' => 'Updated At',
'createdby' => 'Created By',
'all' => 'All',
],
]
]
];

View file

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Menus Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used in menu items throughout the system.
| Regardless where it is placed, a menu item can be listed here so it is easily
| found in a intuitive way.
|
*/
'backend' => [
'access' => [
'title' => 'Access Management',
],
],
];

View file

@ -102,6 +102,35 @@ return [
|
*/
'attributes' => [],
'attributes' => [
'backend' => [
'create-dataset' => [
// 'email' => 'E-mail Address',
// 'firstName' => 'First Name',
// 'lastName' => 'Last Name',
// 'password' => 'Password',
// 'address' => 'Address',
// 'country' => 'Country',
// 'state' => 'Select State',
// 'city' => 'Select City',
// 'zipcode' => 'Zip Code',
// 'ssn' => 'SSN',
// 'password_confirmation' => 'Password Confirmation',
// 'old_password' => 'Old Password',
// 'new_password' => 'New Password',
// 'new_password_confirmation' => 'New Password Confirmation',
'terms_and_conditions' => 'terms and conditions',
],
'pages' => [
'title' => 'Title',
'description' => 'Description',
'cannonical_link' => 'Cannonical Link',
'seo_title' => 'SEO Title',
'seo_keyword' => 'SEO Keyword',
'seo_description' => 'SEO Description',
'is_active' => 'Active',
],
],
],
];