mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-23 09:13:07 +01:00
Add user
scheme
This commit is contained in:
parent
a681f43aaf
commit
0f75a6d7e1
@ -182,6 +182,7 @@ user.fullname: Full Name
|
||||
user.language: Language
|
||||
user.last-access: Last access
|
||||
user.password: Password
|
||||
user.role: Role
|
||||
user.username: Username
|
||||
users.delete-user: Delete User
|
||||
users.delete-user.prompt: Are you sure you want to delete this user? This action can’t be undone.
|
||||
|
@ -183,6 +183,7 @@ user.fullname: Nome completo
|
||||
user.language: Lingua
|
||||
user.last-access: Ultimo accesso
|
||||
user.password: Password
|
||||
user.role: Ruolo
|
||||
user.username: Nome utente
|
||||
users.delete-user: Elimina utente
|
||||
users.delete-user.prompt: Si è sicuri di eliminare l’utente? Questa azione non può essere annullata.
|
||||
|
96
admin/schemes/user.yml
Normal file
96
admin/schemes/user.yml
Normal file
@ -0,0 +1,96 @@
|
||||
rows1:
|
||||
type: rows
|
||||
fields:
|
||||
row1:
|
||||
type: row
|
||||
fields:
|
||||
column1:
|
||||
type: column
|
||||
width: 1-3
|
||||
label: '{{user.fullname}}'
|
||||
column2:
|
||||
type: column
|
||||
width: 2-3
|
||||
fields:
|
||||
fullname:
|
||||
type: text
|
||||
|
||||
row2:
|
||||
type: row
|
||||
fields:
|
||||
column1:
|
||||
type: column
|
||||
width: 1-3
|
||||
label: '{{user.email}}'
|
||||
column2:
|
||||
type: column
|
||||
width: 2-3
|
||||
fields:
|
||||
email:
|
||||
type: email
|
||||
|
||||
row3:
|
||||
type: row
|
||||
fields:
|
||||
column1:
|
||||
type: column
|
||||
width: 1-3
|
||||
label: '{{user.password}}'
|
||||
column2:
|
||||
type: column
|
||||
width: 2-3
|
||||
fields:
|
||||
password:
|
||||
type: password
|
||||
disabled: true
|
||||
pattern: '^.{8,}$'
|
||||
|
||||
row4:
|
||||
type: row
|
||||
fields:
|
||||
column1:
|
||||
type: column
|
||||
width: 1-3
|
||||
label: '{{user.language}}'
|
||||
column2:
|
||||
type: column
|
||||
width: 2-3
|
||||
fields:
|
||||
language:
|
||||
type: select
|
||||
translate: false
|
||||
import:
|
||||
options: 'Formwork\Admin\Language::availableLanguages'
|
||||
|
||||
row5:
|
||||
type: row
|
||||
fields:
|
||||
column1:
|
||||
type: column
|
||||
width: 1-3
|
||||
label: '{{user.role}}'
|
||||
column2:
|
||||
type: column
|
||||
width: 2-3
|
||||
fields:
|
||||
role:
|
||||
type: select
|
||||
translate: false
|
||||
disabled: true
|
||||
import:
|
||||
options: 'Formwork\Admin\Users\Users::availableRoles'
|
||||
|
||||
row6:
|
||||
type: row
|
||||
fields:
|
||||
column1:
|
||||
type: column
|
||||
width: 1-3
|
||||
label: '{{user.avatar}}'
|
||||
column2:
|
||||
type: column
|
||||
width: 2-3
|
||||
fields:
|
||||
avatar:
|
||||
type: file
|
||||
accept: .jpg, .jpeg, .png, .gif
|
Loading…
x
Reference in New Issue
Block a user