Tarea #401 Links con texto subrayado

This commit is contained in:
gerard 2018-07-19 11:32:33 +02:00
parent fffa27d621
commit 000af8169f
8 changed files with 25 additions and 13 deletions

View File

@ -17,7 +17,12 @@ input[type=reset]::-moz-focus-inner
{ {
border: none; border: none;
} }
.link{
text-decoration: underline;
&:hover{
color: $main-01;
}
}
.form { .form {
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;

View File

@ -37,7 +37,8 @@
<td rowspan="{{ <td rowspan="{{
::sale.components.length + 1 ::sale.components.length + 1
}}" number pointer }}" number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)">{{::sale.itemFk}}</td> ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">{{("000000"+sale.itemFk).slice(-6)}}</td>
<td rowspan="{{ <td rowspan="{{
::sale.components.length + 1 ::sale.components.length + 1
}}"><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></td> }}"><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></td>

View File

@ -34,8 +34,9 @@
ng-click="$ctrl.deleteExpedition(expedition)">delete</i> ng-click="$ctrl.deleteExpedition(expedition)">delete</i>
</vn-td> </vn-td>
<vn-td pointer number <vn-td pointer number
ng-click="$ctrl.showDescriptor($event, expedition.item.id)"> ng-click="$ctrl.showDescriptor($event, expedition.item.id)"
{{::expedition.itemFk}} class="link">
{{("000000"+expedition.itemFk).slice(-6)}}
</vn-td> </vn-td>
<vn-td>{{::expedition.item.name}}</vn-td> <vn-td>{{::expedition.item.name}}</vn-td>
<vn-td>{{::expedition.box.name}}</vn-td> <vn-td>{{::expedition.box.name}}</vn-td>

View File

@ -28,8 +28,9 @@
</vn-check> </vn-check>
</vn-td> </vn-td>
<vn-td number pointer <vn-td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"> ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
{{::sale.itemFk}} class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td> </vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td> <vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td number>{{::sale.quantity}}</vn-td> <vn-td number>{{::sale.quantity}}</vn-td>

View File

@ -33,8 +33,10 @@
ng-if="sale.quantity != sale.originalQuantity" ng-if="sale.quantity != sale.originalQuantity"
vn-tooltip="The quantity do not match"></vn-icon> vn-tooltip="The quantity do not match"></vn-icon>
</vn-td> </vn-td>
<vn-td number pointer ng-click="$ctrl.showDescriptor($event, sale.itemFk)"> <vn-td number pointer
{{::sale.itemFk}} ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td> </vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td> <vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td>{{::sale.quantity}}</vn-td> <vn-td>{{::sale.quantity}}</vn-td>

View File

@ -88,8 +88,8 @@
on-error-src/> on-error-src/>
</vn-td> </vn-td>
<vn-td ng-click="$ctrl.showDescriptor($event, sale.itemFk)" <vn-td ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
pointer number> pointer number class="link">
{{::sale.itemFk}} {{("000000"+sale.itemFk).slice(-6)}}
</vn-td> </vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td> <vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td ng-if="!$ctrl.isEditable" number>{{sale.quantity}}</vn-td> <vn-td ng-if="!$ctrl.isEditable" number>{{sale.quantity}}</vn-td>

View File

@ -74,7 +74,8 @@
<vn-icon ng-show="sale.reserved" icon="icon-reserved"></vn-icon> <vn-icon ng-show="sale.reserved" icon="icon-reserved"></vn-icon>
</td> </td>
<td number pointer <td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"> ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
class="link">
{{("000000"+sale.itemFk).slice(-6)}} {{("000000"+sale.itemFk).slice(-6)}}
</td> </td>
<td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></td> <td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></td>

View File

@ -31,8 +31,9 @@
<vn-tbody> <vn-tbody>
<vn-tr ng-repeat="sale in sales"> <vn-tr ng-repeat="sale in sales">
<vn-td number pointer <vn-td number pointer
ng-click="$ctrl.showDescriptor($event, sale.itemFk)"> ng-click="$ctrl.showDescriptor($event, sale.itemFk)"
{{::sale.itemFk}} class="link">
{{("000000"+sale.itemFk).slice(-6)}}
</vn-td> </vn-td>
<vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td> <vn-td><vn-fetched-tags concept="sale.concept" tags="sale.item.tags"/></vn-td>
<vn-td number>{{::sale.quantity}}</vn-td> <vn-td number>{{::sale.quantity}}</vn-td>