fix: the right body bug fix

parent 81fbe1a7
...@@ -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",
......
{ {
"/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/": {
......
<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>
......
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%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment