mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
Updated configurator
This commit is contained in:
parent
c4adc5b297
commit
8c770536c0
@ -60,6 +60,11 @@
|
||||
<input type="text" id="inputCustomLogo" class="form-control">
|
||||
<small class="text-body-secondary">Default size: 204x48</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputCustomSmallLogo">Custom Small Logo URL</label>
|
||||
<input type="text" id="inputCustomSmallLogo" class="form-control">
|
||||
<small class="text-body-secondary">Default size: 48x48</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputMOTD">Message Of The Day</label>
|
||||
<input type="text" id="inputMOTD" class="form-control">
|
||||
@ -311,6 +316,9 @@ function generateConfig(){
|
||||
if ($('#inputCustomLogo').val().trim() != ''){
|
||||
windowConfig["LUBELOGGER_LOGO_URL"] = $("#inputCustomLogo").val();
|
||||
}
|
||||
if ($('#inputCustomSmallLogo').val().trim() != ''){
|
||||
windowConfig["LUBELOGGER_SMALL_LOGO_URL"] = $("#inputCustomSmallLogo").val();
|
||||
}
|
||||
if ($('#inputMOTD').val().trim() != '') {
|
||||
windowConfig["LUBELOGGER_MOTD"] = $("#inputMOTD").val();
|
||||
}
|
||||
@ -391,6 +399,9 @@ function generateConfig(){
|
||||
if ($('#inputCustomLogo').val().trim() != ''){
|
||||
dockerConfig.push(`LUBELOGGER_LOGO_URL="${$('#inputCustomLogo').val()}"`);
|
||||
}
|
||||
if ($('#inputCustomSmallLogo').val().trim() != ''){
|
||||
dockerConfig.push(`LUBELOGGER_SMALL_LOGO_URL="${$('#inputCustomSmallLogo').val()}"`);
|
||||
}
|
||||
if ($('#inputMOTD').val().trim() != '') {
|
||||
dockerConfig.push(`LUBELOGGER_MOTD="${$('#inputMOTD').val()}"`);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user