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
Commits
94b0fa9e
There was a problem fetching the latest pipeline status.
Verified
Commit
94b0fa9e
authored
7 years ago
by
Lukas Maximilian Kimpel
Browse files
Options
Downloads
Patches
Plain Diff
Adjust room list to use Material Accordion/Expansion Panel
parent
9f7d72d9
1 merge request
!60
Resolve "creator home screen - html template (list)"
Pipeline
#13095
passed with stage
in 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/creator-home-screen/creator-home-screen.component.scss
+4
-0
4 additions, 0 deletions
...pp/creator-home-screen/creator-home-screen.component.scss
src/app/room-list/room-list.component.html
+18
-8
18 additions, 8 deletions
src/app/room-list/room-list.component.html
with
22 additions
and
8 deletions
src/app/creator-home-screen/creator-home-screen.component.scss
+
4
−
0
View file @
94b0fa9e
app-room-list
{
width
:
100%
;
max-width
:
800px
;
}
This diff is collapsed.
Click to expand it.
src/app/room-list/room-list.component.html
+
18
−
8
View file @
94b0fa9e
<mat-list>
<mat-accordion>
<mat-list-item
*ngFor=
"let room of rooms"
>
<mat-expansion-panel
*ngFor=
"let room of rooms"
>
<button
mat-button
routerLink=
"room/{{room.id}}"
>
<mat-expansion-panel-header>
{{room.name}}
<mat-panel-title>
</button>
{{ room.shortId }}
</mat-list-item>
</mat-panel-title>
</mat-list>
<mat-panel-description>
{{ room.name }}
</mat-panel-description>
</mat-expansion-panel-header>
<p>
{{ room.description }}
</p>
<mat-action-row>
<button
mat-button
routerLink=
"/room/{{ room.id }}"
>
Join room
</button>
</mat-action-row>
</mat-expansion-panel>
</mat-accordion>
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment