Rename modern to default theme

This commit is contained in:
Dennis Reimann
2020-04-05 13:13:19 +02:00
committed by Kukks
parent 48c220b751
commit c205e41072
3 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ namespace BTCPayServer.HostedServices
public void Update(ThemeSettings data)
{
if (String.IsNullOrWhiteSpace(data.ThemeCssUri))
_themeUri = "/main/themes/classic.css";
_themeUri = "/main/themes/default.css";
else
_themeUri = data.ThemeCssUri;

View File

@@ -18,8 +18,8 @@
<div class="form-group">
<label asp-for="ThemeCssUri"></label>
<select asp-for="ThemeCssUri" class="form-control">
<option value="/main/themes/default.css">Default</option>
<option value="/main/themes/classic.css">Classic</option>
<option value="/main/themes/modern.css">Modern</option>
<option value="/main/themes/casa.css">Casa</option>
</select>
<span asp-validation-for="ThemeCssUri" class="text-danger"></span>