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

commit

parent 055e35f3
......@@ -6,18 +6,26 @@ import { Router } from '@angular/router';
@Component({
selector: 'breadcrubs',
template: ` <div class="col-sm-12"><p class="crumb" [hidden]="currentUrl != '/epal-class-select'">Αρχική σελίδα!!!!!!!!</p></div>
<div class="col-sm-12"><p class="crumb" [hidden]="currentUrl != '/sector-fields-select'">Αρχική σελίδα</p></div>
template: ` <div [hidden]="currentUrl !== '/epal-class-select'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Επιλογή Τάξης </p></div>
<div [hidden]="currentUrl !== '/sector-fields-select'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Επιλογή Τoμέα</p></div>
<div [hidden]="currentUrl !== '/region-schools-select'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Επιλογή Σχολείου ανα Περιφερειακή Διεύθυνση</p></div>
<div [hidden]="currentUrl !== '/sectorcourses-fields-select'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Επιλογή Ειδικότητας ανα τoμέα</p></div>
<div [hidden]="currentUrl !== '/schools-order-select'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Σειρά Προτίμησης Επιλεχθέντων Σχολείων</p></div>
<div [hidden]="currentUrl !== '/student-application-form-main'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Προσωπικά Στοιχεία</p></div>
<div [hidden]="currentUrl !== '/application-submit'" class="col-sm-12"><p class="crumb" >Νέα Αίτηση -> Προεπισκόπη αίτησης</p></div>
<div [hidden]="currentUrl !== '/submited-preview'" class="col-sm-12"><p class="crumb" > Υποβληθείσες αιτήσεις</p></div>
`
})
@Injectable() export default class Breadcrubs implements OnInit {
public currentUrl: string;
constructor(private _router:Router) {}
ngOnInit() {
let currentUrl = this._router.url;
console.log(currentUrl,"lala");
this.currentUrl = this._router.url;
}
}
<div class="row">
<breadcrubs></breadcrubs>
</div>
<div class = "loading" *ngIf="(criteria$ | async).size === 0"></div>
<form novalidate [formGroup]="studentDataGroup" #form>
......
......@@ -25,6 +25,9 @@ import {AppSettings} from '../../app.settings';
@Component({
selector: 'application-submit',
template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<div class = "loading" *ngIf="(studentDataFields$ | async).size === 0 || (criteria$ | async).size === 0 || (regions$ | async).size === 0 || (epalclasses$ | async).size === 0 || (loginInfo$ | async).size === 0"></div>
<application-preview-select></application-preview-select>
<button type="button button-lg pull-right" *ngIf="(studentDataFields$ | async).size > 0 && (criteria$ | async).size > 0 && (regions$ | async).size > 0 && (epalclasses$ | async).size > 0 && (loginInfo$ | async).size > 0" class="btn-primary btn-lg pull-center" (click)="submitNow()">Υποβολή</button>
......
......@@ -18,6 +18,9 @@ import {AppSettings} from '../../app.settings';
@Component({
selector: 'course-fields-select',
template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<form [formGroup]="formGroup">
<div formArrayName="formArray">
<div *ngFor="let courseField$ of courseFields$ | async; let i=index">
......
......@@ -28,6 +28,10 @@ import {AppSettings} from '../../app.settings';
@Component({
selector: 'region-schools-select',
template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<div class = "loading" *ngIf="(regions$ | async).size === 0">
</div>
<!-- <div class="row equal">
......
......@@ -12,6 +12,9 @@ import {AppSettings} from '../../app.settings';
@Component({
selector: 'schools-order-select',
template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<div class = "loading" *ngIf="(selectedSchools$ | async).length === 0 || (regions$ | async).size === 0">
</div>
<p style="margin-top: 20px; line-height: 2em;" *ngIf = "(selectedSchools$ | async).length === 1" >Έχετε επιλέξει το παρακάτω σχολείο. Εάν συμφωνείτε με την επιλογή σας
......
......@@ -22,6 +22,9 @@ import {AppSettings} from '../../app.settings';
@Component({
selector: 'sectorcourses-fields-select',
template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<div class = "loading" *ngIf="(sectors$ | async).size === 0">
</div>
<form [formGroup]="formGroup">
......
......@@ -17,6 +17,9 @@ import { BehaviorSubject, Subscription } from 'rxjs/Rx';
@Component({
selector: 'submited-preview',
template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
Έχει υποβληθεί αίτηση για εγγραφή στην Επαγγελματική Εκπαίδευση των παρακάτω ατόμων:
<table class = "submited">
<tr>
......
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