This commit is contained in:
nelo 2016-11-22 13:20:44 +01:00
parent b0a9bd2334
commit 3fb7bc0769
12 changed files with 60 additions and 16 deletions

1
@salix/.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules
spliting.js
build

View File

@ -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';

View File

@ -0,0 +1,4 @@
<vn-vertical>
<vn-leftmenu></vn-leftmenu>
<vn-databasic></vn-databasic>
</vn-vertical>

View File

@ -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);

View File

@ -0,0 +1,9 @@
[{
url: '/client',
state: 'index',
template: '<vn-client-index></vn-client-index>',
module: 'client',
description: '',
image: '',
}
]

View File

@ -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">notification</i>
<i class="material-icons">account_circle</i>
<i class="material-icons">notifications</i>
<i class="material-icons md-18">account_circle</i>
</div>

View File

@ -13,10 +13,6 @@ export {NAME as CUSTOMER_DESCRIPTOR,
export {NAME as CUSTOMER_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,
COMPONENT as NAVIGATION_INDEX_COMPONENT} from './navigation/index';

View File

@ -25,13 +25,5 @@
module: 'crud',
description: '',
image: '',
},
{
url: '/customer/dataBasic',
state: 'customer-data-basic',
template: '<customer-data-basic vn-one></customer-data-basic>',
module: 'crud',
description: '',
image: ''
}
]

21
env-mac.sh Executable file
View File

@ -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

View File

@ -3,6 +3,8 @@
<head>
<meta charset="UTF-8">
<title>Salix</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
</head>
<body>
<vn-vertical id="app" class="full-height">