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
05a76574
Commit
05a76574
authored
Jan 15, 2020
by
Lukas Burgey
Browse files
Rework the visuals of state
parent
67bdad45
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/app/state/state.component.css
View file @
05a76574
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
white-space
:
pre-line
;
white-space
:
pre-line
;
}
}
p
{
td
{
font-size
:
90%
;
max-width
:
300px
;
vertical-align
:
text-top
;
}
}
src/app/state/state.component.html
View file @
05a76574
<td>
<td>
{{ service.site.name }}
<h4>
{{ service.site.name }}
</h4>
<br>
<br>
<p>
<small>
{{ service.site.description }}
</small>
{{ service.site.description }}
</p>
</td>
</td>
<td>
<td>
{{ service.name }}
<h4>
{{ service.name }}
</h4>
<br>
<br>
<p>
<small>
{{ service.description }}
</small>
{{ service.description }}
</p>
</td>
</td>
<ng-container
*ngIf=
"(state$ | async) as state; else noStateItem"
>
<ng-container
*ngIf=
"(state$ | async) as state; else noStateItem"
>
...
@@ -26,9 +22,9 @@
...
@@ -26,9 +22,9 @@
<mat-icon
*ngSwitchCase=
"'rejected'"
mat-icon-button
>
error
</mat-icon>
<mat-icon
*ngSwitchCase=
"'rejected'"
mat-icon-button
>
error
</mat-icon>
<mat-icon
*ngSwitchDefault
mat-icon-button
>
call_received
</mat-icon>
<mat-icon
*ngSwitchDefault
mat-icon-button
>
call_received
</mat-icon>
</span>
</span>
{{ lang.printState(state.state) }}
<h4>
{{ lang.printState(state.state) }}
</h4>
<br>
<br>
<
p
>
tooltip(state)
</
p
>
<
div
class=
"mat-small"
>
tooltip(state)
</
div
>
</td>
</td>
<!-- state dependent buttons -->
<!-- state dependent buttons -->
...
@@ -71,8 +67,8 @@
...
@@ -71,8 +67,8 @@
<span>
<span>
<mat-icon
mat-icon-button
>
call_received
</mat-icon>
<mat-icon
mat-icon-button
>
call_received
</mat-icon>
</span>
</span>
{{ lang.printState('not_deployed') }}
<h4>
{{ lang.printState('not_deployed') }}
</h4>
<br>
<br>
<
p
>
Access to this service was never requested.
</
p
>
<
small
>
Access to this service was never requested.
</
small
>
</td>
</td>
</ng-template>
</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