dialog css fixes
gitea/salix/dev This commit has test failures Details

This commit is contained in:
Joan Sanchez 2019-10-10 08:07:11 +02:00
parent 7db4945a6d
commit 21c32b0af2
6 changed files with 24 additions and 20 deletions

View File

@ -31,7 +31,7 @@
tpl-body { tpl-body {
display: block; display: block;
width: 20em; min-width: 20em;
} }
& > button.close { & > button.close {
@extend %clickable; @extend %clickable;

View File

@ -1,6 +1,7 @@
#Ordenar alfabeticamente #Ordenar alfabeticamente
Add sale: Añadir linea Add sale: Añadir linea
Are you sure you want to send it?: ¿Seguro que quieres enviarlo? Are you sure you want to send it?: ¿Seguro que quieres enviarlo?
Are you sure you want to delete this claim?: ¿Seguro que quieres eliminar esta reclamación?
Client Id: Id cliente Client Id: Id cliente
Claimed ticket: Ticket reclamado Claimed ticket: Ticket reclamado
Delete claim: Eliminar reclamación Delete claim: Eliminar reclamación

View File

@ -7,28 +7,28 @@
class="modal-form" class="modal-form"
on-open="model.refresh()"> on-open="model.refresh()">
<tpl-body> <tpl-body>
<vn-horizontal class="header vn-pa-md vn-w-lg"> <vn-horizontal class="header vn-pa-md">
<h5><span translate>Stowaways to add</span></h5> <h5><span translate>Stowaways to add</span></h5>
</vn-horizontal> </vn-horizontal>
<vn-horizontal class="vn-pa-md vn-w-lg"> <vn-horizontal class="vn-pa-md"> <!-- FIXME: Dialog width -->
<vn-data-viewer class="vn-w-xs" model="model"> <vn-data-viewer model="model">
<vn-table model="model" auto-load="false"> <vn-table model="model" auto-load="false">
<vn-thead> <vn-thead>
<vn-tr> <vn-tr>
<vn-th number>Ticket id</vn-th> <vn-th number>Ticket id</vn-th>
<vn-th number>Shipped</vn-th> <vn-th>Shipped</vn-th>
<vn-th number>Agency</vn-th> <vn-th>Agency</vn-th>
<vn-th number>Warehouse</vn-th> <vn-th>Warehouse</vn-th>
<vn-th number>State</vn-th> <vn-th>State</vn-th>
</vn-tr> </vn-tr>
</vn-thead> </vn-thead>
<vn-tbody> <vn-tbody>
<vn-tr ng-repeat="ticket in possibleStowaways" class="clickable" ng-click="$ctrl.addStowaway(ticket)"> <vn-tr ng-repeat="ticket in possibleStowaways" class="clickable" ng-click="$ctrl.addStowaway(ticket)">
<vn-td number>{{ticket.id}}</vn-td> <vn-td number>{{ticket.id}}</vn-td>
<vn-td number>{{ticket.landed | dateTime: 'dd/MM/yyyy'}}</vn-td> <vn-td>{{ticket.landed | dateTime: 'dd/MM/yyyy'}}</vn-td>
<vn-td number>{{ticket.agencyMode.name}}</vn-td> <vn-td>{{ticket.agencyMode.name}}</vn-td>
<vn-td number>{{ticket.warehouse.name}}</vn-td> <vn-td>{{ticket.warehouse.name}}</vn-td>
<vn-td number>{{ticket.state.state.name}}</vn-td> <vn-td>{{ticket.state.state.name}}</vn-td>
</vn-tr> </vn-tr>
</vn-tbody> </vn-tbody>
</vn-table> </vn-table>

View File

@ -1,4 +1,5 @@
import ngModule from '../module'; import ngModule from '../module';
import './style.scss';
class Controller { class Controller {
constructor($stateParams, $, $http, vnApp, $translate) { constructor($stateParams, $, $http, vnApp, $translate) {

View File

@ -115,7 +115,7 @@
<vn-dialog class="dialog-summary" <vn-dialog class="dialog-summary"
vn-id="addTurn"> vn-id="addTurn">
<tpl-body> <tpl-body>
<div> <div class="vn-pa-md">
<h5 style="text-align: center"> <h5 style="text-align: center">
<span translate>In which day you want to add the ticket?</span> <span translate>In which day you want to add the ticket?</span>
</h5> </h5>
@ -162,7 +162,9 @@
card-reload="$ctrl.cardReload()" card-reload="$ctrl.cardReload()"
ticket="$ctrl.ticket"> ticket="$ctrl.ticket">
</vn-add-stowaway> </vn-add-stowaway>
<vn-remove-stowaway vn-id="removeStowaway" card-reload="$ctrl.cardReload()" ticket="$ctrl.ticket"></vn-remove-stowaway> <vn-remove-stowaway vn-id="removeStowaway"
card-reload="$ctrl.cardReload()" ticket="$ctrl.ticket">
</vn-remove-stowaway>
<vn-confirm <vn-confirm
vn-id="confirm-dialog" vn-id="confirm-dialog"
on-response="$ctrl.returnDialog(response)" on-response="$ctrl.returnDialog(response)"

View File

@ -1,5 +1,11 @@
@import "variables"; @import "variables";
vn-add-stowaway {
vn-data-viewer {
width: 40em
}
}
vn-dialog.modal-form { vn-dialog.modal-form {
vn-horizontal.header { vn-horizontal.header {
background-color: $color-main; background-color: $color-main;
@ -10,12 +16,6 @@ vn-dialog.modal-form {
margin: 0 auto; margin: 0 auto;
} }
} }
tpl-body {
width: 100%;
}
table {
width: 100%
}
& > div { & > div {
padding: 0 !important; padding: 0 !important;
} }