Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
37bdbc2c
Commit
37bdbc2c
authored
Jan 15, 2020
by
Lukas Burgey
Browse files
Merge branch 'site-descr' into service-contact
parents
34b2bbd7
52557f23
Changes
2
Show whitespace changes
Inline
Side-by-side
src/app/state/state.component.css
View file @
37bdbc2c
...
...
@@ -2,3 +2,19 @@
.my-tooltip
{
white-space
:
pre-line
;
}
h4
{
margin-bottom
:
5px
;
}
td
{
max-width
:
300px
;
vertical-align
:
top
;
}
.mat-icon
{
font-size
:
15px
;
height
:
15px
;
width
:
15px
;
vertical-align
:
initial
;
}
src/app/state/state.component.html
View file @
37bdbc2c
<td>
<span
matTooltip=
"{{ service.site.description}}"
matTooltipClass=
"my-tooltip"
>
{{ service.site.name }}
<mat-icon>
help
</mat-icon>
</span>
<h4>
{{ service.site.name }}
</h4>
<br>
<small>
{{ service.site.description }}
</small>
</td>
<td>
<span
matTooltip=
"{{ service.description }}"
>
{{ service.name }}
<mat-icon>
help
</mat-icon>
</span>
<h4>
{{ service.name }}
</h4>
<br>
<small>
{{ service.description }}
</small>
</td>
<ng-container
*ngIf=
"(state$ | async) as state; else noStateItem"
>
...
...
@@ -24,7 +22,9 @@
<mat-icon
*ngSwitchCase=
"'rejected'"
mat-icon-button
>
error
</mat-icon>
<mat-icon
*ngSwitchDefault
mat-icon-button
>
call_received
</mat-icon>
</span>
{{ lang.printState(state.state) }}
<h4>
{{ lang.printState(state.state) }}
</h4>
<br>
<div
class=
"mat-small"
>
tooltip(state)
</div>
</td>
<!-- state dependent buttons -->
...
...
@@ -65,8 +65,10 @@
<ng-template
#noStateItem
>
<td>
<span>
<mat-icon
mat-icon-button
matTooltip=
"Access to this service was never requested."
>
call_received
</mat-icon>
<mat-icon
mat-icon-button
>
call_received
</mat-icon>
</span>
{{ lang.printState('not_deployed') }}
<h4>
{{ lang.printState('not_deployed') }}
</h4>
<br>
<small>
Access to this service was never requested.
</small>
</td>
</ng-template>
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