Fixed new API key modal

This commit is contained in:
Bernd Bestel 2023-05-23 21:22:54 +02:00
parent 89c6d6683a
commit 8c79cc4f8e
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 2 additions and 10 deletions

View File

@ -77,7 +77,7 @@ $(".apikey-show-qr-button").on("click", function()
}
bootbox.alert({
message: "<h1>" + __t("API key") + "</h1><h2 class='text-muted'>" + apiKeyDescription + "</h2><p><hr>" + QrCodeImgHtml(content) + "</p>",
message: "<div class='text-center'><h1>" + __t("API key") + "</h1><h2 class='text-muted'>" + apiKeyDescription + "</h2><p><hr>" + QrCodeImgHtml(content) + "</p></div>",
closeButton: false
});
});

View File

@ -4,14 +4,6 @@
@section('title', $__t('API keys'))
@push('pageStyles')
<style>
.modal-body {
text-align: center;
}
</style>
@endpush
@section('content')
<div class="row">
<div class="col">
@ -158,7 +150,7 @@
</div>
<div class="modal-body">
<div class="form-group">
<label for="name">{{ $__t('Name') }}</label>
<label for="name">{{ $__t('Description') }}</label>
<input type="text"
class="form-control"
id="description"