Skip to content

Commit f9d4e4f

Browse files
committed
UI: General layout
1 parent 45d7e5a commit f9d4e4f

File tree

10 files changed

+22
-11
lines changed

10 files changed

+22
-11
lines changed

src/app/component/teams-groups-editor/teams-groups-editor.component.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<!-- Main layout for teams/groups editor -->
2-
<div class="editor-header">
3-
<h2>Teams &amp; Groups</h2>
4-
</div>
52
<div class="editor-container">
63
<div class="editor-list-panel">
74
<app-selectable-list
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.mat-display-1 {
2-
padding: 20px 30px;
2+
padding: 20px;
3+
margin: 0;
34
}

src/app/pages/mapping/mapping.component.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
display: flex;
77
align-items: center;
88
gap: 16px;
9-
margin: 24px 20px 0 20px;
9+
margin: 0 20px;
1010
flex-wrap: wrap;
1111
}
1212

@@ -37,6 +37,10 @@
3737
font-weight: 500;
3838
}
3939

40+
.content ::ng-deep .mat-form-field-wrapper {
41+
padding-bottom: 0;
42+
}
43+
4044
.hide{
4145
display: none;
4246
}

src/app/pages/mapping/mapping.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<mat-icon>close</mat-icon>
2626
</button>
2727
</mat-form-field>
28-
<button mat-raised-button color="primary" class="export-btn" (click)="exportToExcel()">
28+
<button mat-raised-button class="export-btn" (click)="exportToExcel()">
2929
<mat-icon>file_download</mat-icon>
3030
Download
3131
</button>

src/app/pages/matrix/matrix.component.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.content {
22
width: 100%;
3-
/*background-color: gainsboro;*/
43
}
4+
55
.mat-form-field {
66
margin: 20px;
77
margin-bottom: 0;

src/app/pages/settings/settings.component.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
.settings-container {
3333
margin-top: 1em;
34-
/* Ensure consistent left/right padding so elements align with other pages */
3534
padding: 0 1rem;
3635
}
3736

@@ -117,7 +116,6 @@ input.progress-score {
117116
}
118117

119118
.selectable-list {
120-
/* remove extra inner padding so content lines up with the page padding */
121119
padding: 0;
122120
}
123121

src/app/pages/settings/settings.component.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ export class SettingsComponent implements OnInit {
6161
];
6262
selectedDateFormat: string = this.BROWSER_LOCALE;
6363

64+
// GitHub release check state
65+
checkingLatest: boolean = false;
66+
latestReleaseInfo: GithubReleaseInfo | null = null;
67+
latestCheckError: string | null = null;
68+
isNewerAvailable: boolean | null = null;
69+
latestDownloadUrl: string | null = null;
70+
latestReleasePublishedDate: Date | null = null;
71+
6472
constructor(
6573
private loader: LoaderService,
6674
private settings: SettingsService,

src/app/pages/teams/teams.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<app-top-header section="Teams &amp; Groups"></app-top-header>
12
<div class="team-section">
23
<app-teams-groups-editor
34
[teams]="teams"

src/app/service/yaml-loader/yaml-loader.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import { K, Y } from '@angular/cdk/keycodes';
21
import { Injectable } from '@angular/core';
32
import {
43
parse as parseSingle,
54
parseAllDocuments as parseMultiple,
65
stringify as yamlStringify,
76
} from 'yaml';
8-
// import YAML from 'yaml';
97
import { perfNow } from 'src/app/util/util';
108

119
@Injectable({ providedIn: 'root' })

src/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
html, body { height: 100%; }
1010
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
1111

12+
h1, h2, h3 {
13+
font-weight: 400;
14+
}
15+
1216
.mat-typography h1.mat-display-1 {
1317
margin: 0;
1418
}

0 commit comments

Comments
 (0)