Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 19b9f918 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

[EDELIVERY-13978] update access token panel

parent 70979e12
No related branches found
No related tags found
No related merge requests found
Pipeline #208897 failed
<mat-expansion-panel [expanded]="_expanded">
<mat-expansion-panel-header style="height: 95px">
<mat-expansion-panel-header style="height: 115px">
<div
style="display: flex; flex-direction: column;width: 100%;margin-right: 10px;">
<smp-warning-panel *ngIf="!!_credential?.expired;"
class="smp-certificate-warning-panel"
[padding]="false"
icon="error"
label="{{ 'access.token.panel.label.token.expired' | translate }}">
</smp-warning-panel>
style="flex-direction: column;width: 100%;margin-right: 10px;margin-top: 5px">
<div
style="display: flex; flex-direction: row; justify-content: space-between; gap: 3px; padding-left: 5px;">
......@@ -28,7 +22,7 @@
<ng-template #elseNoDate><span>&nbsp;/&nbsp;</span></ng-template>
</mat-hint>
</mat-form-field>
<div style="display: inline;display: flex;flex-direction: column">
<div class="access-token-control-panel">
<button id="deleteButton" mat-raised-button
(click)="onDeleteButtonClicked($event)"
color="primary">
......@@ -44,6 +38,12 @@
</button>
</div>
</div>
<smp-warning-panel *ngIf="!!_credential?.expired;"
[padding]="false"
style="padding-bottom: 5px"
icon="error"
label="{{ 'access.token.panel.label.token.expired' | translate }}">
</smp-warning-panel>
</div>
</mat-expansion-panel-header>
<div class="smp-data-panel" [formGroup]="credentialForm">
......
.access-token-panel {
border-bottom: 1px solid #e0e0e0;
}
.access-token-control-panel {
display: flex;
flex-direction: column;
gap: 3px
}
<mat-expansion-panel [expanded]="_expanded" [formGroup]="credentialForm">
<mat-expansion-panel-header style="height: 95px">
<mat-expansion-panel-header style="height: 105px">
<div
style="display: flex; flex-direction: column;width: 100%; padding-right: 10px">
<smp-warning-panel *ngIf="_credential.certificate?.invalid;"
class="smp-certificate-warning-panel"
[padding]="false"
icon="error"
label="{{ 'user.certificate.panel.label.invalid.certificate' | translate: { reason: _credential.certificate.invalidReason} }}">
</smp-warning-panel>
style="display: flex; flex-direction: column;width: 100%; padding-right: 10px;margin-top: 5px">
<div
style="display: flex;flex-flow: row; align-items: center; width: 100%">
......@@ -27,7 +22,7 @@
</mat-form-field>
<div
style="display: flex; flex-direction: column; justify-content: space-between; padding-left: 5px;">
class="user-certificate-control-panel">
<button id="deleteButton" mat-raised-button
(click)="onDeleteButtonClicked($event)"
color="primary">
......@@ -43,6 +38,12 @@
</button>
</div>
</div>
<smp-warning-panel *ngIf="_credential.certificate?.invalid;"
class="smp-certificate-warning-panel"
[padding]="false"
icon="error"
label="{{ 'user.certificate.panel.label.invalid.certificate' | translate: { reason: _credential.certificate.invalidReason} }}">
</smp-warning-panel>
</div>
</mat-expansion-panel-header>
<div class="panel smp-data-panel">
......
.smp-certificate-warning-panel {
font-size: 0.8em;
padding-bottom: 5px;
}
.user-certificate-control-panel {
display: flex;
flex-direction: column;
gap: 3px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment