Add cancel button and fix number input [SCI-7274] (#4478)

This commit is contained in:
ajugo 2022-09-29 14:45:10 +02:00 committed by GitHub
parent d9dc76c0f9
commit 69bc48fef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,8 @@
#modal-print-repository-row-label {
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
margin-left: 8px;
}
.id-label {
margin-left: .5em;
@ -17,7 +21,8 @@
.print-copies-input {
margin-left: .5em;
width: 50px;
text-align: right;
width: 100px;
}
.no-printers-container {

View file

@ -61,6 +61,7 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"> {{ i18n.t('general.cancel') }}</button>
<button class="btn btn-primary" @click="submitPrint" :disabled="!selectedPrinter || !selectedTemplate">
{{ i18n.t('repository_row.modal_print_label.print_label') }}
</button>