-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [web-gui] install date-fns * [time-formatter] use date-fns functions * [time-formatter] added some docstrings * [angular.json] increase production budget * [ticket-user-display] fix overflow for long names * [dropdown-menu] style improvements * [menu-bar] style improvements - remove dropdown - fix classroom name pos. for large usernames * [menu-bar] show icon based on user role * [time-formatter] added format * [ticket.component] show tooltip with full time * [time-formatter][format] change hour format * [user-list-entry] change icon color * [create-conference-dialog] style improvements - change checkbox color - fix text spacing * [ticket-list] fix overflow * [classroom] change heigt * [classroom] change drawer position * [side-drawer] change icon position * [user-list] fix overflow * [time-formatter][timeAgo] fix local
- Loading branch information
Showing
33 changed files
with
466 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
web-gui/src/app/dialogs/confirmation-dialog/confirmation-dialog.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="container"> | ||
<div class="dialogTitle" matDialogTitle><p>{{this.data}}</p></div> | ||
<mat-action-row> | ||
<button color="warn" mat-raised-button (click)="close(true)">Ja</button> | ||
<button color="secondary" mat-raised-button (click)="close(false)">Abbrechen</button> | ||
</mat-action-row> | ||
</div> |
15 changes: 15 additions & 0 deletions
15
web-gui/src/app/dialogs/confirmation-dialog/confirmation-dialog.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
button { | ||
margin:3px; | ||
} | ||
|
||
.container { | ||
width: 20rem; | ||
} | ||
|
||
mat-action-row { | ||
align-items: center; | ||
} | ||
|
||
.dialogTitle { | ||
word-break: break-word; | ||
} |
18 changes: 18 additions & 0 deletions
18
web-gui/src/app/dialogs/confirmation-dialog/confirmation-dialog.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {Component, Inject} from '@angular/core'; | ||
import {MAT_DIALOG_DATA, MatDialogRef} from "@angular/material/dialog"; | ||
|
||
@Component({ | ||
selector: 'app-confirmation-dialog', | ||
templateUrl: './confirmation-dialog.component.html', | ||
styleUrls: ['./confirmation-dialog.component.scss'] | ||
}) | ||
export class ConfirmationDialogComponent { | ||
|
||
constructor(@Inject(MAT_DIALOG_DATA) public data: string, | ||
public dialogRef: MatDialogRef<ConfirmationDialogComponent> | ||
) { } | ||
|
||
public close(result: boolean = false) { | ||
this.dialogRef.close(result) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
web-gui/src/app/page-components/classroom/classroom.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<div class="container"> | ||
<div class="classroom-content"> | ||
<app-menu-bar [currentUser]="currentUser" [classroomInfo]="classroomInfo"></app-menu-bar> | ||
</div> | ||
|
||
<div class="classroom-content"> | ||
<app-side-drawer-menu label="Teilnehmer" orientation="left" [component]="userListComponent"></app-side-drawer-menu> | ||
<app-ticket-list [currentUser]="currentUser" [tickets]="tickets" [users]="users" class="classroom-column"></app-ticket-list> | ||
<app-side-drawer-menu label="Konferenzen" orientation="right" [component]="conferenceListComponent"></app-side-drawer-menu> | ||
<div class="classroom-body"> | ||
<app-side-drawer-menu class="drawer" label="Teilnehmer" orientation="left" [component]="userListComponent"></app-side-drawer-menu> | ||
<app-ticket-list [currentUser]="currentUser" [tickets]="tickets" [users]="users" class="classroom-column"></app-ticket-list> | ||
<app-side-drawer-menu class="drawer" label="Konferenzen" orientation="right" [component]="conferenceListComponent"></app-side-drawer-menu> | ||
</div> | ||
</div> |
73 changes: 25 additions & 48 deletions
73
web-gui/src/app/page-components/classroom/classroom.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,33 @@ | ||
.container { | ||
display: block; | ||
padding: 16px; | ||
z-index: 2; | ||
position: relative; | ||
} | ||
.actions { | ||
margin: -15px; | ||
display: flex; | ||
height: 40px; | ||
width: 100%; | ||
padding-left: 10px; | ||
margin-bottom: 10px; | ||
.mat-flat-button { | ||
line-height: 30px; | ||
margin: 0 2.5px; | ||
height: 30px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
.mat-icon { | ||
height: 25px; | ||
} | ||
} | ||
span { | ||
height: 24px; | ||
margin-top: 2px; | ||
} | ||
.mat-icon { | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
.classroom-content { | ||
height: 70%; | ||
flex-grow: 2; | ||
|
||
display: flex; | ||
flex-direction:row; | ||
flex-direction: column; | ||
height: 100%; | ||
overflow: hidden; | ||
|
||
.classroom-column { | ||
width:50%; | ||
flex-grow: 2; | ||
app-menu-bar { | ||
display: block; | ||
padding: 16px; | ||
z-index: 2; | ||
position: relative; | ||
} | ||
} | ||
|
||
.classroom-bottom { | ||
grid-row: 99; | ||
grid-column: 1; | ||
vertical-align: bottom; | ||
display: block; | ||
} | ||
.classroom-body { | ||
display: flex; | ||
flex: 1; | ||
overflow: auto; | ||
flex-basis: max-content; | ||
flex-direction: row; | ||
|
||
.classroom-column { | ||
width: 50%; | ||
flex-grow: 1; | ||
display: block; | ||
} | ||
|
||
.drawer { | ||
margin-top: 20px; | ||
} | ||
} | ||
|
||
.spacer { | ||
flex: 1 1 auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
web-gui/src/app/page-components/classroom/ticket-list/ticket-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.