added email and language
This commit is contained in:
@@ -37,6 +37,12 @@ export class UmbEditorViewUsersUserDetailsElement extends UmbContextConsumerMixi
|
|||||||
border-bottom: 1px solid var(--uui-color-divider);
|
border-bottom: 1px solid var(--uui-color-divider);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
uui-input {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.faded-text {
|
||||||
|
color: var(--uui-color-text-alt);
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -49,6 +55,14 @@ export class UmbEditorViewUsersUserDetailsElement extends UmbContextConsumerMixi
|
|||||||
protected _usersContext?: UmbEditorViewUsersElement;
|
protected _usersContext?: UmbEditorViewUsersElement;
|
||||||
protected _usersSubscription?: Subscription;
|
protected _usersSubscription?: Subscription;
|
||||||
|
|
||||||
|
private _languages = [
|
||||||
|
{ name: 'English', value: 'en', selected: true },
|
||||||
|
{ name: 'Dutch', value: 'nl' },
|
||||||
|
{ name: 'French', value: 'fr' },
|
||||||
|
{ name: 'German', value: 'de' },
|
||||||
|
{ name: 'Spanish', value: 'es' },
|
||||||
|
];
|
||||||
|
|
||||||
connectedCallback(): void {
|
connectedCallback(): void {
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
|
|
||||||
@@ -80,10 +94,22 @@ export class UmbEditorViewUsersUserDetailsElement extends UmbContextConsumerMixi
|
|||||||
return html`
|
return html`
|
||||||
<div id="left-column">
|
<div id="left-column">
|
||||||
<uui-box>
|
<uui-box>
|
||||||
<p slot="headline">Profile</p>
|
<div slot="headline">Profile</div>
|
||||||
|
<uui-form-layout-item>
|
||||||
|
<uui-label for="email">Email</uui-label>
|
||||||
|
<uui-input name="email" readonly value="FIX EMAIL"></uui-input>
|
||||||
|
</uui-form-layout-item>
|
||||||
|
<uui-form-layout-item>
|
||||||
|
<uui-label for="language">Language</uui-label>
|
||||||
|
<uui-select name="language" .options=${this._languages}> </uui-select>
|
||||||
|
</uui-form-layout-item>
|
||||||
</uui-box>
|
</uui-box>
|
||||||
<uui-box>
|
<uui-box>
|
||||||
<p slot="headline">Profile</p>
|
<div slot="headline">Assign access</div>
|
||||||
|
<div>
|
||||||
|
<b>Groups</b>
|
||||||
|
<div class="faded-text">Add groups to assign access and permissions</div>
|
||||||
|
</div>
|
||||||
</uui-box>
|
</uui-box>
|
||||||
</div>
|
</div>
|
||||||
<div id="right-column">
|
<div id="right-column">
|
||||||
|
|||||||
Reference in New Issue
Block a user