Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Σταύρος Παπαδάκης
e-epal
Commits
012a99b5
Commit
012a99b5
authored
Mar 29, 2017
by
Open Source Developer
Browse files
tran
parent
447a87c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
source/components/director/director-view.ts
View file @
012a99b5
...
...
@@ -4,18 +4,25 @@ import { AppSettings } from '../../app.settings';
import
{
HelperDataService
}
from
'
../../services/helper-data-service
'
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
'
@angular/http
'
;
import
{
Removetags
}
from
'
../../pipes/removehtmltags
'
;
import
{
NgRedux
,
select
}
from
'
ng2-redux
'
;
import
{
IAppState
}
from
'
../../store/store
'
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
'
@angular/router
'
;
import
{
BehaviorSubject
,
Subscription
}
from
'
rxjs/Rx
'
;
@
Component
({
selector
:
'
director-view
'
,
template
:
`
a;wsdlk;QK;QKWd;qwk;
<label for="name">Παρακαλώ επιλέξτε τάξη </label><br/>
<select>
<option value=1>Α' Λυκείου</option>
<option value=2>Β' Λυκείου</option>
<option value=3>Γ' Λυκείου</option>
</select>
`
})
...
...
@@ -24,7 +31,7 @@ import { BehaviorSubject, Subscription } from 'rxjs/Rx';
private
StudentSelected$
:
BehaviorSubject
<
any
>
;
private
StudentSelectedSub
:
Subscription
;
constructor
(
private
_hds
:
HelperDataService
,
private
activatedRoute
:
ActivatedRoute
,
private
router
:
Router
)
...
...
@@ -38,14 +45,14 @@ import { BehaviorSubject, Subscription } from 'rxjs/Rx';
this
.
StudentSelectedSub
.
unsubscribe
();
}
ngOnInit
()
{
}
}
\ No newline at end of file
source/components/navbar/navbar.component.html
View file @
012a99b5
...
...
@@ -21,17 +21,21 @@
<i
class=
"fa fa-sign-out"
></i>
</button>
</div>
<div
class=
"pull-right"
class=
"nav-item"
[ngClass]=
"{active: path=='submited-preview'}"
>
<a
class=
"nav-link"
[routerLink]=
"['/submited-preview']"
[routerLinkActive]=
"['active']"
><b>
Υποβληθείσες αιτήσεις
</b></a>
</div>
<div
class=
"pull-right"
class=
"nav-item"
[ngClass]=
"{active: path=='director-view'}"
>
<a
class=
"nav-link"
[routerLink]=
"['/director-view']"
[routerLinkActive]=
"['active']"
><b>
Επιλεχθέντες Μαθητές
</b></a>
</div>
</div>
</ul>
</div>
<div
class=
"pull-right"
class=
"nav-item"
[ngClass]=
"{active: path=='submited-preview'}"
>
<a
class=
"nav-link"
[routerLink]=
"['/submited-preview']"
[routerLinkActive]=
"['active']"
><b>
Υποβληθείσες αιτήσεις
</b></a>
</div>
</nav>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment