mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
add small logo url
This commit is contained in:
parent
b0a5cab2b6
commit
725638d217
@ -4,24 +4,43 @@ namespace CarCareTracker.Models
|
||||
{
|
||||
public class ServerConfig
|
||||
{
|
||||
[JsonPropertyName("POSTGRES_CONNECTION")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? PostgresConnection { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_ALLOWED_FILE_EXTENSIONS")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? AllowedFileExtensions { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_LOGO_URL")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? CustomLogoURL { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_LOGO_SMALL_URL")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? CustomSmallLogoURL { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_MOTD")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? MessageOfTheDay { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_WEBHOOK")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public string? WebHookURL { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_CUSTOM_WIDGETS")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public bool? CustomWidgetsEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("LUBELOGGER_INVARIANT_API")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public bool? InvariantAPIEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("MailConfig")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public MailConfig? SMTPConfig { get; set; }
|
||||
|
||||
[JsonPropertyName("OpenIDConfig")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public OpenIDConfig? OIDCConfig { get; set; }
|
||||
}
|
||||
|
||||
@ -37,6 +37,14 @@
|
||||
<input type="text" readonly id="inputLogoURL" class="form-control" placeholder="@translator.Translate(userLanguage, "Not Configured")" value="@Model.CustomLogoURL">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<div class="col-md-6 col-12">
|
||||
<label for="inputSmallLogoURL">@translator.Translate(userLanguage, "Small Logo URL")</label>
|
||||
</div>
|
||||
<div class="col-md-6 col-12">
|
||||
<input type="text" readonly id="inputSmallLogoURL" class="form-control" placeholder="@translator.Translate(userLanguage, "Not Configured")" value="@Model.CustomSmallLogoURL">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<div class="col-md-6 col-12">
|
||||
<label for="inputMOTD">@translator.Translate(userLanguage, "Message of the Day")</label>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user