You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/07/25 11:31:33 UTC
[incubator-dlab] 11/12: [DLAB-583]: added meta data service
This is an automated email from the ASF dual-hosted git repository.
bhliva pushed a commit to branch v2.1.1
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 040ecad826314c09addbd2475c6f4b1a84d32474
Author: Andriana Kovalyshyn <an...@epam.com>
AuthorDate: Fri Apr 12 16:08:29 2019 +0300
[DLAB-583]: added meta data service
---
.../src/app/shared/navbar/navbar.component.html | 23 ++++------------------
.../src/app/shared/navbar/navbar.component.scss | 21 ++++----------------
2 files changed, 8 insertions(+), 36 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
index 8bb75c9..d13c23e 100644
--- a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.html
@@ -42,28 +42,13 @@
<a *ngIf="healthStatus.status" [routerLink]="['/environment_management']" class="statusbar">
<span class="material-icons" ngClass="{{healthStatus.status || ''}}">radio_button_checked</span>
</a>
- <!-- *ngIf="metadata" -->
- <a class="statusbar" #info (click)="actions.toggle($event, info)">
- <span class="material-icons meta">info</span>
+ <a *ngIf="metadata" class="statusbar" #info (click)="actions.toggle($event, info)">
+ <span class="material-icons meta">share</span>
</a>
<bubble-up #actions class="list-menu" position="bottom-right">
<div class="app-info">
- <p>
- <strong>Version: </strong>
- <span class="ellipsis">{{ metadata?.version }}</span>
- </p>
- <p>
- <strong>Branch: </strong>
- <span class="ellipsis">{{ metadata?.branch }}</span>
- </p>
- <p>
- <strong>Revision: </strong>
- <span class="ellipsis">{{ metadata?.commit }}</span>
- </p>
- <p>
- <a class="helper_instruction" [attr.href]="metadata?.release_notes" target="_blank">
- <i class="material-icons">link</i>Release notes </a>
- </p>
+ <p><strong>Version: </strong> {{ metadata?.version }}</p>
+ <p><strong>Branch: </strong> {{ metadata?.branch }}</p>
</div>
</bubble-up>
<button class="btn btn-logout" (click)="logout_btnClick()">Log out <span class="user-name">{{currentUserName}}</span></button>
diff --git a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.scss b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.scss
index 45bc4da..e79d196 100644
--- a/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/shared/navbar/navbar.component.scss
@@ -45,7 +45,7 @@
.statusbar {
display: flex;
- width: 50px;
+ width: 60px;
height: 46px;
text-decoration: none;
justify-content: center;
@@ -70,9 +70,9 @@
}
}
.meta {
- color: #c7d4d6;
+ color: #fff;
&:hover {
- color: #fff;
+ color: #c7d4d6;
}
}
}
@@ -98,21 +98,8 @@
p {
strong {
color: #455c74;
- font-size: 14px;
+ font-size: 16px;
font-weight: 600;
- width: 120px;
- display: inline-block;
- }
- .helper_instructiongit {
- font-size: 14px;
- i {
- vertical-align: bottom;
- }
- }
- span {
- width: 180px;
- display: inline-block;
- vertical-align: bottom;
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org