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
cc52e24f
Commit
cc52e24f
authored
Mar 11, 2018
by
zheng liu
Browse files
Options
Browse Files
Download
Plain Diff
Merged in master (pull request #70)
Master
parents
f0ea0559
6676e009
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
149 additions
and
138 deletions
+149
-138
cn.json
i18n/cn.json
+4
-2
dialog.html
src/app/ControlPage/cleftbar/dialog.html
+1
-1
control.component.ts
src/app/ControlPage/control/control.component.ts
+2
-6
controlnav.component.ts
...pp/ControlPage/control/controlnav/controlnav.component.ts
+2
-1
app-routing.module.ts
src/app/app-routing.module.ts
+2
-4
app.module.ts
src/app/app.module.ts
+2
-4
app.service.ts
src/app/app.service.ts
+34
-6
connect-page.component.html
src/app/connect-page/connect-page.component.html
+10
-0
connect-page.component.scss
src/app/connect-page/connect-page.component.scss
+0
-0
connect-page.component.spec.ts
src/app/connect-page/connect-page.component.spec.ts
+6
-6
connect-page.component.ts
src/app/connect-page/connect-page.component.ts
+12
-12
guacamole.component.html
src/app/elements/guacamole/guacamole.component.html
+1
-1
guacamole.component.ts
src/app/elements/guacamole/guacamole.component.ts
+57
-18
iframe.component.ts
src/app/elements/iframe/iframe.component.ts
+0
-21
nav.component.html
src/app/elements/nav/nav.component.html
+1
-1
nav.component.ts
src/app/elements/nav/nav.component.ts
+14
-5
rdp-page.component.html
src/app/rdp-page/rdp-page.component.html
+0
-3
rdp-page.component.spec.ts
src/app/rdp-page/rdp-page.component.spec.ts
+0
-25
rdp-page.component.ts
src/app/rdp-page/rdp-page.component.ts
+0
-15
term-page.component.html
src/app/term-page/term-page.component.html
+0
-4
term-page.component.scss
src/app/term-page/term-page.component.scss
+0
-0
material.css
src/sass/material.css
+0
-0
style.scss
src/sass/style.scss
+1
-3
No files found.
i18n/cn.json
View file @
cc52e24f
...
...
@@ -16,7 +16,7 @@
"show left manager"
:
"显示左边栏"
,
"disconnect all"
:
"断开所有链接"
,
"disconnect"
:
"断开链接"
,
"website"
:
"
我们的网站
"
,
"website"
:
"
官网
"
,
"search"
:
"搜索"
,
"settings"
:
"系统设置"
,
"job center"
:
"作业中心"
,
...
...
@@ -46,5 +46,7 @@
"choose a user"
:
"选择一个用户"
,
"please choose a user"
:
"请选择一个用户"
,
"cancel"
:
"取消"
,
"confirm"
:
"确认"
"confirm"
:
"确认"
,
"document"
:
"文档"
,
"support"
:
"商业支持"
}
src/app/ControlPage/cleftbar/dialog.html
View file @
cc52e24f
...
...
@@ -5,7 +5,7 @@
[
compareWith
]="
compareFn
"
[
formControl
]="
UserSelectControl
"
placeholder=
"{{'Choose a User'|trans}}"
required
>
<mat-option
*
ngFor=
"let u of data.users"
value=
"{{u.id}}"
>
{{u.
user
name}}
</mat-option>
<mat-option
*
ngFor=
"let u of data.users"
value=
"{{u.id}}"
>
{{u.name}}
</mat-option>
</mat-select>
<mat-error
*
ngIf=
"UserSelectControl.hasError('required')"
>
{{"Please choose a User"|trans}}
</mat-error>
...
...
src/app/ControlPage/control/control.component.ts
View file @
cc52e24f
...
...
@@ -16,11 +16,7 @@ import {TermWS} from '../../globals';
// term: any;
// }
export
class
Rdp
{
machine
:
string
;
token
:
string
;
client
:
any
;
}
export
class
View
{
nick
:
string
;
...
...
@@ -32,7 +28,7 @@ export class View {
host
:
any
;
user
:
any
;
room
:
string
;
Rdp
:
Rdp
;
Rdp
:
any
;
Term
:
any
;
}
...
...
src/app/ControlPage/control/controlnav/controlnav.component.ts
View file @
cc52e24f
...
...
@@ -7,7 +7,7 @@
* @author liuzheng <liuzheng712@gmail.com>
*/
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
ElementRef
,
OnInit
,
ViewChild
}
from
'@angular/core'
;
import
{
ControlComponent
,
NavList
}
from
'../control.component'
;
import
*
as
jQuery
from
'jquery/dist/jquery.min.js'
;
...
...
@@ -44,6 +44,7 @@ export class ControlnavComponent implements OnInit {
if
(
NavList
.
List
[
index
].
type
===
'ssh'
)
{
NavList
.
List
[
index
].
Term
.
focus
();
}
else
if
(
NavList
.
List
[
index
].
type
===
'rdp'
)
{
NavList
.
List
[
index
].
Rdp
.
focus
();
}
}
else
{
...
...
src/app/app-routing.module.ts
View file @
cc52e24f
...
...
@@ -14,20 +14,18 @@ import {LoginComponent} from './BasicPage/login/login.component';
import
{
ControlPageComponent
}
from
'./ControlPage/controlpage.component'
;
import
{
ReplayPageComponent
}
from
'./replay-page/replay-page.component'
;
import
{
MonitorPageComponent
}
from
'./monitor-page/monitor-page.component'
;
import
{
RdpPageComponent
}
from
'./rdp-page/rdp-page.component'
;
import
{
TermPageComponent
}
from
'./term-page/term-page.component'
;
import
{
ElementServerMenuComponent
}
from
'./elements/server-menu/server-menu.component'
;
import
{
BlankPageComponent
}
from
'./blank-page/blank-page.component'
;
import
{
TestPageComponent
}
from
'./test-page/test-page.component'
;
import
{
SettingPageComponent
}
from
'./setting-page/setting-page.component'
;
import
{
ConnectPageComponent
}
from
'./connect-page/connect-page.component'
;
const
appRoutes
:
Routes
=
[
// {path: 'users/login', component: LoginComponent},
{
path
:
'rdp/:token'
,
component
:
RdpPageComponent
},
{
path
:
'term/:token'
,
component
:
TermPageComponent
},
{
path
:
'replay/:token'
,
component
:
ReplayPageComponent
},
{
path
:
'monitor/:token'
,
component
:
MonitorPageComponent
},
{
path
:
'test'
,
component
:
TestPageComponent
},
{
path
:
'connect'
,
component
:
ConnectPageComponent
},
// {path: 'setting', component: SettingPageComponent},
{
path
:
'undefined'
,
component
:
BlankPageComponent
},
{
path
:
''
,
component
:
ControlPageComponent
},
...
...
src/app/app.module.ts
View file @
cc52e24f
...
...
@@ -39,8 +39,6 @@ import {ControlnavComponent} from './ControlPage/control/controlnav/controlnav.c
import
{
ControlPageComponent
}
from
'./ControlPage/controlpage.component'
;
import
{
IndexPageComponent
}
from
'./IndexPage/index-page.component'
;
import
{
NotFoundComponent
}
from
'./BasicPage/not-found/not-found.component'
;
import
{
RdpPageComponent
}
from
'./rdp-page/rdp-page.component'
;
import
{
TermPageComponent
}
from
'./term-page/term-page.component'
;
import
{
ReplayPageComponent
}
from
'./replay-page/replay-page.component'
;
import
{
Mp4Component
}
from
'./replay-page/mp4/mp4.component'
;
import
{
JsonComponent
}
from
'./replay-page/json/json.component'
;
...
...
@@ -66,6 +64,7 @@ import {SettingPageS3Component} from './setting-page/s3/s3.component';
import
{
TransPipe
}
from
'./trans.pipe'
;
import
{
MAT_LABEL_GLOBAL_OPTIONS
}
from
'@angular/material'
;
import
{
ElementGuacamoleComponent
}
from
'./elements/guacamole/guacamole.component'
;
import
{
ConnectPageComponent
}
from
'./connect-page/connect-page.component'
;
@
NgModule
({
imports
:
[
...
...
@@ -105,8 +104,6 @@ import {ElementGuacamoleComponent} from './elements/guacamole/guacamole.componen
ControlPageComponent
,
IndexPageComponent
,
NotFoundComponent
,
RdpPageComponent
,
TermPageComponent
,
ReplayPageComponent
,
Mp4Component
,
JsonComponent
,
...
...
@@ -123,6 +120,7 @@ import {ElementGuacamoleComponent} from './elements/guacamole/guacamole.componen
SettingPageTerminalComponent
,
SettingPageS3Component
,
TransPipe
,
ConnectPageComponent
,
],
entryComponents
:
[
CleftbarDialogComponent
,
...
...
src/app/app.service.ts
View file @
cc52e24f
...
...
@@ -70,19 +70,47 @@ export class HttpService {
return
this
.
http
.
get
<
Array
<
HostGroup
>>
(
'/api/perms/v1/user/nodes-assets/'
);
}
get_guacamole_token
(
user
name
:
string
,
assetID
:
string
,
systemUserID
:
string
)
{
get_guacamole_token
(
user
_id
:
string
)
{
const
body
=
new
HttpParams
()
.
set
(
'username'
,
username
)
.
set
(
'password'
,
'jumpserver'
)
.
set
(
'asset_id'
,
assetID
)
.
set
(
'system_user_id'
,
systemUserID
);
.
set
(
'username'
,
user_id
)
.
set
(
'password'
,
'jumpserver'
);
return
this
.
http
.
post
(
'/guacamole/api/tokens'
,
body
.
toString
(),
{
headers
:
new
HttpHeaders
().
set
(
'Content-Type'
,
'application/x-www-form-urlencoded'
)});
}
guacamole_add_asset
(
user_id
:
string
,
asset_id
:
string
,
system_user_id
:
string
)
{
const
params
=
new
HttpParams
()
.
set
(
'user_id'
,
user_id
)
.
set
(
'asset_id'
,
asset_id
)
.
set
(
'system_user_id'
,
system_user_id
)
.
set
(
'token'
,
DataStore
.
guacamole_token
);
return
this
.
http
.
get
(
'/guacamole/api/session/ext/jumpserver/asset/add'
,
{
headers
:
new
HttpHeaders
().
set
(
'Content-Type'
,
'application/x-www-form-urlencoded'
),
params
:
params
}
);
}
guacamole_token_add_asset
(
token
:
string
)
{
const
params
=
new
HttpParams
()
.
set
(
'asset_token'
,
token
)
.
set
(
'token'
,
DataStore
.
guacamole_token
);
return
this
.
http
.
get
(
'/guacamole/api/session/ext/jumpserver/asset/token/add'
,
{
headers
:
new
HttpHeaders
().
set
(
'Content-Type'
,
'application/x-www-form-urlencoded'
),
params
:
params
}
);
}
search
(
q
:
string
)
{
return
this
.
http
.
get
(
'/api/search?q='
+
q
);
const
params
=
new
HttpParams
()
.
set
(
'q'
,
q
);
return
this
.
http
.
get
(
'/api/search'
,
{
params
:
params
});
}
get_replay
(
token
:
string
)
{
...
...
src/app/connect-page/connect-page.component.html
0 → 100644
View file @
cc52e24f
<app-element-term
[
token
]="
token
"
[
index
]="
0
"
*
ngIf=
"system =='linux'"
>
</app-element-term>
<app-element-guacamole
[
token
]="
token
"
[
index
]="
0
"
*
ngIf=
"system=='windows'"
>
</app-element-guacamole>
src/app/
rdp-page/rdp
-page.component.scss
→
src/app/
connect-page/connect
-page.component.scss
View file @
cc52e24f
File moved
src/app/
term-page/term
-page.component.spec.ts
→
src/app/
connect-page/connect
-page.component.spec.ts
View file @
cc52e24f
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
TermPageComponent
}
from
'./term
-page.component'
;
import
{
ConnectPageComponent
}
from
'./connect
-page.component'
;
describe
(
'
Term
PageComponent'
,
()
=>
{
let
component
:
Term
PageComponent
;
let
fixture
:
ComponentFixture
<
Term
PageComponent
>
;
describe
(
'
Connect
PageComponent'
,
()
=>
{
let
component
:
Connect
PageComponent
;
let
fixture
:
ComponentFixture
<
Connect
PageComponent
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
Term
PageComponent
]
declarations
:
[
Connect
PageComponent
]
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
Term
PageComponent
);
fixture
=
TestBed
.
createComponent
(
Connect
PageComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
...
...
src/app/
term-page/term
-page.component.ts
→
src/app/
connect-page/connect
-page.component.ts
View file @
cc52e24f
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
AppService
}
from
'../app.service'
;
import
{
DataStore
}
from
'../globals'
;
import
{
ActivatedRoute
,
Params
}
from
'@angular/router'
;
import
*
as
jQuery
from
'jquery/dist/jquery.min.js'
;
import
{
LogService
}
from
'../app.service'
;
@
Component
({
selector
:
'app-
term
-page'
,
templateUrl
:
'./
term
-page.component.html'
,
styleUrls
:
[
'./
term
-page.component.scss'
]
selector
:
'app-
connect
-page'
,
templateUrl
:
'./
connect
-page.component.html'
,
styleUrls
:
[
'./
connect
-page.component.scss'
]
})
export
class
Term
PageComponent
implements
OnInit
{
export
class
Connect
PageComponent
implements
OnInit
{
token
:
string
;
system
:
string
;
constructor
(
private
activatedRoute
:
ActivatedRoute
,
private
_logger
:
LogService
)
{
constructor
(
private
_appService
:
AppService
)
{
DataStore
.
NavShow
=
false
;
this
.
_logger
.
debug
(
'TermPageComponent'
);
}
ngOnInit
()
{
this
.
activatedRoute
.
params
.
subscribe
((
params
:
Params
)
=>
{
this
.
token
=
params
[
'token'
]
;
});
this
.
system
=
this
.
_appService
.
getQueryString
(
'system'
);
this
.
token
=
this
.
_appService
.
getQueryString
(
'token'
)
;
jQuery
(
'body'
).
css
(
'background-color'
,
'black'
);
}
}
src/app/elements/guacamole/guacamole.component.html
View file @
cc52e24f
<iframe
[
src
]="
trust
(
target
)"
></iframe>
<iframe
#
rdp
[
src
]="
trust
(
target
)"
(
mouseenter
)="
active
(
)"
></iframe>
src/app/elements/guacamole/guacamole.component.ts
View file @
cc52e24f
import
{
Component
,
Input
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
ElementRef
,
Input
,
OnInit
,
ViewChild
}
from
'@angular/core'
;
import
{
CookieService
}
from
'ngx-cookie-service'
;
import
{
HttpService
,
LogService
}
from
'../../app.service'
;
import
{
DataStore
,
User
}
from
'../../globals'
;
...
...
@@ -14,8 +14,10 @@ import {NavList} from '../../ControlPage/control/control.component';
export
class
ElementGuacamoleComponent
implements
OnInit
{
@
Input
()
host
:
any
;
@
Input
()
userid
:
any
;
@
Input
()
token
:
string
;
@
Input
()
index
:
number
;
target
:
string
;
@
ViewChild
(
'rdp'
)
el
:
ElementRef
;
constructor
(
private
sanitizer
:
DomSanitizer
,
private
_http
:
HttpService
,
...
...
@@ -25,26 +27,58 @@ export class ElementGuacamoleComponent implements OnInit {
ngOnInit
()
{
// /guacamole/api/tokens will redirect to http://guacamole/api/tokens
const
base
=
window
.
btoa
(
this
.
host
.
id
+
'
\
0'
+
'c'
+
'
\
0'
+
'jumpserver'
);
if
(
environment
.
production
)
{
if
(
DataStore
.
guacamole_token
)
{
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
base
+
'?token='
+
DataStore
.
guacamole_token
;
if
(
this
.
token
)
{
this
.
_http
.
get_guacamole_token
(
User
.
id
).
subscribe
(
data
=>
{
DataStore
.
guacamole_token
=
data
[
'authToken'
];
this
.
_http
.
guacamole_token_add_asset
(
this
.
token
).
subscribe
(
_
=>
{
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
data
[
'result'
]
+
'?token='
+
DataStore
.
guacamole_token
;
},
error2
=>
{
this
.
_logger
.
error
(
error2
);
}
);
});
}
else
{
const
base
=
window
.
btoa
(
this
.
host
.
id
+
'
\
0'
+
'c'
+
'
\
0'
+
'jumpserver'
);
if
(
environment
.
production
)
{
if
(
DataStore
.
guacamole_token
)
{
this
.
_http
.
guacamole_add_asset
(
User
.
id
,
this
.
host
.
id
,
this
.
userid
).
subscribe
(
data
=>
{
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
base
+
'?token='
+
DataStore
.
guacamole_token
;
},
error2
=>
{
this
.
_logger
.
error
(
error2
);
}
);
}
else
{
this
.
_http
.
get_guacamole_token
(
User
.
id
).
subscribe
(
data
=>
{
// /guacamole/client will redirect to http://guacamole/#/client
DataStore
.
guacamole_token
=
data
[
'authToken'
];
this
.
_http
.
guacamole_add_asset
(
User
.
id
,
this
.
host
.
id
,
this
.
userid
).
subscribe
(
data2
=>
{
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
base
+
'?token='
+
DataStore
.
guacamole_token
;
},
error2
=>
{
this
.
_logger
.
error
(
error2
);
}
);
// '/guacamole/#/client/' + base + '?token=' + data['authToken'];
},
error2
=>
{
this
.
_logger
.
error
(
error2
);
}
);
}
}
else
{
this
.
_http
.
get_guacamole_token
(
User
.
name
,
this
.
host
.
id
,
this
.
userid
).
subscribe
(
data
=>
{
// /guacamole/client will redirect to http://guacamole/#/client
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
base
+
'?token='
+
data
[
'authToken'
];
DataStore
.
guacamole_token
=
data
[
'authToken'
];
},
error2
=>
{
this
.
_logger
.
error
(
error2
);
}
);
this
.
target
=
this
.
_cookie
.
get
(
'guacamole'
);
}
}
else
{
this
.
target
=
this
.
_cookie
.
get
(
'guacamole'
);
}
NavList
.
List
[
this
.
index
].
Rdp
=
this
.
el
.
nativeElement
;
}
trust
(
url
)
{
...
...
@@ -55,4 +89,9 @@ export class ElementGuacamoleComponent implements OnInit {
NavList
.
List
[
this
.
index
].
connected
=
false
;
}
active
()
{
this
.
_logger
.
debug
(
'focus'
);
this
.
el
.
nativeElement
.
focus
();
}
}
src/app/elements/iframe/iframe.component.ts
View file @
cc52e24f
...
...
@@ -25,27 +25,6 @@ export class ElementIframeComponent implements OnInit {
}
ngOnInit
()
{
// /guacamole/api/tokens will redirect to http://guacamole/api/tokens
const
base
=
window
.
btoa
(
this
.
host
.
id
+
'
\
0'
+
'c'
+
'
\
0'
+
'jumpserver'
);
if
(
environment
.
production
)
{
if
(
DataStore
.
guacamole_token
)
{
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
base
+
'?token='
+
DataStore
.
guacamole_token
;
}
else
{
this
.
_http
.
get_guacamole_token
(
User
.
name
,
this
.
host
.
id
,
this
.
userid
).
subscribe
(
data
=>
{
// /guacamole/client will redirect to http://guacamole/#/client
this
.
target
=
document
.
location
.
origin
+
'/guacamole/#/client/'
+
base
+
'?token='
+
data
[
'authToken'
];
DataStore
.
guacamole_token
=
data
[
'authToken'
];
},
error2
=>
{
this
.
_logger
.
error
(
error2
);
}
);
}
}
else
{
this
.
target
=
this
.
_cookie
.
get
(
'guacamole'
);
}
}
trust
(
url
)
{
...
...
src/app/elements/nav/nav.component.html
View file @
cc52e24f
<script
src=
"../../trans.pipe.spec.ts"
></script>
<div
class=
"nav"
>
<ul>
<li><a
[
routerLink
]="['']
"
><img
src=
"static/imgs/logo.png"
height=
"26px"
/></a>
<li><a
href=
"/
"
><img
src=
"static/imgs/logo.png"
height=
"26px"
/></a>
</li>
<li
*
ngFor=
"let v of DataStore.Nav"
[
ngClass
]="{'
dropdown
'
:
v
.
children
}"
>
<a>
{{v.name | trans}}
</a>
...
...
src/app/elements/nav/nav.component.ts
View file @
cc52e24f
...
...
@@ -82,8 +82,12 @@ export class ElementNavComponent implements OnInit {
window
.
open
(
'http://www.jumpserver.org'
);
break
;
}
case
'BBS'
:
{
window
.
open
(
'http://bbs.jumpserver.org'
);
case
'Document'
:
{
window
.
open
(
'http://docs.jumpserver.org/'
);
break
;
}
case
'Support'
:
{
window
.
open
(
'https://market.aliyun.com/products/53690006/cmgj026011.html?spm=5176.730005.0.0.cY2io1'
);
break
;
}
case
'EnterLicense'
:
{
...
...
@@ -233,9 +237,14 @@ export class ElementNavComponent implements OnInit {
'name'
:
'Website'
},
{
'id'
:
'BBS'
,
'click'
:
'BBS'
,
'name'
:
'BBS'
'id'
:
'Document'
,
'click'
:
'Document'
,
'name'
:
'Document'
},
{
'id'
:
'Support'
,
'click'
:
'Support'
,
'name'
:
'Support'
}]
},
{
'id'
:
'Language'
,
...
...
src/app/rdp-page/rdp-page.component.html
deleted
100644 → 0
View file @
f0ea0559
<p>
rdp-page works!
</p>
src/app/rdp-page/rdp-page.component.spec.ts
deleted
100644 → 0
View file @
f0ea0559
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
RdpPageComponent
}
from
'./rdp-page.component'
;
describe
(
'RdpPageComponent'
,
()
=>
{
let
component
:
RdpPageComponent
;
let
fixture
:
ComponentFixture
<
RdpPageComponent
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
RdpPageComponent
]
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
RdpPageComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/rdp-page/rdp-page.component.ts
deleted
100644 → 0
View file @
f0ea0559
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-rdp-page'
,
templateUrl
:
'./rdp-page.component.html'
,
styleUrls
:
[
'./rdp-page.component.scss'
]
})
export
class
RdpPageComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
()
{
}
}
src/app/term-page/term-page.component.html
deleted
100644 → 0
View file @
f0ea0559
<app-element-term
[
token
]="
token
"
[
index
]="
0
"
>
</app-element-term>
src/app/term-page/term-page.component.scss
deleted
100644 → 0
View file @
f0ea0559
src/sass/material.css
0 → 100644
View file @
cc52e24f
This diff is collapsed.
Click to expand it.
src/sass/style.scss
View file @
cc52e24f
...
...
@@ -19,14 +19,12 @@ $roboto-font-path: "~roboto-fontface/fonts";
$asset-path
:
'../static/imgs/inspinia'
;
@import
"../assets/inspinia/style"
;
@import
'~@angular/material/prebuilt-themes/deeppurple-amber.css'
;
@import
'~@swimlane/ngx-datatable/release/index.css'
;
@import
'~@swimlane/ngx-datatable/release/themes/material.css'
;
@import
'~@swimlane/ngx-datatable/release/assets/icons.css'
;
@import
'./material.css'
;
$material-design-icons-font-path
:
'~/material-design-icons/iconfont/'
;
//@import "~material-design-icons/iconfont/material-icons";
@font-face
{
...
...
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