mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Update system fields default displays (#4089)
This commit is contained in:
@@ -25,7 +25,11 @@ fields:
|
||||
iconRight: local_offer
|
||||
special: json
|
||||
width: full
|
||||
display: tags
|
||||
display: labels
|
||||
display_options:
|
||||
defaultBackground: '#ECEFF1'
|
||||
choices: null
|
||||
format: false
|
||||
|
||||
- field: location
|
||||
interface: text-input
|
||||
@@ -111,6 +115,10 @@ fields:
|
||||
- field: folder
|
||||
width: half
|
||||
readonly: true
|
||||
special: m2o
|
||||
display: related-values
|
||||
display_options:
|
||||
template: '{{ name }}'
|
||||
|
||||
- field: width
|
||||
width: half
|
||||
|
||||
@@ -54,6 +54,11 @@ fields:
|
||||
width: full
|
||||
options:
|
||||
iconRight: local_offer
|
||||
display: labels
|
||||
display_options:
|
||||
defaultBackground: '#ECEFF1'
|
||||
choices: null
|
||||
format: false
|
||||
|
||||
- field: preferences_divider
|
||||
interface: divider
|
||||
@@ -117,7 +122,7 @@ fields:
|
||||
special: m2o
|
||||
width: half
|
||||
display: related-values
|
||||
display_options:
|
||||
display_options:
|
||||
template: '{{ name }}'
|
||||
|
||||
- field: token
|
||||
@@ -139,3 +144,6 @@ fields:
|
||||
|
||||
- field: last_access
|
||||
width: half
|
||||
display: datetime
|
||||
display_options:
|
||||
relative: true
|
||||
|
||||
@@ -14,7 +14,7 @@ fields:
|
||||
interface: dropdown
|
||||
display: labels
|
||||
display_options:
|
||||
defaultBackground: "#ECEFF1"
|
||||
defaultBackground: '#ECEFF1'
|
||||
choices: null
|
||||
format: false
|
||||
options:
|
||||
@@ -33,18 +33,18 @@ fields:
|
||||
interface: dropdown
|
||||
display: labels
|
||||
display_options:
|
||||
defaultColor: "#B0BEC5"
|
||||
defaultBackground: "#ECEFF1"
|
||||
defaultColor: '#B0BEC5'
|
||||
defaultBackground: '#ECEFF1'
|
||||
showAsDot: true
|
||||
choices:
|
||||
- text: Active
|
||||
value: active
|
||||
foreground: "#607D8B"
|
||||
background: "#2F80ED"
|
||||
- text: Inactive
|
||||
value: inactive
|
||||
foreground: "#607D8B"
|
||||
background: "#ECEFF1"
|
||||
- text: Active
|
||||
value: active
|
||||
foreground: '#607D8B'
|
||||
background: '#2F80ED'
|
||||
- text: Inactive
|
||||
value: inactive
|
||||
foreground: '#607D8B'
|
||||
background: '#ECEFF1'
|
||||
options:
|
||||
choices:
|
||||
- text: Active
|
||||
@@ -59,6 +59,7 @@ fields:
|
||||
label: Send Event Data
|
||||
special: boolean
|
||||
width: half
|
||||
display: boolean
|
||||
|
||||
- field: triggers_divider
|
||||
interface: divider
|
||||
@@ -81,8 +82,34 @@ fields:
|
||||
value: delete
|
||||
special: csv
|
||||
width: full
|
||||
display: labels
|
||||
display_options:
|
||||
defaultForeground: '#263238'
|
||||
defaultBackground: '#eceff1'
|
||||
choices:
|
||||
- text: Create
|
||||
value: create
|
||||
foreground: '#27ae60'
|
||||
background: '#c9ebd7'
|
||||
- text: Update
|
||||
value: update
|
||||
foreground: '#2f80ed'
|
||||
background: '#cbdffb'
|
||||
- text: Delete
|
||||
value: delete
|
||||
foreground: '#eb5757'
|
||||
background: '#fad5d5'
|
||||
- text: Login
|
||||
value: authenticate
|
||||
foreground: '#9b51e0'
|
||||
background: '#e6d3f7'
|
||||
|
||||
- field: collections
|
||||
interface: collections
|
||||
special: csv
|
||||
width: full
|
||||
display: labels
|
||||
display_options:
|
||||
defaultBackground: '#ECEFF1'
|
||||
choices: null
|
||||
format: false
|
||||
|
||||
Reference in New Issue
Block a user