Skip to content

Commit 0741c58

Browse files
xingzhang-suselsongsuse
authored andcommitted
#1146 [UI] Strange arrangement of Expot and Impot for Federated Admission Control Policy and in Export dialog
1 parent e72f331 commit 0741c58

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

admin/webapp/websrc/app/routes/components/admission-rules/admission-rules.component.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,16 @@ <h1 class="font-weight-light mb-0" id="admissionControlTitle">
5555
{{ 'admissionControl.EXPORT' | translate }}
5656
</button>
5757
</div>
58-
<button
59-
*appDisplayControl="'write_admission'"
60-
mat-menu-item
61-
class="d-flex align-items-center"
62-
(click)="openImportPopup()">
63-
<em class="eos-icons">upload</em>
64-
{{ 'admissionControl.IMPORT' | translate }}
65-
</button>
58+
<div class="menu-width-medium">
59+
<button
60+
*appDisplayControl="'write_admission'"
61+
mat-menu-item
62+
class="d-flex align-items-center"
63+
(click)="openImportPopup()">
64+
<em class="eos-icons">upload</em>
65+
{{ 'admissionControl.IMPORT' | translate }}
66+
</button>
67+
</div>
6668
</mat-menu>
6769
</div>
6870
</div>
@@ -106,7 +108,8 @@ <h1 class="font-weight-light mb-0" id="admissionControlTitle">
106108
<div class="d-flex justify-content-end align-items-center">
107109
<div
108110
*ngIf="source === navSource['FED_POLICY']"
109-
class="d-flex justify-content-end align-items-center me-2">
111+
class="d-flex justify-content-end align-items-center me-2"
112+
style="width: 220px">
110113
<button
111114
mat-menu-item
112115
class="d-flex align-items-center"

admin/webapp/websrc/app/routes/components/export-options/export-options.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
[disabled]="!remoteRepoEnabled">
6767
{{ 'setting.remote_repository.options.destination_remote' | translate }}
6868
</mat-radio-button>
69-
<div class="mt-2 mt-0 ms-2">
69+
<div class="mt-0 ms-2">
7070
<span class="text-muted small">{{
7171
'setting.remote_repository.options.mode_description' | translate
7272
}}</span>

0 commit comments

Comments
 (0)