@using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Services @model BrandingViewModel; @inject IFileService FileService @{ ViewData.SetActivePage(ServerNavPages.Branding, StringLocalizer["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 { }
You can give this server a custom name, which will appear on public facing pages.
Add an email address or an external URL where users can contact you for support requests through a "Contact Us" button, displayed at the bottom of the public facing pages.
@if (!string.IsNullOrEmpty(Model.LogoUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.LogoUrl)) { Logo }
} else {
@ViewLocalizer["In order to upload, a {0} must be configured.", Html.ActionLink(StringLocalizer["file storage"], "Files", "UIServer")]
}

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.CustomThemeCssUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.CustomThemeCssUrl)) { Custom CSS }
} else {
@ViewLocalizer["In order to upload, a {0} must be configured.", Html.ActionLink(StringLocalizer["file storage"], "Files", "UIServer")]
}