This commit is contained in:
Juan Ferrer Toribio 2016-11-18 14:16:11 +01:00
commit fae7deb13f
20 changed files with 104 additions and 11 deletions

View File

@ -1 +0,0 @@
<!-- por definir -->

View File

@ -1,8 +0,0 @@
import template from './{name}.html';
import {module} from '../../module';
export const NAME = '';
export const COMPONENT = {
template: template
};
module.component(NAME, COMPONENT);

1
@salix/client/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

1
@salix/client/index.js Normal file
View File

@ -0,0 +1 @@
export * from './src/client';

View File

@ -0,0 +1,17 @@
{
"name": "@salix/client",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "ssh://repository@git.verdnatura.es:/var/lib/git/salix-client"
},
"author": "",
"license": "ISC",
"dependencies": {
}
}

View File

View File

@ -0,0 +1,7 @@
<vn-horizontal>
<ul>
<li>Datos fiscales y facturación</li>
<li>Consignatarios</li>
<li>Acceso web</li>
</ul>
</vn-horizontal>

View File

@ -0,0 +1,9 @@
import template from './actions.html';
import {module} from '../module';
const _NAME = 'actions';
export const NAME = module.core.util.getName(_NAME);
export const COMPONENT = {
template: template
};
module.component(NAME, COMPONENT);

View File

@ -0,0 +1,3 @@
<vn-horizontal>
descriptor
</vn-horizontal>

View File

@ -0,0 +1,9 @@
import template from './descriptor.html';
import {module} from '../module';
const _NAME = 'descriptor';
export const NAME = module.core.util.getName(_NAME);
export const COMPONENT = {
template: template
};
module.component(NAME, COMPONENT);

View File

@ -0,0 +1,4 @@
<vn-vertical>
<vn-descriptor></vn-descriptor>
<vn-actions></vn-actions>
</vn-vertical>

View File

@ -0,0 +1,9 @@
import template from './leftmenu.html';
import {module} from '../module';
const _NAME = 'leftmenu';
export const NAME = module.core.util.getName(_NAME);
export const COMPONENT = {
template: template
};
module.component(NAME, COMPONENT);

View File

@ -0,0 +1,6 @@
import {ng} from '@salix/vendor';
import * as core from 'core';
const DEPENDENCIES = [];
export const NAME = core.util.getModuleName('client');
export const module = ng.module(NAME,DEPENDENCIES);

View File

@ -0,0 +1,6 @@
<vn-horizonal>
<vn-one>
<vn-label text="Client"></vn-label>
<vn-searchbar></vn-searchbar>
</vn-one>
</vn-horizonal>

View File

@ -0,0 +1,9 @@
import template from './topbar.html';
import {module} from '../module';
const _NAME = 'topbar';
export const NAME = module.core.util.getName(_NAME);
export const COMPONENT = {
template: template
};
module.component(NAME, COMPONENT);

View File

@ -37,3 +37,6 @@ export {NAME as SNACKBARMT,factory as snackbarmt} from './snackbar/snackbar.mt'
export {NAME as SPINNER,directive as SpinnerDirective} from './spinner/spinner'
export {NAME as SPINNERMT,factory as spinnermt} from './spinner/spinner.mt'
export {NAME as VN_MAINMENU,
COMPONENT as VN_MAINMENU_COMPONENT} from './mainmenu/mainmenu';

View File

@ -0,0 +1,5 @@
<div style="position:fixed; top:0; right:0; height:6em; width:10em; background-color:red;">
<i class="material-icons">apps</i>
<i class="material-icons">notification</i>
<i class="material-icons">account_circle</i>
</div>

View File

@ -0,0 +1,10 @@
import template from './mainmenu.html';
import {module} from '../module';
import * as util from '../util';
const _NAME = 'mainmenu';
export const NAME = util.getName(_NAME);
export const COMPONENT = {
template: template
};
module.component(NAME, COMPONENT);

View File

@ -2,3 +2,5 @@ export * from './angular-vendor';
export * from './oclazyload-vendor';
export * from './uirouter-vendor';
export * from './materialdesignlite-vendor';
export * from './materialDesignIcons-vendor';

View File

@ -5,8 +5,9 @@
<title>Salix</title>
</head>
<body>
<div style="position:fixed; top:0; right:0; height:6em; width:10em; background-color:red;"></div>
<vn-vertical id="app" class="full-height" ui-view scrollable>
<vn-vertical id="app" class="full-height">
<vn-mainmenu></vn-mainmenu>
<vn-vertical ui-view scrollable></vn-vertical>
</vn-vertical>
<script
type="text/javascript"