Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
feudalWebpage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
feudal
feudalWebpage
Commits
629c9617
Commit
629c9617
authored
Dec 15, 2017
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt service component to relation change
parent
7c8e3369
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
src/app/app.module.ts
src/app/app.module.ts
+2
-0
src/app/service/service.component.html
src/app/service/service.component.html
+16
-14
No files found.
src/app/app.module.ts
View file @
629c9617
...
...
@@ -18,6 +18,7 @@ import {MatFormFieldModule} from '@angular/material/form-field';
import
{
MatSelectModule
}
from
'
@angular/material/select
'
;
import
{
MatInputModule
}
from
'
@angular/material/input
'
;
import
{
MatCheckboxModule
}
from
'
@angular/material/checkbox
'
;
import
{
MatTooltipModule
}
from
'
@angular/material/tooltip
'
;
import
{
CookieService
}
from
'
ngx-cookie-service
'
;
...
...
@@ -81,6 +82,7 @@ const routes = [
MatSelectModule
,
MatInputModule
,
MatCheckboxModule
,
MatTooltipModule
,
],
providers
:
[
CookieService
,
...
...
src/app/service/service.component.html
View file @
629c9617
...
...
@@ -3,24 +3,26 @@
<mat-panel-title>
{{ serviceData.name }}
</mat-panel-title>
<mat-panel-description>
{{ serviceData.description }}
</mat-panel-description>
</mat-expansion-panel-header>
<p>
<mat-icon
style=
"vertical-align: middle; padding-right: 35px;"
>
storage
</mat-icon>
Provided by: {{ serviceData.site.name }}
</p>
<span>
<mat-icon
style=
"vertical-align: middle; padding-right: 35px;"
>
lock outline
</mat-icon>
</span>
Needs membership of one of the following groups:
<ul>
<li
*ngFor=
"let group of serviceData.groups"
>
<div
style=
"padding-bottom: 10px;"
>
<span
style=
"padding-right: 35px;"
*ngFor=
"let site of serviceData.site"
matTooltip=
"Provided at site {{ site.name }}"
>
<mat-icon
style=
"vertical-align: middle; padding-right: 5px;"
>
storage
</mat-icon>
{{ site.name }}
</span>
</div>
<div>
<span
style=
"padding-right: 35px;"
*ngFor=
"let group of serviceData.groups"
matTooltip=
"Can be used with membership of group {{ group.name }}"
>
<mat-icon
style=
"vertical-align: middle; padding-right: 5px;"
>
lock outline
</mat-icon>
{{ group.name }}
</
li
>
</
ul
>
</
span
>
</
div
>
<mat-action-row>
<div
*ngIf=
"userService.user.ssh_keys.length > 0"
>
<span
style=
"margin-right: 15px"
>
<span
style=
"margin-right: 15px
;
"
>
Deployed keys:
</span><br/>
<mat-checkbox
*ngFor=
"let key of userService.user.ssh_keys"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment