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
ef733709
Commit
ef733709
authored
7 years ago
by
Thomas Lenz
Browse files
Options
Downloads
Patches
Plain Diff
Add "go back" button
parent
49272ef0
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!62
Resolve "creator home screen - html template (room)" 2nd try
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/creator-room/creator-room.component.html
+3
-0
3 additions, 0 deletions
src/app/creator-room/creator-room.component.html
src/app/creator-room/creator-room.component.ts
+6
-1
6 additions, 1 deletion
src/app/creator-room/creator-room.component.ts
with
9 additions
and
1 deletion
src/app/creator-room/creator-room.component.html
+
3
−
0
View file @
ef733709
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
<mat-list-item>
<mat-list-item>
<button
mat-raised-button
color=
"warn"
>
Delete room
</button>
<button
mat-raised-button
color=
"warn"
>
Delete room
</button>
</mat-list-item>
</mat-list-item>
<mat-list-item>
<button
mat-raised-button
color=
"primary"
(click)=
"goBack()"
>
Go back
</button>
</mat-list-item>
</div>
</div>
</div>
</div>
</div>
</div>
This diff is collapsed.
Click to expand it.
src/app/creator-room/creator-room.component.ts
+
6
−
1
View file @
ef733709
...
@@ -3,6 +3,7 @@ import { RoomService } from '../room.service';
...
@@ -3,6 +3,7 @@ import { RoomService } from '../room.service';
import
{
ActivatedRoute
}
from
'
@angular/router
'
;
import
{
ActivatedRoute
}
from
'
@angular/router
'
;
import
{
RoomComponent
}
from
'
../room/room.component
'
;
import
{
RoomComponent
}
from
'
../room/room.component
'
;
import
{
Room
}
from
'
../room
'
;
import
{
Room
}
from
'
../room
'
;
import
{
Location
}
from
'
@angular/common
'
;
@
Component
({
@
Component
({
selector
:
'
app-creator-room
'
,
selector
:
'
app-creator-room
'
,
...
@@ -12,7 +13,8 @@ import { Room } from '../room';
...
@@ -12,7 +13,8 @@ import { Room } from '../room';
export
class
CreatorRoomComponent
extends
RoomComponent
implements
OnInit
{
export
class
CreatorRoomComponent
extends
RoomComponent
implements
OnInit
{
room
:
Room
;
room
:
Room
;
constructor
(
protected
roomService
:
RoomService
,
constructor
(
protected
roomService
:
RoomService
,
protected
route
:
ActivatedRoute
)
{
protected
route
:
ActivatedRoute
,
private
location
:
Location
)
{
super
(
roomService
,
route
);
super
(
roomService
,
route
);
}
}
...
@@ -21,5 +23,8 @@ export class CreatorRoomComponent extends RoomComponent implements OnInit {
...
@@ -21,5 +23,8 @@ export class CreatorRoomComponent extends RoomComponent implements OnInit {
this
.
getRoom
(
params
[
'
roomId
'
]);
this
.
getRoom
(
params
[
'
roomId
'
]);
});
});
}
}
goBack
():
void
{
this
.
location
.
back
();
}
}
}
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