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
c501b002
Unverified
Commit
c501b002
authored
Apr 25, 2018
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: the right body bug fix
parent
81fbe1a7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
308 deletions
+10
-308
mock.py
mock.py
+0
-302
proxy.conf.json
proxy.conf.json
+2
-2
control.component.html
src/app/pages/control/control.component.html
+3
-3
control.component.css
src/app/pages/control/control/control.component.css
+5
-1
No files found.
mock.py
View file @
c501b002
...
@@ -110,13 +110,6 @@ class SSHws(Namespace):
...
@@ -110,13 +110,6 @@ class SSHws(Namespace):
def
send_js
(
path
):
def
send_js
(
path
):
return
send_from_directory
(
'dist'
,
path
)
return
send_from_directory
(
'dist'
,
path
)
@app.route
(
'/'
)
@app.route
(
'/luna/'
)
def
index
():
return
render_template
(
'index.html'
)
@app.route
(
'/api/perms/v1/user/nodes-assets/'
)
@app.route
(
'/api/perms/v1/user/nodes-assets/'
)
def
asset_groups_assets
():
def
asset_groups_assets
():
assets
=
[
assets
=
[
...
@@ -125,301 +118,6 @@ def asset_groups_assets():
...
@@ -125,301 +118,6 @@ def asset_groups_assets():
"name"
:
"ungrouped"
,
"name"
:
"ungrouped"
,
"assets"
:
[]
"assets"
:
[]
},
},
{
"id"
:
2
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
3
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
4
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
5
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
"id"
:
6
,
"name"
:
"ungrouped"
,
"assets"
:
[]
},
{
{
"id"
:
1
,
"id"
:
1
,
"name"
:
"Default long name long name long name"
,
"name"
:
"Default long name long name long name"
,
...
...
proxy.conf.json
View file @
c501b002
{
{
"/api"
:
{
"/api"
:
{
"target"
:
"http://127.0.0.1:
5000
"
,
"target"
:
"http://127.0.0.1:
8088
"
,
"secure"
:
false
"secure"
:
false
},
},
"/luna/i18n"
:
{
"/luna/i18n"
:
{
"target"
:
"http://127.0.0.1:
5000
"
,
"target"
:
"http://127.0.0.1:
8088
"
,
"secure"
:
false
"secure"
:
false
},
},
"/socket.io/"
:
{
"/socket.io/"
:
{
...
...
src/app/pages/control/control.component.html
View file @
c501b002
<div
class=
"container-fluid row"
fxLayout=
"row"
ngxSplit=
"row"
>
<div
class=
"container-fluid row"
fxLayout=
"row"
ngxSplit=
"row"
>
<div
fxFlex=
"20%"
ngxSplitArea
>
<div
fxFlex=
"20%"
ngxSplitArea
*
ngIf=
"DataStore.leftbarshow"
>
<pages-control-cleftbar
*
ngIf=
"DataStore.leftbarshow"
></pages-control-cleftbar>
<pages-control-cleftbar></pages-control-cleftbar>
</div>
</div>
<div
fxFlex=
"15px"
ngxSplitHandle
></div>
<div
fxFlex=
"15px"
ngxSplitHandle
></div>
<div
fxFlex
>
<div
fxFlex
>
<pages-control-control></pages-control-control>
<pages-control-control></pages-control-control>
</div>
</div>
...
...
src/app/pages/control/control/control.component.css
View file @
c501b002
div
,
elements-term
,
elements-
iframe
{
div
,
elements-term
,
elements-
guacamole
,
elements-settings
{
height
:
100%
;
height
:
100%
;
}
elements-term
,
elements-guacamole
,
elements-settings
{
padding-bottom
:
30px
;
padding-bottom
:
30px
;
}
}
...
@@ -10,6 +13,7 @@ div, elements-term, elements-iframe {
...
@@ -10,6 +13,7 @@ div, elements-term, elements-iframe {
.active
{
.active
{
display
:
block
;
display
:
block
;
}
}
.right-side
{
.right-side
{
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
...
...
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