mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-10 08:44:23 +01:00
Adding Bootstrap theme uri field to settings
This commit is contained in:
@@ -15,5 +15,8 @@ namespace BTCPayServer.Services
|
||||
|
||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
||||
public bool LockSubscription { get; set; }
|
||||
|
||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
||||
public string CustomBootstrapThemeCssUri { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,15 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<form method="post">
|
||||
<div class="form-group">
|
||||
<label asp-for="CustomBootstrapThemeCssUri"></label>
|
||||
<input asp-for="CustomBootstrapThemeCssUri" class="form-control" />
|
||||
<span asp-validation-for="CustomBootstrapThemeCssUri" class="text-danger"></span>
|
||||
<p class="form-text text-muted">
|
||||
<a href="https://bootstrap.build/app/v4.0/" target="_blank">Build your own theme</a>
|
||||
or <a href="https://bootswatch.com/" target="_blank">pick one already made</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="RequiresConfirmedEmail"></label>
|
||||
<input asp-for="RequiresConfirmedEmail" type="checkbox" class="form-check-inline" />
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
@* CSS *@
|
||||
<bundle name="wwwroot/bundles/main-bundle.min.css" />
|
||||
|
||||
|
||||
|
||||
@* JS *@
|
||||
<bundle name="wwwroot/bundles/main-bundle.min.js" />
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user