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
1db2e36f
Commit
1db2e36f
authored
Dec 01, 2017
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: build luna
parent
4d3a2172
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
7 deletions
+6
-7
package.json
package.json
+1
-1
rdp.component.html
src/app/ControlPage/control/rdp/rdp.component.html
+1
-1
ssh.component.html
src/app/ControlPage/control/ssh/ssh.component.html
+1
-1
search.component.ts
src/app/ControlPage/search/search.component.ts
+1
-1
app-routing.module.ts
src/app/app-routing.module.ts
+1
-2
index.html
src/index.html
+1
-1
No files found.
package.json
View file @
1db2e36f
...
...
@@ -5,7 +5,7 @@
"scripts"
:
{
"ng"
:
"ng"
,
"start"
:
"ng serve --proxy-config proxy.conf.json"
,
"build"
:
"ng build"
,
"build"
:
"ng build
-prod --deploy '/luna/'
"
,
"test"
:
"ng test"
,
"lint"
:
"ng lint"
,
"e2e"
:
"ng e2e"
...
...
src/app/ControlPage/control/rdp/rdp.component.html
View file @
1db2e36f
<div
id=
"rdp"
>
<div
*
ngFor=
"let m of NavList.List;let i=index"
[
ngClass
]="{'
disconnected
'
:
!
m
.
connected
,'
hidden
'
:
m
.
hide
,'
hidden
'
:
m
.
type
!='
rdp
'}"
id=
"rdp-{{i}}"
>
[
ngClass
]="{'
disconnected
'
:
!
m
.
connected
,'
hidden
'
:
m
.
hide
||
m
.
type
!='
rdp
'}"
id=
"rdp-{{i}}"
>
<canvas
id=
"canvas-{{i}}"
></canvas>
</div>
</div>
src/app/ControlPage/control/ssh/ssh.component.html
View file @
1db2e36f
<div
id=
"term"
>
<div
*
ngFor=
"let m of NavList.List;let i=index"
[
ngClass
]="{'
disconnected
'
:
!
m
.
connected
,'
hidden
'
:
m
.
hide
,'
hidden
'
:
m
.
type
!='
ssh
'}"
id=
"term-{{i}}"
>
[
ngClass
]="{'
disconnected
'
:
!
m
.
connected
,'
hidden
'
:
m
.
hide
||
m
.
type
!='
ssh
'}"
id=
"term-{{i}}"
>
</div>
</div>
<span
id=
"liuzheng"
>
liuzheng
</span>
src/app/ControlPage/search/search.component.ts
View file @
1db2e36f
...
...
@@ -19,7 +19,7 @@ export let Q: string = '';
styleUrls
:
[
'./search.component.css'
]
})
export
class
SearchComponent
implements
OnChanges
{
q
:
string
;
@
Input
()
input
;
searchrequest
:
any
;
...
...
src/app/app-routing.module.ts
View file @
1db2e36f
...
...
@@ -20,10 +20,9 @@ const appRoutes: Routes = [
// { path: 'crisis-center', component: CrisisListComponent },
// {path: 'welcome', component: IndexPageComponent}, // <-- delete this line
{
path
:
'users/login'
,
component
:
LoginComponent
},
{
path
:
'control'
,
component
:
ControlPageComponent
},
{
path
:
'rdp/:token'
,
component
:
RdppageComponent
},
{
path
:
'term/:token'
,
component
:
TermpageComponent
},
{
path
:
''
,
redirectTo
:
'/control'
,
pathMatch
:
'full'
},
{
path
:
''
,
component
:
ControlPageComponent
},
{
path
:
'**'
,
component
:
NotFoundComponent
}
];
...
...
src/index.html
View file @
1db2e36f
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<title>
JumpServer
</title>
<base
href=
"/"
>
<base
href=
"/
luna
"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"favicon.ico"
>
...
...
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