Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
custom-tzcld
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Components
custom-tzcld
Commits
3070280d
Commit
3070280d
authored
1 year ago
by
Antoine Dupré
Browse files
Options
Downloads
Patches
Plain Diff
feature: tzcld communities edit profile
parent
4c88c118
No related branches found
Branches containing commit
Tags
v1.0.2-beta.4
Tags containing commit
2 merge requests
!2
Dev
,
!1
Issue 3
Pipeline
#14440
passed with stage
in 1 minute and 15 seconds
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/custom-tzcld.js
+50
-1
50 additions, 1 deletion
src/custom-tzcld.js
src/styles/index.scss
+31
-0
31 additions, 0 deletions
src/styles/index.scss
with
81 additions
and
1 deletion
src/custom-tzcld.js
+
50
−
1
View file @
3070280d
...
@@ -265,7 +265,56 @@ import("./utils.js").then((utils) => {
...
@@ -265,7 +265,56 @@ import("./utils.js").then((utils) => {
></solid-form>
></solid-form>
</template>
</template>
</solid-widget>`
;
</solid-widget>
<solid-widget name="customtzcld-form-profile-locations-widget">
<template>
<solid-form
class="d-block rowClear"
data-src="
\$
{value}"
data-holder
naked
fields="segment11(name), segment12(address, postal_code), segment13(city, department), phones, emails, link, segment14(twitter_link, linkedin_link)"
value-profile="
\$
{value}"
class-segment11="segment full sm-full rowClear"
class-segment12="segment full sm-full rowClear"
class-segment13="segment full sm-full rowClear"
class-segment14="segment full sm-full rowClear"
class-name="segment margin-bottom-medium full sm-full sm-padding-none text-xlarge text-semibold text-color-heading"
class-address="segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-xlarge text-semibold text-color-heading"
class-postal_code="segment margin-bottom-medium half sm-full padding-left-small sm-padding-none text-xlarge text-semibold text-color-heading"
class-city="segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-xlarge text-semibold text-color-heading"
class-department="segment margin-bottom-medium half sm-full padding-left-small padding-right-small sm-padding-none text-xlarge text-semibold text-color-heading"
class-link="segment margin-bottom-medium full sm-full sm-padding-none text-xlarge text-semibold text-color-heading"
class-twitter_link="segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-xlarge text-semibold text-color-heading"
class-linkedin_link="segment margin-bottom-medium half sm-full padding-left-small sm-padding-none text-xlarge text-semibold text-color-heading"
label-name="Nom de l'adresse"
label-address="Adresse"
label-postal_code="Code postal"
label-city="Ville"
label-department="Département"
label-link="URL Site internet"
label-twitter_link="URL Twitter"
label-linkedin_link="URL Linkedin"
multiple-phones
widget-phones="customtzcld-form-profile-phone-widget"
multiple-phones-label= "Téléphone"
multiple-phones-add-label= "Ajouter un téléphone"
multiple-phones-remove-label= "Supprimer"
multiple-emails
widget-emails="customtzcld-form-profile-email-widget"
multiple-phones-label= "Téléphone"
multiple-emails-add-label= "Ajouter un E-mail"
multiple-emails-remove-label= "Supprimer"
multiple-emails-remove-class= "multiple-delete"
widget-department="solid-form-dropdown-label"
range-department="
${
dataSrc
}
tzcld-departments/"
></solid-form>
</template>
</solid-widget>`
;
}
}
}
}
);
);
...
...
This diff is collapsed.
Click to expand it.
src/styles/index.scss
+
31
−
0
View file @
3070280d
...
@@ -211,6 +211,37 @@ solid-multiple-form {
...
@@ -211,6 +211,37 @@ solid-multiple-form {
}
}
}
}
}
}
#communities-community-edit
{
form
{
&
>[
name
=
"profile.website"
],
&
>[
name
=
"profile.tweeter"
],
&
>[
name
=
"profile.facebook"
],
&
>[
name
=
"profile.linkedin"
],
&
>[
name
=
"profile.instagram"
]
{
label
.text-uppercase
{
text-transform
:
none
;
font-size
:
16px
;
}
}
[
name
=
"phones"
]
{
[
name
=
"phone"
]
.width-45
,
[
name
=
"phone_type"
]
.width-45
{
width
:
50%
;
}
[
name
=
"phone_public"
]
{
display
:
none
;
}
}
[
name
=
"emails"
]
{
[
name
=
"email"
]
.width-45
,
[
name
=
"email_type"
]
.width-45
{
width
:
50%
;
}
[
name
=
"email_public"
]
{
display
:
none
;
}
}
}
}
#members-edit-profile
{
#members-edit-profile
{
form
>[
name
=
"email"
]
label
.text-uppercase
{
form
>[
name
=
"email"
]
label
.text-uppercase
{
text-transform
:
none
;
text-transform
:
none
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment