mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Fixed new API key modal
This commit is contained in:
@@ -77,7 +77,7 @@ $(".apikey-show-qr-button").on("click", function()
|
|||||||
}
|
}
|
||||||
|
|
||||||
bootbox.alert({
|
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
|
closeButton: false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -4,14 +4,6 @@
|
|||||||
|
|
||||||
@section('title', $__t('API keys'))
|
@section('title', $__t('API keys'))
|
||||||
|
|
||||||
@push('pageStyles')
|
|
||||||
<style>
|
|
||||||
.modal-body {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@endpush
|
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
@@ -158,7 +150,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="name">{{ $__t('Name') }}</label>
|
<label for="name">{{ $__t('Description') }}</label>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="description"
|
id="description"
|
||||||
|
Reference in New Issue
Block a user