new style in client

This commit is contained in:
Daniel Herrero 2017-12-14 13:48:29 +01:00
parent c9ff880591
commit 59061927c6
4 changed files with 25 additions and 14 deletions

View File

@ -1,9 +1,10 @@
<vn-horizontal>
<vn-main-block>
<mg-ajax
path="/client/api/Clients/{{edit.params.id}}/card"
actions="$ctrl.client = edit.model"
options="mgEdit">
</mg-ajax>
<vn-horizontal>
<vn-auto style="min-width: 18em; padding-left: 1em; padding-bottom: 1em;">
<vn-descriptor
client="$ctrl.client"
@ -12,6 +13,8 @@
<vn-left-menu></vn-left-menu>
</vn-auto>
<vn-one>
<vn-vertical style="max-width: 70em; margin: 0 auto;" ui-view></vn-vertical>
<vn-vertical ui-view></vn-vertical>
</vn-one>
</vn-horizontal>
</vn-main-block>

View File

@ -1,5 +1,5 @@
import ngModule from '../module';
import './style.scss';
export default class Controller {
constructor() {
this.client = null;

View File

@ -0,0 +1,8 @@
vn-client-card {
vn-main-block {
display:block;
max-width: 1920px;
width:100%;
margin: 0 auto;
}
}

View File

@ -4,7 +4,7 @@ vn-descriptor {
color: white;
text-align: center;
i {
font-size: 40px;
font-size: 51px;
}
}
}