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
0cc27548
Unverified
Commit
0cc27548
authored
Jan 02, 2018
by
liuzheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: footer under cleftbar
parent
05161014
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
12 deletions
+20
-12
cleftbar.component.css
src/app/ControlPage/cleftbar/cleftbar.component.css
+4
-0
cleftbar.component.html
src/app/ControlPage/cleftbar/cleftbar.component.html
+3
-1
cleftbar.component.ts
src/app/ControlPage/cleftbar/cleftbar.component.ts
+3
-4
footer.component.html
src/app/elements/footer/footer.component.html
+6
-6
footer.component.ts
src/app/elements/footer/footer.component.ts
+2
-0
globals.ts
src/app/globals.ts
+0
-1
environment.prod.ts
src/environments/environment.prod.ts
+1
-0
environment.ts
src/environments/environment.ts
+1
-0
No files found.
src/app/ControlPage/cleftbar/cleftbar.component.css
View file @
0cc27548
...
...
@@ -62,3 +62,7 @@ label {
background
:
#2f2a2a
;
color
:
#ffffff
;
}
.footer
{
background
:
#2f2a2a
;
}
src/app/ControlPage/cleftbar/cleftbar.component.html
View file @
0cc27548
...
...
@@ -17,4 +17,6 @@
</li>
</ul>
</div>
<div
class=
"footer"
>
Version
<strong>
{{version}}
</strong>
GPL.
</div>
src/app/ControlPage/cleftbar/cleftbar.component.ts
View file @
0cc27548
...
...
@@ -15,10 +15,9 @@ import {SshComponent} from '../control/ssh/ssh.component';
import
{
RdpComponent
}
from
'../control/rdp/rdp.component'
;
import
{
SearchComponent
}
from
'../search/search.component'
;
import
{
DataStore
}
from
'../../globals'
;
import
{
version
}
from
'../../../environments/environment'
;
import
*
as
jQuery
from
'jquery/dist/jquery.min.js'
;
// import * as layer from 'layui-layer/src/layer.js';
declare
let
layer
:
any
;
import
*
as
layer
from
'layui-layer/src/layer.js'
;
export
class
HostGroup
{
...
...
@@ -42,7 +41,7 @@ export class Host {
export
class
CleftbarComponent
implements
OnInit
{
DataStore
=
DataStore
;
HostGroups
:
Array
<
HostGroup
>
;
q
:
string
;
version
=
version
;
static
Reload
()
{
}
...
...
src/app/elements/footer/footer.component.html
View file @
0cc27548
<div
class=
"footer fixed"
>
<div
class=
"pull-right"
>
Version
<strong>
0.4
</strong>
GPL.
</div>
<div>
<strong>
Copyright
</strong>
Jumpserver.org Team
©
2014-2018
</div>
<div
class=
"pull-right"
>
Version
<strong>
{{version}}
</strong>
GPL.
</div>
<div>
<strong>
Copyright
</strong>
Jumpserver.org Team
©
2014-2018
</div>
</div>
src/app/elements/footer/footer.component.ts
View file @
0cc27548
...
...
@@ -9,6 +9,7 @@ import {Component, OnInit} from '@angular/core';
import
{
AppService
}
from
'../../app.service'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
DataStore
,
User
}
from
'../../globals'
;
import
{
version
}
from
'../../../environments/environment'
;
@
Component
({
selector
:
'app-element-footer'
,
...
...
@@ -18,6 +19,7 @@ import {DataStore, User} from '../../globals';
export
class
ElementFooterComponent
implements
OnInit
{
DataStore
=
DataStore
;
User
=
User
;
version
=
version
;
constructor
(
private
_appService
:
AppService
,
private
_logger
:
Logger
)
{
...
...
src/app/globals.ts
View file @
0cc27548
...
...
@@ -16,7 +16,6 @@ export let term: {
row
:
24
,
};
export
const
sep
=
'/'
;
export
const
version
=
'22.22.2'
;
export
let
Video
:
{
id
:
string
,
src
:
string
,
...
...
src/environments/environment.prod.ts
View file @
0cc27548
export
const
environment
=
{
production
:
true
};
export
const
version
=
'Luna-CE-0.5'
;
src/environments/environment.ts
View file @
0cc27548
...
...
@@ -6,3 +6,4 @@
export
const
environment
=
{
production
:
false
};
export
const
version
=
'Luna-dev'
;
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