updated styles
gitea/salix/1975-delivery_note_tags This commit looks good
Details
gitea/salix/1975-delivery_note_tags This commit looks good
Details
This commit is contained in:
parent
5cf8328476
commit
16a9a1f5f8
|
@ -87,8 +87,7 @@ vn-layout {
|
||||||
& > * {
|
& > * {
|
||||||
display: block;
|
display: block;
|
||||||
padding: $spacing-md;
|
padding: $spacing-md;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box
|
||||||
height: 100%
|
|
||||||
}
|
}
|
||||||
&.ng-enter {
|
&.ng-enter {
|
||||||
vn-side-menu {
|
vn-side-menu {
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
.vn-module-card {
|
.vn-module-card {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
height: 100%
|
||||||
}
|
}
|
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
.vn-module-main {
|
.vn-module-main {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
height: 100%
|
||||||
}
|
}
|
|
@ -10,4 +10,4 @@ import './descriptor';
|
||||||
import './development';
|
import './development';
|
||||||
import './search-panel';
|
import './search-panel';
|
||||||
import './summary';
|
import './summary';
|
||||||
import './dms/index';
|
import './photos';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ngModule from '../../module';
|
import ngModule from '../module';
|
||||||
import './style.scss';
|
import './style.scss';
|
||||||
|
|
||||||
class Controller {
|
class Controller {
|
||||||
|
@ -108,7 +108,7 @@ class Controller {
|
||||||
|
|
||||||
Controller.$inject = ['$stateParams', '$scope', '$http', '$translate', 'vnToken', 'vnApp', 'vnConfig'];
|
Controller.$inject = ['$stateParams', '$scope', '$http', '$translate', 'vnToken', 'vnApp', 'vnConfig'];
|
||||||
|
|
||||||
ngModule.component('vnClaimDmsIndex', {
|
ngModule.component('vnClaimPhotos', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
controller: Controller,
|
controller: Controller,
|
||||||
bindings: {
|
bindings: {
|
|
@ -2,7 +2,7 @@ import './index';
|
||||||
import crudModel from 'core/mocks/crud-model';
|
import crudModel from 'core/mocks/crud-model';
|
||||||
|
|
||||||
describe('Claim', () => {
|
describe('Claim', () => {
|
||||||
describe('Component vnClaimDmsIndex', () => {
|
describe('Component vnClaimPhotos', () => {
|
||||||
let $componentController;
|
let $componentController;
|
||||||
let $scope;
|
let $scope;
|
||||||
let $httpBackend;
|
let $httpBackend;
|
||||||
|
@ -16,7 +16,7 @@ describe('Claim', () => {
|
||||||
$httpParamSerializer = _$httpParamSerializer_;
|
$httpParamSerializer = _$httpParamSerializer_;
|
||||||
$httpBackend = _$httpBackend_;
|
$httpBackend = _$httpBackend_;
|
||||||
$scope = $rootScope.$new();
|
$scope = $rootScope.$new();
|
||||||
controller = $componentController('vnClaimDmsIndex', {$: $scope});
|
controller = $componentController('vnClaimPhotos', {$: $scope});
|
||||||
controller.$.model = crudModel;
|
controller.$.model = crudModel;
|
||||||
controller.claim = {
|
controller.claim = {
|
||||||
id: 1,
|
id: 1,
|
|
@ -1,6 +1,8 @@
|
||||||
@import "./variables";
|
@import "./variables";
|
||||||
|
|
||||||
vn-claim-dms-index {
|
vn-claim-photos {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
.drop-zone {
|
.drop-zone {
|
||||||
color: $color-font-secondary;
|
color: $color-font-secondary;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -19,7 +21,6 @@ vn-claim-dms-index {
|
||||||
}
|
}
|
||||||
|
|
||||||
.photo-list {
|
.photo-list {
|
||||||
|
|
||||||
padding: $spacing-md;
|
padding: $spacing-md;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"card": [
|
"card": [
|
||||||
{"state": "claim.card.basicData", "icon": "settings"},
|
{"state": "claim.card.basicData", "icon": "settings"},
|
||||||
{"state": "claim.card.detail", "icon": "icon-details"},
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
||||||
{"state": "claim.card.dms.index", "icon": "image"},
|
{"state": "claim.card.photos", "icon": "image"},
|
||||||
{"state": "claim.card.development", "icon": "icon-traceability"},
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
||||||
{"state": "claim.card.action", "icon": "icon-actions"}
|
{"state": "claim.card.action", "icon": "icon-actions"}
|
||||||
]
|
]
|
||||||
|
@ -81,14 +81,9 @@
|
||||||
},
|
},
|
||||||
"acl": ["salesAssistant"]
|
"acl": ["salesAssistant"]
|
||||||
}, {
|
}, {
|
||||||
"url": "/dms",
|
"url": "/photos",
|
||||||
"state": "claim.card.dms",
|
"state": "claim.card.photos",
|
||||||
"abstract": true,
|
"component": "vn-claim-photos",
|
||||||
"component": "ui-view"
|
|
||||||
}, {
|
|
||||||
"url" : "/index",
|
|
||||||
"state": "claim.card.dms.index",
|
|
||||||
"component": "vn-claim-dms-index",
|
|
||||||
"description": "Photos",
|
"description": "Photos",
|
||||||
"params": {
|
"params": {
|
||||||
"claim": "$ctrl.claim"
|
"claim": "$ctrl.claim"
|
||||||
|
|
Loading…
Reference in New Issue