Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
nmaas
nmaas Portal
Commits
07b2ad5d
Unverified
Commit
07b2ad5d
authored
1 year ago
by
Łukasz Łopatowski
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request
#80
from nmaas-platform/1.5.3-develop
Fix for 1.5.3
parents
08a4ee03
402448cc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/shared/users/list/userslist.component.css
+1
-1
1 addition, 1 deletion
src/app/shared/users/list/userslist.component.css
src/app/shared/users/list/userslist.component.html
+21
-5
21 additions, 5 deletions
src/app/shared/users/list/userslist.component.html
with
22 additions
and
6 deletions
src/app/shared/users/list/userslist.component.css
+
1
−
1
View file @
07b2ad5d
...
...
@@ -29,5 +29,5 @@ tr.clickable {
.space-between
{
display
:
flex
;
justify-content
:
en
d
;
justify-content
:
space-betwe
en
;
}
This diff is collapsed.
Click to expand it.
src/app/shared/users/list/userslist.component.html
+
21
−
5
View file @
07b2ad5d
...
...
@@ -3,8 +3,16 @@
{{ 'USERS.TITLE' | translate }}
</h3>
<div
class=
"flex space-between"
>
<div
class=
"flex"
>
{{ 'USERS.ITEMS_PER_PAGE' | translate }}:
<span
id=
"selectionItems"
class=
"dropdown"
style=
"vertical-align: middle; display: inline-block; margin-right: 1rem;"
>
<button
*ngIf=
"authService.hasDomainRole(domainId, 'ROLE_DOMAIN_ADMIN')"
class=
"btn btn-primary"
(click)=
"changeMode()"
>
<span
*ngIf=
"isModeAllowed(ComponentMode.DELETE)"
>
{{'USERS.ADD_TO_DOMAIN_BUTTON' | translate}}
</span>
<span
*ngIf=
"isModeAllowed(ComponentMode.EDIT)"
>
{{'USERS.GO_BACK_BUTTON' | translate}}
</span>
</button>
</div>
<div
class=
""
style=
"display: flex"
>
<div
*ngIf=
"isModeAllowed(ComponentMode.DELETE)"
class=
"flex"
>
{{ 'USERS.ITEMS_PER_PAGE' | translate }}:
<span
id=
"selectionItems"
class=
"dropdown"
style=
"vertical-align: middle; display: inline-block; margin-right: 1rem;"
>
<button
class=
"dropdown-toggle btn"
data-toggle=
"dropdown"
data-close-others=
"true"
>
{{maxItemsOnPage}}
</button>
...
...
@@ -16,10 +24,18 @@
</li>
</ul>
</span>
</div>
<div
*ngIf=
"isModeAllowed(ComponentMode.EDIT)"
style=
"margin-right: 15px; padding-top: 5px;"
>
{{'USERS.SEARCH' | translate}}
</div>
<div
*ngIf=
"isModeAllowed(ComponentMode.EDIT)"
class=
"flex"
>
<input
pInputText
name=
"searchTextDomain"
id=
"searchTextDomain"
placeholder=
"Search"
type=
"text"
(keyup)=
"searchUsers($event.target.value)"
>
</div>
<div
*ngIf=
"isModeAllowed(ComponentMode.DELETE)"
class=
"flex"
>
<input
pInputText
name=
"searchText"
id=
"searchText"
placeholder=
"Search"
type=
"text"
class=
"form-control"
(keyup)=
"onSearch($event.target.value)"
>
</div>
</div>
<div
class=
"flex"
>
<input
pInputText
name=
"searchText"
id=
"searchText"
placeholder=
"Search"
type=
"text"
class=
"form-control"
(keyup)=
"searchUsers($event.target.value)"
>
</div>
</div>
<br>
...
...
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