Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
dc6b8aa5
Commit
dc6b8aa5
authored
Sep 21, 2017
by
i317280
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c07156f3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
nav.component.ts
src/app/nav.component.ts
+2
-1
nav.html
src/app/nav.html
+1
-1
No files found.
src/app/nav.component.ts
View file @
dc6b8aa5
...
...
@@ -13,7 +13,7 @@ import {Logger} from 'angular2-logger/core';
// declare var layer: any;
import
{
AppService
,
DataStore
}
from
'./app.service'
;
import
{
AppService
,
DataStore
,
User
}
from
'./app.service'
;
//noinspection TypeScriptValidateTypes
...
...
@@ -26,6 +26,7 @@ import {AppService, DataStore} from './app.service';
export
class
NavComponent
{
DataStore
=
DataStore
;
User
=
User
;
constructor
(
private
_appService
:
AppService
,
private
_logger
:
Logger
)
{
...
...
src/app/nav.html
View file @
dc6b8aa5
<nav
class=
"navbar navbar-toggleable-md fixed-top navbar-inverse bg-inverse"
*
ngIf=
"
DataStore
.logined"
>
<nav
class=
"navbar navbar-toggleable-md fixed-top navbar-inverse bg-inverse"
*
ngIf=
"
User
.logined"
>
<button
class=
"navbar-toggler navbar-toggler-right"
type=
"button"
data-toggle=
"collapse"
data-target=
"#navbarsExampleDefault"
aria-controls=
"navbarsExampleDefault"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
</button>
...
...
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