client
This commit is contained in:
parent
b0a9bd2334
commit
3fb7bc0769
|
@ -1,2 +1,3 @@
|
||||||
node_modules
|
node_modules
|
||||||
spliting.js
|
spliting.js
|
||||||
|
build
|
|
@ -0,0 +1,10 @@
|
||||||
|
export * from './module';
|
||||||
|
|
||||||
|
export {NAME as CLIENT_DATA_BASIC_INDEX,
|
||||||
|
COMPONENT as CLIENT_DATA_BASIC_INDEX_COMPONENT} from './client/databasic';
|
||||||
|
export {NAME as CLIENT_LEFT_MENU,
|
||||||
|
COMPONENT as CLIENT_LEFT_MENU_COMPONENT} from './client/leftmenu';
|
||||||
|
export {NAME as CLIENT_TOP_BAR,
|
||||||
|
COMPONENT as CLIENT_TOP_BAR_COMPONENT} from './client/topbar';
|
||||||
|
export {NAME as CLIENT_INDEX,
|
||||||
|
COMPONENT as CLIENT_INDEX_COMPONENT} from './client/index';
|
|
@ -0,0 +1,4 @@
|
||||||
|
<vn-vertical>
|
||||||
|
<vn-leftmenu></vn-leftmenu>
|
||||||
|
<vn-databasic></vn-databasic>
|
||||||
|
</vn-vertical>
|
|
@ -0,0 +1,9 @@
|
||||||
|
import template from './index.html';
|
||||||
|
import {module} from '../module';
|
||||||
|
|
||||||
|
const _NAME = 'clientIndex';
|
||||||
|
export const NAME = module.core.util.getName(_NAME);
|
||||||
|
export const COMPONENT = {
|
||||||
|
template: template
|
||||||
|
};
|
||||||
|
module.component(NAME, COMPONENT);
|
|
@ -0,0 +1,9 @@
|
||||||
|
[{
|
||||||
|
url: '/client',
|
||||||
|
state: 'index',
|
||||||
|
template: '<vn-client-index></vn-client-index>',
|
||||||
|
module: 'client',
|
||||||
|
description: '',
|
||||||
|
image: '',
|
||||||
|
}
|
||||||
|
]
|
|
@ -1,5 +1,5 @@
|
||||||
<div style="position:fixed; top:0; right:0; height:6em; width:10em; background-color:red;">
|
<div style="position:fixed; top:1em; right:0; height:2em; width:10em; background-color:transparent;">
|
||||||
<i class="material-icons">apps</i>
|
<i class="material-icons">apps</i>
|
||||||
<i class="material-icons">notification</i>
|
<i class="material-icons">notifications</i>
|
||||||
<i class="material-icons">account_circle</i>
|
<i class="material-icons md-18">account_circle</i>
|
||||||
</div>
|
</div>
|
|
@ -13,10 +13,6 @@ export {NAME as CUSTOMER_DESCRIPTOR,
|
||||||
export {NAME as CUSTOMER_ACTIONS,
|
export {NAME as CUSTOMER_ACTIONS,
|
||||||
COMPONENT as CUSTOMER_ACTIONS_COMPONENT} from './customer/edit/actions';
|
COMPONENT as CUSTOMER_ACTIONS_COMPONENT} from './customer/edit/actions';
|
||||||
|
|
||||||
export {NAME as CUSTOMER_DATA_BASIC_INDEX,
|
|
||||||
COMPONENT as CUSTOMER_DATA_BASIC_INDEX_COMPONENT} from './customer/dataBasic';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export {NAME as NAVIGATION_INDEX,
|
export {NAME as NAVIGATION_INDEX,
|
||||||
COMPONENT as NAVIGATION_INDEX_COMPONENT} from './navigation/index';
|
COMPONENT as NAVIGATION_INDEX_COMPONENT} from './navigation/index';
|
||||||
|
|
|
@ -25,13 +25,5 @@
|
||||||
module: 'crud',
|
module: 'crud',
|
||||||
description: '',
|
description: '',
|
||||||
image: '',
|
image: '',
|
||||||
},
|
|
||||||
{
|
|
||||||
url: '/customer/dataBasic',
|
|
||||||
state: 'customer-data-basic',
|
|
||||||
template: '<customer-data-basic vn-one></customer-data-basic>',
|
|
||||||
module: 'crud',
|
|
||||||
description: '',
|
|
||||||
image: ''
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
nginxDir="${PWD}/services/nginx"
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start|"")
|
||||||
|
forever start forever.json
|
||||||
|
forever list
|
||||||
|
nginx -c "$nginxDir/conf-dev.conf" -p "$nginxDir"
|
||||||
|
cd @salix && gulp
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
forever stopall
|
||||||
|
forever list
|
||||||
|
nginx -c "$nginxDir/conf-dev.conf" -p "$nginxDir" -s stop
|
||||||
|
cd @salix && gulp clean
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: `basename "$0"` [start|stop]"
|
||||||
|
exit 1
|
||||||
|
esac
|
|
@ -3,6 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Salix</title>
|
<title>Salix</title>
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
|
||||||
|
rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<vn-vertical id="app" class="full-height">
|
<vn-vertical id="app" class="full-height">
|
||||||
|
|
Loading…
Reference in New Issue