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 {
display: block;
width: 20em;
min-width: 20em;
}
& > button.close {
@extend %clickable;

View File

@ -1,6 +1,7 @@
#Ordenar alfabeticamente
Add sale: Añadir linea
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
Claimed ticket: Ticket reclamado
Delete claim: Eliminar reclamación

View File

@ -7,28 +7,28 @@
class="modal-form"
on-open="model.refresh()">
<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>
</vn-horizontal>
<vn-horizontal class="vn-pa-md vn-w-lg">
<vn-data-viewer class="vn-w-xs" model="model">
<vn-horizontal class="vn-pa-md"> <!-- FIXME: Dialog width -->
<vn-data-viewer model="model">
<vn-table model="model" auto-load="false">
<vn-thead>
<vn-tr>
<vn-th number>Ticket id</vn-th>
<vn-th number>Shipped</vn-th>
<vn-th number>Agency</vn-th>
<vn-th number>Warehouse</vn-th>
<vn-th number>State</vn-th>
<vn-th>Shipped</vn-th>
<vn-th>Agency</vn-th>
<vn-th>Warehouse</vn-th>
<vn-th>State</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<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.landed | dateTime: 'dd/MM/yyyy'}}</vn-td>
<vn-td number>{{ticket.agencyMode.name}}</vn-td>
<vn-td number>{{ticket.warehouse.name}}</vn-td>
<vn-td number>{{ticket.state.state.name}}</vn-td>
<vn-td>{{ticket.landed | dateTime: 'dd/MM/yyyy'}}</vn-td>
<vn-td>{{ticket.agencyMode.name}}</vn-td>
<vn-td>{{ticket.warehouse.name}}</vn-td>
<vn-td>{{ticket.state.state.name}}</vn-td>
</vn-tr>
</vn-tbody>
</vn-table>

View File

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

View File

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

View File

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