fixed color setting signature brightness to 0%

This commit is contained in:
Joan Sanchez 2019-02-11 13:53:11 +01:00
parent 0a5860e59c
commit 8e85fcc14c
4 changed files with 17 additions and 12 deletions

View File

@ -40,7 +40,7 @@
.panel {
position: relative;
margin-bottom: 20px;
margin-bottom: 15px;
padding-top: 10px;
break-inside: avoid;
break-before: always;
@ -130,7 +130,7 @@ table {
}
.column-oriented {
margin: 20px 0
margin-bottom: 15px
}
.column-oriented td,

View File

@ -1,10 +1,12 @@
#signature {
margin-top: 80px
padding-right: 10px
}
#signature img {
margin-bottom: 20px;
width: 150px
-webkit-filter: brightness(0%);
filter: brightness(0%);
margin-bottom: 10px;
max-width: 150px
}
#packagings {

View File

@ -175,14 +175,17 @@
</tfoot>
</table>
</section>
</section>
<section id="signature" class="panel dark" v-if="signature && signature.id">
<section class="header">Firma digital</section>
<section class="body centered">
<img v-bind:src="dmsPath"/>
<section>{{signature.created | date}}</section>
<section class="size50 pull-left">
<section id="signature" class="panel" v-if="signature && signature.id">
<section class="header">Firma digital</section>
<section class="body centered">
<img v-bind:src="dmsPath"/>
<section>{{signature.created | date}}</section>
</section>
</section>
</section>
</section>
</section>
<!-- Footer component -->
<report-footer id="pageFooter"

View File

@ -51,7 +51,7 @@ module.exports = {
}).format(parseFloat(input));
},
date(input) {
return strftime('%d-%m-%Y', input);
return strftime('%d-%m-%Y %H:%I:%S', input);
}
},
methods: {