feature: admin-create-user

This commit is contained in:
gaelle morin 2020-12-06 10:13:01 +01:00
parent e57d2fce9a
commit 983902bb54
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
3 changed files with 15 additions and 13 deletions

View File

@ -1,4 +1,5 @@
input[type='text'],
input[type='email'],
textarea {
background: #F6F6F6;
border: none;

View File

@ -11,7 +11,7 @@ div.segment.padding-large.clearfix
div
div
solid-form.form.button-register(
solid-form.button-register(
data-src=`${endpoints.projects || endpoints.post.projects}`
fields='status, customer.name, name, captain'

View File

@ -1,11 +1,11 @@
div.segment.padding-xlarge.border-bottom.clearfix
div.segment.padding-top-xsmall.padding-right-large.padding-bottom-xsmall.padding-left-large.border-bottom.border-color-grey.text-color-heading.clearfix
div.segment.lg-half.float-left
h2.text-uppercase.text-xlarge.text-letter-spacing-large(data-trans='communities.title')
div.segment.lg-half.float-left.text-right
solid-link(class="backlink", next='admin-communities-list' data-trans='user.create.backlink')
div.segment.padding-xlarge.clearfix
div.segment.padding-large.clearfix
div#loader-users-title.loader.loader
div
div
@ -25,27 +25,28 @@ div.segment.padding-xlarge.clearfix
solid-widget(name='hubl-email-field')
template
label(data-trans='user.create.labelEmail')
input(type="email" label='' data-trans='label=user.create.labelEmail' name="email" required value="\${value}" data-holder)
divsegment.margin-bottom-medium.lg-half.padding-right-small.text-small.text-semibold.text-uppercase.text-color-heading.float-left
label(data-trans='user.create.labelEmail')
input(type="email" label='' data-trans='label=user.create.labelEmail' name="email" required value="\${value}" data-holder)
div.segment.margin-top-small.margin-bottom-xxlarge
h3.text-uppercase.text-large.text-letter-spacing-large(data-trans='user.create.title', loader-id='loader-users-title')
div.segment.margin-bottom-medium.clearfix
div.segment.float-left
h3.text-color-heading.text-semibold.text-letter-spacing-large(data-trans='user.create.title', loader-id='loader-users-title')
solid-form.form.button-register#selected-community(
solid-form.button-register#selected-community(
bind-resources
nested-field='members'
fields='line-1(user.first_name, user.last_name), line-2(user.username, user.email), user.password'
fields='user.first_name, user.last_name, user.username, user.email, user.password'
required-user.first_name
required-user.last_name
required-user.username
required-user.email
loader-id='loader-users-create'
class-user.first_name='segment lg-half float-left margin-bottom padding-left-large box-border text-small text-bold text-uppercase text-color-heading'
class-user.last_name='segment lg-half float-left margin-bottom padding-left-large box-border text-small text-bold text-uppercase text-color-heading'
class-user.username='segment lg-half float-left margin-bottom padding-left-large box-border text-small text-bold text-uppercase text-color-heading'
class-user.email='segment lg-half float-left margin-bottom padding-left-large box-border text-small text-bold text-uppercase text-color-heading'
class-user.first_name='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading float-left'
class-user.last_name='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading float-left'
class-user.username='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading float-left'
label-user.first_name=''
label-user.last_name=''