mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Fixed new API key modal
This commit is contained in:
parent
89c6d6683a
commit
8c79cc4f8e
@ -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
|
||||
});
|
||||
});
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user