init
This commit is contained in:
8
user/plugins/admin/pages/admin/ajax.md
Normal file
8
user/plugins/admin/pages/admin/ajax.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Generic Ajax
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.login: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/backup.md
Normal file
9
user/plugins/admin/pages/admin/backup.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Backup
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.maintenance: true
|
||||
admin.super: true
|
||||
---
|
||||
10
user/plugins/admin/pages/admin/cache.md
Normal file
10
user/plugins/admin/pages/admin/cache.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Cache
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.cache: true
|
||||
admin.super: true
|
||||
admin.maintenance: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/changelog.md
Normal file
9
user/plugins/admin/pages/admin/changelog.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Changelog
|
||||
|
||||
access:
|
||||
admin.plugins: true
|
||||
admin.maintenance: true
|
||||
admin.themes: true
|
||||
admin.super: true
|
||||
---
|
||||
7
user/plugins/admin/pages/admin/config.md
Normal file
7
user/plugins/admin/pages/admin/config.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Config
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.login: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/dashboard.md
Normal file
8
user/plugins/admin/pages/admin/dashboard.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Dashboard
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.login: true
|
||||
admin.super: true
|
||||
---
|
||||
5
user/plugins/admin/pages/admin/denied.md
Normal file
5
user/plugins/admin/pages/admin/denied.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Access Denied
|
||||
expires: 0
|
||||
---
|
||||
|
||||
10
user/plugins/admin/pages/admin/error.md
Normal file
10
user/plugins/admin/pages/admin/error.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Error
|
||||
robots: noindex,nofollow
|
||||
template: error
|
||||
routable: false
|
||||
http_response_code: 404
|
||||
expires: 0
|
||||
---
|
||||
|
||||
Woops! Looks like this page doesn't exist.
|
||||
8
user/plugins/admin/pages/admin/feed.md
Normal file
8
user/plugins/admin/pages/admin/feed.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: News Feed
|
||||
template: ajax
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.login: true
|
||||
---
|
||||
19
user/plugins/admin/pages/admin/forgot.md
Normal file
19
user/plugins/admin/pages/admin/forgot.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: Forgot password
|
||||
expires: 0
|
||||
access:
|
||||
admin.login: false
|
||||
|
||||
forms:
|
||||
admin-login-forgot:
|
||||
type: admin
|
||||
method: post
|
||||
|
||||
fields:
|
||||
username:
|
||||
type: text
|
||||
placeholder: PLUGIN_ADMIN.USERNAME
|
||||
autofocus: true
|
||||
validate:
|
||||
required: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/info.md
Normal file
9
user/plugins/admin/pages/admin/info.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: PHP Info
|
||||
template: config
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.configuration.info: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/installer.md
Normal file
8
user/plugins/admin/pages/admin/installer.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Installer
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.install: true
|
||||
admin.super: true
|
||||
---
|
||||
45
user/plugins/admin/pages/admin/login.md
Normal file
45
user/plugins/admin/pages/admin/login.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: Admin Login
|
||||
expires: 0
|
||||
access:
|
||||
admin.login: false
|
||||
|
||||
forms:
|
||||
login:
|
||||
type: admin
|
||||
method: post
|
||||
|
||||
fields:
|
||||
username:
|
||||
type: text
|
||||
placeholder: PLUGIN_ADMIN.USERNAME_EMAIL
|
||||
autofocus: true
|
||||
validate:
|
||||
required: true
|
||||
|
||||
password:
|
||||
type: password
|
||||
placeholder: PLUGIN_ADMIN.PASSWORD
|
||||
validate:
|
||||
required: true
|
||||
|
||||
login-twofa:
|
||||
type: admin
|
||||
method: post
|
||||
|
||||
fields:
|
||||
2fa_instructions:
|
||||
type: display
|
||||
markdown: true
|
||||
content: PLUGIN_ADMIN.2FA_INSTRUCTIONS
|
||||
2fa_code:
|
||||
type: text
|
||||
id: twofa-code
|
||||
autofocus: true
|
||||
placeholder: PLUGIN_ADMIN.2FA_CODE_INPUT
|
||||
description: or
|
||||
yubikey_otp:
|
||||
type: text
|
||||
id: yubikey-otp
|
||||
placeholder: PLUGIN_ADMIN.YUBIKEY_OTP_INPUT
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/media.md
Normal file
9
user/plugins/admin/pages/admin/media.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Media
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.pages: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/notifications.md
Normal file
8
user/plugins/admin/pages/admin/notifications.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Notifications
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.login: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/pages-filter.md
Normal file
9
user/plugins/admin/pages/admin/pages-filter.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Pages Filter
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.pages: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/pages.md
Normal file
8
user/plugins/admin/pages/admin/pages.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Pages
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.pages: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/plugins.md
Normal file
8
user/plugins/admin/pages/admin/plugins.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Plugins
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.plugins: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/preview.md
Normal file
8
user/plugins/admin/pages/admin/preview.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Preview
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.pages: true
|
||||
admin.super: true
|
||||
---
|
||||
63
user/plugins/admin/pages/admin/register.md
Normal file
63
user/plugins/admin/pages/admin/register.md
Normal file
@@ -0,0 +1,63 @@
|
||||
---
|
||||
title: Register Admin User
|
||||
expires: 0
|
||||
access:
|
||||
admin.login: false
|
||||
|
||||
forms:
|
||||
admin-login-register:
|
||||
type: admin
|
||||
method: post
|
||||
|
||||
fields:
|
||||
username:
|
||||
type: text
|
||||
label: PLUGIN_ADMIN.USERNAME
|
||||
autofocus: true
|
||||
placeholder: PLUGIN_ADMIN.USERNAME_PLACEHOLDER
|
||||
validate:
|
||||
required: true
|
||||
message: PLUGIN_LOGIN.USERNAME_NOT_VALID
|
||||
config-pattern@: system.username_regex
|
||||
|
||||
email:
|
||||
type: email
|
||||
label: PLUGIN_ADMIN.EMAIL
|
||||
placeholder: "valid email address"
|
||||
validate:
|
||||
type: email
|
||||
message: PLUGIN_ADMIN.EMAIL_VALIDATION_MESSAGE
|
||||
required: true
|
||||
|
||||
password1:
|
||||
type: password
|
||||
label: PLUGIN_ADMIN.PASSWORD
|
||||
placeholder: PLUGIN_ADMIN.PWD_PLACEHOLDER
|
||||
validate:
|
||||
required: true
|
||||
message: PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE
|
||||
config-pattern@: system.pwd_regex
|
||||
|
||||
password2:
|
||||
type: password
|
||||
label: PLUGIN_ADMIN.PASSWORD_CONFIRM
|
||||
placeholder: PLUGIN_ADMIN.PWD_PLACEHOLDER
|
||||
validate:
|
||||
required: true
|
||||
message: PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE
|
||||
config-pattern@: system.pwd_regex
|
||||
|
||||
fullname:
|
||||
type: text
|
||||
placeholder: "e.g. 'Joe Schmoe'"
|
||||
label: PLUGIN_ADMIN.FULL_NAME
|
||||
validate:
|
||||
required: true
|
||||
|
||||
title:
|
||||
type: text
|
||||
placeholder: "e.g. 'Administrator'"
|
||||
label: PLUGIN_ADMIN.TITLE
|
||||
---
|
||||
|
||||
The Admin plugin has been installed, but no **admin accounts** could be found. Please create an admin account to ensure your Grav install is secure...
|
||||
24
user/plugins/admin/pages/admin/reset.md
Normal file
24
user/plugins/admin/pages/admin/reset.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: Reset password
|
||||
expires: 0
|
||||
access:
|
||||
admin.login: false
|
||||
|
||||
|
||||
forms:
|
||||
admin-login-reset:
|
||||
type: admin
|
||||
method: post
|
||||
|
||||
fields:
|
||||
username:
|
||||
type: text
|
||||
placeholder: PLUGIN_ADMIN.USERNAME
|
||||
readonly: true
|
||||
password:
|
||||
type: password
|
||||
placeholder: PLUGIN_ADMIN.PASSWORD
|
||||
autofocus: true
|
||||
token:
|
||||
type: hidden
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/site.md
Normal file
9
user/plugins/admin/pages/admin/site.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Site Settings
|
||||
template: config
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.configuration.site: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/statistics.md
Normal file
8
user/plugins/admin/pages/admin/statistics.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Statistics
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.statistics: true
|
||||
admin.super: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/system.md
Normal file
9
user/plugins/admin/pages/admin/system.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Configuration
|
||||
template: config
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.configuration.system: true
|
||||
admin.super: true
|
||||
---
|
||||
8
user/plugins/admin/pages/admin/themes.md
Normal file
8
user/plugins/admin/pages/admin/themes.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Grav Themes
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.themes: true
|
||||
admin.super: true
|
||||
---
|
||||
7
user/plugins/admin/pages/admin/tools.md
Normal file
7
user/plugins/admin/pages/admin/tools.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Grav Tools
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.login: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/update.md
Normal file
9
user/plugins/admin/pages/admin/update.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Updates
|
||||
template: default
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.maintenance: true
|
||||
admin.super: true
|
||||
---
|
||||
9
user/plugins/admin/pages/admin/user.md
Normal file
9
user/plugins/admin/pages/admin/user.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: User
|
||||
expires: 0
|
||||
|
||||
access:
|
||||
admin.users: true
|
||||
admin.login: true
|
||||
admin.super: true
|
||||
---
|
||||
Reference in New Issue
Block a user