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