Commit ccf76590 authored by Open Source Developer's avatar Open Source Developer

Navbarchanges

parent fc1b2fd1
......@@ -12,6 +12,12 @@
<li class="nav-item" [ngClass]="{active: path=='application-preview'}">
<a class="nav-link" [routerLink]="['/application-preview']" [routerLinkActive]="['active']">Προεπισκόπηση</a>
</li>
<li class="nav-item" [ngClass]="{active: path=='pal-class-select'}">
<a class="nav-link" [routerLink]="['/epal-class-select']" [routerLinkActive]="['active']">Τάξη</a>
</li>
<li class="nav-item" [ngClass]="{active: path=='sector-fields-select'}">
<a class="nav-link" [routerLink]="['/sector-fields-select']" [routerLinkActive]="['active']">Τομεας</a>
</li>
......
......@@ -19,49 +19,6 @@ import {
@Component({
selector: 'main',
template: `
<div class="row">
<div class="col-md-3">
<ul class="nav nav-pills nav-stacked">
<li [ngClass]="{active: path=='application-preview'}">
<a [routerLink]="['/application-preview']">Προεπισκόπηση</a>
</li>
<li [ngClass]="{active: path=='epal-class-select'}">
<a [routerLink]="['/epal-class-select']">Επιλογή Τάξης</a>
</li>
<li [ngClass]="{active: path=='sector-fields-select'}">
<a [routerLink]="['/sector-fields-select']">Επιλογή Τομέα</a>
</li>
<li [ngClass]="{active: path=='course-fields-select'}">
<a [routerLink]="['/course-fields-select']">Επιλογή Ειδικότητας</a>
</li>
<li [ngClass]="{active: path=='sectorcourses-fields-select'}">
<a [routerLink]="['/sectorcourses-fields-select']">Επιλογή Ειδικότητας με βάση τον τομέα</a>
</li>
<li [ngClass]="{active: path=='region-schools-select'}">
<a [routerLink]="['/region-schools-select']">Επιλογή Σχολείου</a>
</li>
<li [ngClass]="{active: path=='student-application-form-main'}">
<a [routerLink]="['/student-application-form-main']">Αίτηση μαθητή / Καταχώρηση προσωπικών στοιχείων</a>
</li>
<li [ngClass]="{active: path=='students-list'}">
<a [routerLink]="['/students-list']">Μαθητές</a>
</li>
<li [ngClass]="{active: path=='form3'}">
<a [routerLink]="['/form3']">Αίτηση</a>
</li>
</ul>
</div>
<div class="col-md-9">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">{{path || 'home' | camelcase }}</h3>
</div>
<div class="panel-body">
<router-outlet></router-outlet>
</div>
</div>
</div>
</div>
<reg-header></reg-header>
<reg-navbar></reg-navbar>
<reg-main></reg-main>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment