Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F119917743
admin.component.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jun 30, 12:47
Size
619 B
Mime Type
text/x-java
Expires
Wed, Jul 2, 12:47 (2 d)
Engine
blob
Format
Raw Data
Handle
27088838
Attached To
R8244 Eawag_Swing_Weight_Elicitation
admin.component.ts
View Options
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { AuthenticationService } from './../authentication.service';
@Component({
selector: 'app-admin',
templateUrl: './admin.component.html',
styleUrls: ['./admin.component.css']
})
export class AdminComponent implements OnInit {
constructor(private router: Router, public auth: AuthenticationService) { }
results(){
this.router.navigateByUrl('/results');
}
surveylist(){
this.router.navigateByUrl('/surveylist');
}
newsurvey(){
this.router.navigateByUrl('/newsurvey');
}
ngOnInit() {
}
}
Event Timeline
Log In to Comment