Project

General

Profile

« Previous | Next » 

Revision 58065

Initial commit for the new layout provided by the UX team

View differences:

app.component.ts
7 7
@Component({
8 8
  selector: 'oa-repo-manager',
9 9
  templateUrl: './app.component.html',
10
  styleUrls: ['./app.component.css']
10
  styleUrls: ['./app.component.css'],
11 11
})
12 12
export class AppComponent implements OnInit {
13

  
14
  open: boolean = true;
15

  
13 16
  constructor(private router: Router,
14 17
              private authService: AuthenticationService,
15 18
              private matomoInjector: MatomoInjector,
......
64 67
    return (this.router.url === '/') || (this.router.url === '/landing');
65 68
  }
66 69

  
70
  public toggleOpen(event: MouseEvent) {
71
    event.preventDefault();
72
    this.open = !this.open;
73
  }
74

  
67 75
  // ngAfterContentInit() {
68 76
  //
69 77
  //   // this.loadScript('assets/js/common.js');

Also available in: Unified diff