@using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Services @model BrandingViewModel; @inject IFileService FileService @{ ViewData.SetActivePage(ServerNavPages.Branding, "Branding"); var canUpload = await FileService.IsAvailable(); var themeExtension = ((ThemeExtension[])Enum.GetValues(typeof(ThemeExtension))).Select(t => new SelectListItem(typeof(ThemeExtension).DisplayName(t.ToString()), t == ThemeExtension.Custom ? null : t.ToString())); } @section PageFootContent { }

@ViewData["Title"]

You can give this server a custom name, which will appear on public facing pages.
Contact link for support requests related to this BTCPay Server instance. This link will appear on public facing pages. Can be any valid URI, such as a website, email, and Nostr.
@if (!string.IsNullOrEmpty(Model.LogoFileId)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.LogoFileId)) { Logo }
} else {
In order to upload a logo, a file storage must be configured.
}

Theme

Use the default Light or Dark Themes, or provide a custom CSS theme file below.

Adjust the design of your BTCPay Server instance to your needs.
@if (!string.IsNullOrEmpty(Model.CustomThemeCssUri)) {
} else {
@if (!string.IsNullOrEmpty(Model.CustomThemeFileId)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.CustomThemeFileId)) { Custom CSS }
} else {

In order to upload a theme file, a file storage must be configured.

}
}