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
b81dc8f2
Commit
b81dc8f2
authored
Nov 07, 2017
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: update
parent
74b26dc1
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
116 additions
and
6 deletions
+116
-6
footer.component.ts
src/app/BasicPage/footer/footer.component.ts
+7
-0
login.component.ts
src/app/BasicPage/login/login.component.ts
+7
-0
nav.component.ts
src/app/BasicPage/nav/nav.component.ts
+7
-0
not-found.component.ts
src/app/BasicPage/not-found.component.ts
+4
-1
cleftbar.component.ts
src/app/ControlPage/cleftbar/cleftbar.component.ts
+9
-2
control.component.ts
src/app/ControlPage/control/control.component.ts
+9
-0
controlnav.component.ts
...pp/ControlPage/control/controlnav/controlnav.component.ts
+9
-0
rdp.component.ts
src/app/ControlPage/control/rdp/rdp.component.ts
+7
-0
ssh.component.ts
src/app/ControlPage/control/ssh/ssh.component.ts
+7
-0
controlpage.component.ts
src/app/ControlPage/controlpage.component.ts
+7
-0
search.component.ts
src/app/ControlPage/search/search.component.ts
+7
-0
ileftbar.component.ts
src/app/IndexPage/ileftbar/ileftbar.component.ts
+7
-0
index-page.component.ts
src/app/IndexPage/index-page.component.ts
+7
-0
app-routing.module.ts
src/app/app-routing.module.ts
+5
-1
app.component.ts
src/app/app.component.ts
+5
-1
app.module.ts
src/app/app.module.ts
+7
-0
app.service.ts
src/app/app.service.ts
+5
-1
No files found.
src/app/BasicPage/footer/footer.component.ts
View file @
b81dc8f2
/**
* footer
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
AppService
,
DataStore
,
User
}
from
'../../app.service'
;
import
{
AppService
,
DataStore
,
User
}
from
'../../app.service'
;
...
...
src/app/BasicPage/login/login.component.ts
View file @
b81dc8f2
/**
* 登陆页
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
AppService
,
DataStore
,
User
}
from
'../../app.service'
;
import
{
AppService
,
DataStore
,
User
}
from
'../../app.service'
;
...
...
src/app/BasicPage/nav/nav.component.ts
View file @
b81dc8f2
/**
* 主页导航条
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
...
...
src/app/BasicPage/not-found.component.ts
View file @
b81dc8f2
/**
/**
* Created by liuzheng on 2017/8/31.
* 404页面
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
*/
import
{
Component
}
from
'@angular/core'
;
import
{
Component
}
from
'@angular/core'
;
...
...
src/app/ControlPage/cleftbar/cleftbar.component.ts
View file @
b81dc8f2
/**
* 控制页面的左边栏主机树状页
*
* 以树状方式列出所有主机
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
...
@@ -11,9 +20,7 @@ declare let jQuery: any;
...
@@ -11,9 +20,7 @@ declare let jQuery: any;
selector
:
'app-cleftbar'
,
selector
:
'app-cleftbar'
,
templateUrl
:
'./cleftbar.component.html'
,
templateUrl
:
'./cleftbar.component.html'
,
styleUrls
:
[
'./cleftbar.component.css'
],
styleUrls
:
[
'./cleftbar.component.css'
],
providers
:
[
SshComponent
,
RdpComponent
]
providers
:
[
SshComponent
,
RdpComponent
]
})
})
export
class
CleftbarComponent
implements
OnInit
{
export
class
CleftbarComponent
implements
OnInit
{
DataStore
=
DataStore
;
DataStore
=
DataStore
;
...
...
src/app/ControlPage/control/control.component.ts
View file @
b81dc8f2
/**
* 控制页面
*
* 主管已连接的主机标签卡,各连接方式的web展现(WebTerminal、RDP、VNC等)
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
export
class
Term
{
export
class
Term
{
...
...
src/app/ControlPage/control/controlnav/controlnav.component.ts
View file @
b81dc8f2
/**
* 控制页面的已连接主机选项卡
*
* 展示所有已连接的主机
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
NavList
}
from
'../control.component'
import
{
NavList
}
from
'../control.component'
import
{
SshComponent
}
from
'../ssh/ssh.component'
import
{
SshComponent
}
from
'../ssh/ssh.component'
...
...
src/app/ControlPage/control/rdp/rdp.component.ts
View file @
b81dc8f2
/**
* RDP页面
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
NavList
,
View
,
Rdp
}
from
'../control.component'
;
import
{
NavList
,
View
,
Rdp
}
from
'../control.component'
;
...
...
src/app/ControlPage/control/ssh/ssh.component.ts
View file @
b81dc8f2
/**
* WebTerminal
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
*
as
io
from
'socket.io-client'
;
import
*
as
io
from
'socket.io-client'
;
...
...
src/app/ControlPage/controlpage.component.ts
View file @
b81dc8f2
/**
* 控制页面
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
AppService
,
DataStore
,
User
}
from
'../app.service'
;
import
{
AppService
,
DataStore
,
User
}
from
'../app.service'
;
...
...
src/app/ControlPage/search/search.component.ts
View file @
b81dc8f2
/**
* 控制页面的搜索框
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnChanges
,
Input
}
from
'@angular/core'
;
import
{
Component
,
OnChanges
,
Input
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
...
...
src/app/IndexPage/ileftbar/ileftbar.component.ts
View file @
b81dc8f2
/**
* 主页的左边栏
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
import
{
Logger
}
from
'angular2-logger/core'
;
...
...
src/app/IndexPage/index-page.component.ts
View file @
b81dc8f2
/**
* 主页
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
AppService
,
User
}
from
'../app.service'
;
import
{
AppService
,
User
}
from
'../app.service'
;
...
...
src/app/app-routing.module.ts
View file @
b81dc8f2
/**
/**
* Created by liuzheng on 2017/8/31.
* app路由
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
*/
import
{
NgModule
}
from
'@angular/core'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
RouterModule
,
Routes
}
from
'@angular/router'
;
import
{
RouterModule
,
Routes
}
from
'@angular/router'
;
...
...
src/app/app.component.ts
View file @
b81dc8f2
/**
/**
* Created by liuzheng on 2017/8/31.
* 控制主页
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
*/
import
{
Component
}
from
'@angular/core'
;
import
{
Component
}
from
'@angular/core'
;
import
{
AppService
,
HttpService
}
from
'./app.service'
;
import
{
AppService
,
HttpService
}
from
'./app.service'
;
...
...
src/app/app.module.ts
View file @
b81dc8f2
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
* Created by liuzheng on 2017/8/30.
* Created by liuzheng on 2017/8/30.
*/
*/
/**
* app 模块
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
BrowserModule
}
from
'@angular/platform-browser'
;
import
{
BrowserModule
}
from
'@angular/platform-browser'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
FormsModule
}
from
'@angular/forms'
;
// <-- NgModel lives here
import
{
FormsModule
}
from
'@angular/forms'
;
// <-- NgModel lives here
...
...
src/app/app.service.ts
View file @
b81dc8f2
/**
/**
* Created by liuzheng on 2017/8/30.
* 后台控制
*
*
* @date 2017-11-07
* @author liuzheng <liuzheng712@gmail.com>
*/
*/
import
{
Injectable
}
from
'@angular/core'
;
import
{
Injectable
}
from
'@angular/core'
;
import
{
Http
,
RequestOptionsArgs
,
Headers
}
from
'@angular/http'
;
import
{
Http
,
RequestOptionsArgs
,
Headers
}
from
'@angular/http'
;
...
...
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