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
49145074
Unverified
Commit
49145074
authored
Jan 02, 2018
by
liuzheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: publish
parent
0d8dbf5f
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
12 deletions
+27
-12
cleftbar.component.css
src/app/ControlPage/cleftbar/cleftbar.component.css
+9
-0
cleftbar.component.html
src/app/ControlPage/cleftbar/cleftbar.component.html
+3
-1
cleftbar.component.ts
src/app/ControlPage/cleftbar/cleftbar.component.ts
+3
-3
app.component.html
src/app/app.component.html
+1
-1
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
json.component.ts
src/app/replay-page/json/json.component.ts
+1
-0
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 @
49145074
...
...
@@ -62,3 +62,12 @@ label {
background
:
#2f2a2a
;
color
:
#ffffff
;
}
.footer
{
background
:
#2f2a2a
;
font-size
:
9pt
;
border-top-width
:
1px
;
left
:
0
;
padding
:
1px
20px
30px
20px
;
position
:
absolute
;
}
src/app/ControlPage/cleftbar/cleftbar.component.html
View file @
49145074
...
...
@@ -17,4 +17,6 @@
</li>
</ul>
</div>
<div
class=
"footer"
>
Version:
<strong>
{{version}}
</strong>
</div>
src/app/ControlPage/cleftbar/cleftbar.component.ts
View file @
49145074
...
...
@@ -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,6 +41,7 @@ export class Host {
export
class
CleftbarComponent
implements
OnInit
{
DataStore
=
DataStore
;
HostGroups
:
Array
<
HostGroup
>
;
version
=
version
;
q
:
string
;
static
Reload
()
{
...
...
src/app/app.component.html
View file @
49145074
<app-element-nav
*
ngIf=
"DataStore.NavShow"
></app-element-nav>
<nav
*
ngIf=
"DataStore.NavShow"
></nav>
<router-outlet></router-outlet>
<
app-element-interactive></app-element-interactive
>
<
!--<app-element-interactive></app-element-interactive>--
>
src/app/elements/footer/footer.component.html
View file @
49145074
<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 @
49145074
...
...
@@ -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 @
49145074
...
...
@@ -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/app/replay-page/json/json.component.ts
View file @
49145074
...
...
@@ -24,6 +24,7 @@ export class JsonComponent implements OnInit {
}
ngOnInit
()
{
this
.
restart
();
}
...
...
src/environments/environment.prod.ts
View file @
49145074
export
const
environment
=
{
production
:
true
};
export
const
version
=
'v0.5'
;
src/environments/environment.ts
View file @
49145074
...
...
@@ -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