Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Merge requests
!405
Prepare 1.3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Prepare 1.3
prepare-1.3
into
master
Overview
0
Commits
4
Pipelines
2
Changes
6
Merged
Tom Käsler
requested to merge
prepare-1.3
into
master
5 years ago
Overview
0
Commits
4
Pipelines
2
Changes
2
Expand
0
0
Merge request reports
Viewing commit
3295af23
Prev
Next
Show latest version
2 files
+
62
−
63
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
3295af23
Fix layout in creator-room-view
· 3295af23
Lukas Mauß
authored
5 years ago
src/app/components/creator/room-creator-page/room-creator-page.component.html
+
53
−
44
Options
@@ -36,57 +36,66 @@
{{ 'room-page.moderators' | translate}}
</button>
</mat-menu>
<button
mat-icon-button
class=
"corner-icons"
[matMenuTriggerFor]=
"settingsMenu"
>
<mat-icon
class=
"corner-icon"
matTooltip=
"{{ 'room-page.session-settings' | translate}}"
>
settings
</mat-icon>
</button>
<div
fxLayout=
"column"
>
<button
mat-icon-button
class=
"corner-icons"
[matMenuTriggerFor]=
"settingsMenu"
>
<mat-icon
class=
"corner-icon"
matTooltip=
"{{ 'room-page.session-settings' | translate}}"
>
settings
</mat-icon>
</button>
<button
mat-icon-button
class=
"corner-icons"
routerLink=
"/creator/room/{{ room.shortId }}/statistics"
>
<mat-icon
class=
"corner-icon"
matTooltip=
"{{ 'room-page.answer-statistics' | translate}}"
>
insert_chart
</mat-icon>
</button>
</div>
</div>
<mat-card-content
*ngIf=
"room.description"
fxLayoutAlign=
"center"
>
<h4>
{{ room.description.trim() }}
</h4>
</mat-card-content>
<mat-grid-list
cols=
"{{viewModuleCount}}"
rowHeight=
"1:1"
>
<mat-grid-tile>
<button
mat-icon-button
routerLink=
"/creator/room/{{ room.shortId }}/comments"
>
<mat-icon
matBadge=
"{{commentCounter}}"
class=
"main-icon"
[ngClass]=
"{'desktop' : deviceType === 'desktop'}"
>
question_answer
</mat-icon>
<h3>
{{ 'room-page.comments' | translate}}
</h3>
<!-- *ngIf="deviceType === 'desktop'" -->
</button>
</mat-grid-tile>
<mat-grid-tile
*ngIf=
"moderationEnabled"
>
<button
mat-icon-button
routerLink=
"/moderator/room/{{ room.shortId }}/moderator/comments"
>
<mat-icon
matBadge=
"{{moderatorCommentCounter}}"
class=
"main-icon"
[ngClass]=
"{'desktop' : deviceType === 'desktop'}"
>
gavel
</mat-icon>
<h3>
{{ 'room-page.moderating-stream' | translate}}
</h3>
<!-- *ngIf="deviceType === 'desktop'" -->
</button>
</mat-grid-tile>
<!-- <mat-grid-tile>
<button mat-icon-button routerLink="/creator/room/{{ room.shortId }}/feedback-barometer">
<mat-icon class="smallerIcon" [ngClass]="{'desktop' : deviceType === 'desktop'}">thumbs_up_down
</mat-icon>
<h3 *ngIf="deviceType === 'desktop'">{{ 'room-page.live-feedback' | translate}}</h3>
</button>
</mat-grid-tile> -->
</mat-grid-list>
<!-- <mat-grid-list cols="2" rowHeight="2:1" class="second">
<mat-grid-tile>
<button mat-icon-button
routerLink="/creator/room/{{ room.shortId }}/create-content">
<mat-icon class="main-icon" [ngClass]="{'desktop' : deviceType === 'desktop'}">note_add</mat-icon>
<h3 *ngIf="deviceType === 'desktop'">{{ 'room-page.create-content' | translate}}</h3>
</button>
</mat-grid-tile>
<mat-grid-tile>
<button mat-icon-button routerLink="/creator/room/{{ room.shortId }}/statistics">
<mat-icon class="main-icon" [ngClass]="{'desktop' : deviceType === 'desktop'}">insert_chart</mat-icon>
<h3 *ngIf="deviceType === 'desktop'">{{ 'room-page.answer-statistics' | translate}}</h3>
</button>
</mat-grid-tile>
</mat-grid-list>
<div
fxLayout=
"column"
fxLayoutAlign=
"center"
>
<div
fxLayout=
"row"
>
<span
class=
"fill-remaining-space"
></span>
<mat-grid-list
cols=
"{{viewModuleCount}}"
rowHeight=
"2:1"
>
<mat-grid-tile>
<button
mat-icon-button
routerLink=
"/creator/room/{{ room.shortId }}/comments"
>
<mat-icon
matBadge=
"{{commentCounter}}"
class=
"main-icon"
[ngClass]=
"{'desktop' : deviceType === 'desktop'}"
>
question_answer
</mat-icon>
<h3
*ngIf=
"deviceType === 'desktop'"
>
{{ 'room-page.comments' | translate}}
</h3>
</button>
</mat-grid-tile>
<mat-grid-tile
*ngIf=
"moderationEnabled"
>
<button
mat-icon-button
routerLink=
"/moderator/room/{{ room.shortId }}/moderator/comments"
>
<mat-icon
matBadge=
"{{moderatorCommentCounter}}"
class=
"main-icon"
[ngClass]=
"{'desktop' : deviceType === 'desktop'}"
>
gavel
</mat-icon>
<h3
*ngIf=
"deviceType === 'desktop'"
>
{{ 'room-page.moderating-stream' | translate}}
</h3>
</button>
</mat-grid-tile>
</mat-grid-list>
<span
class=
"fill-remaining-space"
></span>
</div>
<div
fxLayout=
"row"
>
<span
class=
"fill-remaining-space"
></span>
<mat-grid-list
cols=
"2"
rowHeight=
"2:1"
class=
"second"
>
<mat-grid-tile>
<button
mat-icon-button
routerLink=
"/creator/room/{{ room.shortId }}/feedback-barometer"
>
<mat-icon
class=
"main-icon"
[ngClass]=
"{'desktop' : deviceType === 'desktop'}"
>
thumbs_up_down
</mat-icon>
<h3
*ngIf=
"deviceType === 'desktop'"
>
{{ 'room-page.live-feedback' | translate}}
</h3>
</button>
</mat-grid-tile>
<mat-grid-tile>
<button
mat-icon-button
routerLink=
"/creator/room/{{ room.shortId }}/create-content"
>
<mat-icon
class=
"main-icon"
[ngClass]=
"{'desktop' : deviceType === 'desktop'}"
>
note_add
</mat-icon>
<h3
*ngIf=
"deviceType === 'desktop'"
>
{{ 'room-page.create-content' | translate}}
</h3>
</button>
</mat-grid-tile>
</mat-grid-list>
<span
class=
"fill-remaining-space"
></span>
</div>
</div>
<app-content-groups *ngIf="room && room.contentGroups" [contentGroups]="room.contentGroups"></app-content-groups>
-->
<app-content-groups
*ngIf=
"room && room.contentGroups"
[contentGroups]=
"room.contentGroups"
></app-content-groups>
</mat-card>
<div
*ngIf=
"!isLoading && !room"
>
{{ 'room-page.room-not-found' | translate }}
</div>