Commit 055e35f3 authored by Open Source Developer's avatar Open Source Developer
Browse files

trans

parent c488a12a
import { Component, OnInit, OnDestroy } from '@angular/core'; import { Component, OnInit, OnDestroy } from '@angular/core';
import { Injectable } from "@angular/core"; import { Injectable } from "@angular/core";
import { AppSettings } from '../../app.settings'; import { AppSettings } from '../../app.settings';
import { Router } from '@angular/router';
@Component({ @Component({
selector: 'breadcrubs', selector: 'breadcrubs',
template: ` <div class="col-sm-12"><p class="crumb">Αρχική σελίδα!!!!!!!!</p></div> 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>
` `
}) })
@Injectable() export default class Breadcrubs implements OnInit { @Injectable() export default class Breadcrubs implements OnInit {
constructor(private _router:Router) {}
ngOnInit() { ngOnInit() {
let currentUrl = this._router.url;
console.log(currentUrl,"lala");
} }
} }
<div class="main-wrapper"> <div class="main-wrapper">
<div class="container" id="content"> <div class="container" id="content">
<div class="row"> <div class="row">
<breadcrubs></breadcrubs> &nbsp;&nbsp;&nbsp;
</div> </div>
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-3 hidden-md-down"> <div class="col-sm-12 col-md-3 hidden-md-down">
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
</div> </div>
<div class="col-sm-12 col-md-9"> <div class="col-sm-12 col-md-9">
<div class="main-content"> <div class="main-content">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-body"> <div class="panel-body">
<router-outlet></router-outlet> <router-outlet></router-outlet>
......
...@@ -20,7 +20,9 @@ import {AppSettings} from '../../app.settings'; ...@@ -20,7 +20,9 @@ import {AppSettings} from '../../app.settings';
@Component({ @Component({
selector: 'epal-class-select', selector: 'epal-class-select',
template: ` template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<h4> Επιλογή Τάξης </h4> <h4> Επιλογή Τάξης </h4>
<form [formGroup]="formGroup"> <form [formGroup]="formGroup">
<p style="margin-top: 20px; line-height: 2em;"> Παρακαλώ επιλέξτε την τάξη εισαγωγής του μαθητή στην Επαγγελματική Εκπαίδευση και στη συνέχεια επιλέξτε <i>Συνέχεια</i>.</p> <p style="margin-top: 20px; line-height: 2em;"> Παρακαλώ επιλέξτε την τάξη εισαγωγής του μαθητή στην Επαγγελματική Εκπαίδευση και στη συνέχεια επιλέξτε <i>Συνέχεια</i>.</p>
......
...@@ -21,6 +21,9 @@ import {AppSettings} from '../../app.settings'; ...@@ -21,6 +21,9 @@ import {AppSettings} from '../../app.settings';
@Component({ @Component({
selector: 'sector-fields-select', selector: 'sector-fields-select',
template: ` template: `
<div class="row">
<breadcrubs></breadcrubs>
</div>
<div class = "loading" *ngIf="(sectorFields$ | async).size === 0"> <div class = "loading" *ngIf="(sectorFields$ | async).size === 0">
</div> </div>
<form [formGroup]="formGroup"> <form [formGroup]="formGroup">
......
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