mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Groups type in attribute picker modal
This commit is contained in:
parent
cc36f55abd
commit
cdf40a2bc1
@ -3,22 +3,24 @@
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
padding: 0 1rem 0 1rem;
|
padding: 0 1rem 0 1rem;
|
||||||
margin-top: .6rem;
|
margin-top: 0.6rem;
|
||||||
margin-bottom: .8rem;
|
margin-bottom: 0.8rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
border: 1px solid #E3E9F3;
|
border: 1px solid #e3e9f3;
|
||||||
background: #FFFFFF;
|
background: #ffffff;
|
||||||
line-height: 4rem;
|
line-height: 4rem;
|
||||||
box-shadow: 1px 1px 1px rgba(104, 118,145, 0.05);
|
box-shadow: 1px 1px 1px rgba(104, 118, 145, 0.05);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover, &:active, &:focus {
|
&:hover,
|
||||||
background: #F7F7F7;
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
background: #f7f7f7;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
> div:after {
|
> div:after {
|
||||||
color: #0097F6;
|
color: #0097f6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,8 +35,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -46,7 +46,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 7px;
|
top: 7px;
|
||||||
right: 26px;
|
right: 26px;
|
||||||
color: #E3E9F3;
|
color: #e3e9f3;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
font-family: 'FontAwesome';
|
font-family: 'FontAwesome';
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
> span {
|
> span {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: #9EA7B8;
|
color: #9ea7b8;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -75,6 +75,7 @@
|
|||||||
&:last-child {
|
&:last-child {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
line-height: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,5 +42,9 @@
|
|||||||
{
|
{
|
||||||
"type": "enumeration",
|
"type": "enumeration",
|
||||||
"description": "content-type-builder.popUpForm.attributes.enumeration.description"
|
"description": "content-type-builder.popUpForm.attributes.enumeration.description"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "group",
|
||||||
|
"description": "content-type-builder.popUpForm.attributes.group.description"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"attribute.email": "Email",
|
"attribute.email": "Email",
|
||||||
"attribute.enumeration": "Enumeration",
|
"attribute.enumeration": "Enumeration",
|
||||||
"attribute.float": "Float",
|
"attribute.float": "Float",
|
||||||
|
"attribute.group": "Group",
|
||||||
"attribute.integer": "Integer",
|
"attribute.integer": "Integer",
|
||||||
"attribute.biginteger": "Big Integer",
|
"attribute.biginteger": "Big Integer",
|
||||||
"attribute.json": "JSON",
|
"attribute.json": "JSON",
|
||||||
@ -16,6 +17,7 @@
|
|||||||
"attribute.relation": "Relation",
|
"attribute.relation": "Relation",
|
||||||
"attribute.string": "String",
|
"attribute.string": "String",
|
||||||
"attribute.text": "Text",
|
"attribute.text": "Text",
|
||||||
|
"attribute.wysiwyg": "Rich text",
|
||||||
"button.attributes.add": "Add New Field",
|
"button.attributes.add": "Add New Field",
|
||||||
"button.contentType.add": "Add a Content Type",
|
"button.contentType.add": "Add a Content Type",
|
||||||
"button.group.add": "Add a Group",
|
"button.group.add": "Add a Group",
|
||||||
@ -141,6 +143,8 @@
|
|||||||
"popUpForm.attributes.email.name": "Email",
|
"popUpForm.attributes.email.name": "Email",
|
||||||
"popUpForm.attributes.enumeration.description": "List of choices",
|
"popUpForm.attributes.enumeration.description": "List of choices",
|
||||||
"popUpForm.attributes.enumeration.name": "Enumeration",
|
"popUpForm.attributes.enumeration.name": "Enumeration",
|
||||||
|
"popUpForm.attributes.group.description": "Refers to a Group",
|
||||||
|
"popUpForm.attributes.group.name": "Group",
|
||||||
"popUpForm.attributes.json.description": "Data in JSON format",
|
"popUpForm.attributes.json.description": "Data in JSON format",
|
||||||
"popUpForm.attributes.json.name": "JSON",
|
"popUpForm.attributes.json.name": "JSON",
|
||||||
"popUpForm.attributes.media.description": "Images, videos, PDFs and other files",
|
"popUpForm.attributes.media.description": "Images, videos, PDFs and other files",
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"attribute.email": "Email",
|
"attribute.email": "Email",
|
||||||
"attribute.enumeration": "Énumération",
|
"attribute.enumeration": "Énumération",
|
||||||
"attribute.float": "Décimal approximatif",
|
"attribute.float": "Décimal approximatif",
|
||||||
|
"attribute.group": "Groupe",
|
||||||
"attribute.integer": "Entier",
|
"attribute.integer": "Entier",
|
||||||
"attribute.json": "JSON",
|
"attribute.json": "JSON",
|
||||||
"attribute.media": "Média",
|
"attribute.media": "Média",
|
||||||
@ -15,6 +16,7 @@
|
|||||||
"attribute.relation": "Relation",
|
"attribute.relation": "Relation",
|
||||||
"attribute.string": "Chaîne de caractères",
|
"attribute.string": "Chaîne de caractères",
|
||||||
"attribute.text": "Texte",
|
"attribute.text": "Texte",
|
||||||
|
"attribute.wysiwyg": "Texte enrichi",
|
||||||
"button.attributes.add": "Ajouter un champ",
|
"button.attributes.add": "Ajouter un champ",
|
||||||
"button.contentType.add": "Ajouter un Type de Contenu",
|
"button.contentType.add": "Ajouter un Type de Contenu",
|
||||||
"button.group.add": "Ajouter un Groupe",
|
"button.group.add": "Ajouter un Groupe",
|
||||||
@ -140,6 +142,8 @@
|
|||||||
"popUpForm.attributes.enumeration": "Énumération",
|
"popUpForm.attributes.enumeration": "Énumération",
|
||||||
"popUpForm.attributes.enumeration.description": "Liste de choix",
|
"popUpForm.attributes.enumeration.description": "Liste de choix",
|
||||||
"popUpForm.attributes.enumeration.name": "Énumération",
|
"popUpForm.attributes.enumeration.name": "Énumération",
|
||||||
|
"popUpForm.attributes.group.description": "Pointe vers un Groupe",
|
||||||
|
"popUpForm.attributes.group.name": "Groupe",
|
||||||
"popUpForm.attributes.json.description": "Données au format JSON",
|
"popUpForm.attributes.json.description": "Données au format JSON",
|
||||||
"popUpForm.attributes.json.name": "JSON",
|
"popUpForm.attributes.json.name": "JSON",
|
||||||
"popUpForm.attributes.media.description": "Images, vidéos, PDFs et autres fichiers",
|
"popUpForm.attributes.media.description": "Images, vidéos, PDFs et autres fichiers",
|
||||||
|
@ -2,6 +2,7 @@ import boolean from '../assets/icons/attributes/icon_boolean.png';
|
|||||||
import date from '../assets/icons/attributes/icon_date.png';
|
import date from '../assets/icons/attributes/icon_date.png';
|
||||||
import email from '../assets/icons/attributes/icon_email.png';
|
import email from '../assets/icons/attributes/icon_email.png';
|
||||||
import enumeration from '../assets/icons/attributes/icon_enumeration.png';
|
import enumeration from '../assets/icons/attributes/icon_enumeration.png';
|
||||||
|
import group from '../assets/icons/attributes/icon_group.png';
|
||||||
import media from '../assets/icons/attributes/icon_media.png';
|
import media from '../assets/icons/attributes/icon_media.png';
|
||||||
import json from '../assets/icons/attributes/icon_json.png';
|
import json from '../assets/icons/attributes/icon_json.png';
|
||||||
import number from '../assets/icons/attributes/icon_number.png';
|
import number from '../assets/icons/attributes/icon_number.png';
|
||||||
@ -15,6 +16,7 @@ const attributeIcons = {
|
|||||||
date,
|
date,
|
||||||
email,
|
email,
|
||||||
enumeration,
|
enumeration,
|
||||||
|
group,
|
||||||
media,
|
media,
|
||||||
json,
|
json,
|
||||||
number,
|
number,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user