mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-26 23:49:57 +01:00
* Remove xxl breakpoint * Remove code bg * Form updates * Update PoS accordion * Update forms * Fix webhook password toggle * Update highlight js styles * Page updates * Style unformatted checkboxes * Fix typo * Update accordions * Update policies domain mapping * Update toggles and checkboxes * Update storage pages * Fix specter logo filename casing * Update checkout experience view * Update webhook view * Re-add used negative margins * Update bootstrap * POS layout fixes * Decrease size of info icon in main headline * Update BTCPayServer/Views/Stores/ModifyWebhook.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
66 lines
3.3 KiB
Text
66 lines
3.3 KiB
Text
@model BTCPayServer.Services.ThemeSettings
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ServerNavPages.Theme, "Theme");
|
|
}
|
|
|
|
<h2 class="mb-4">@ViewData["PageTitle"]</h2>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<form method="post">
|
|
<h4 class="mb-3">Custom theme</h4>
|
|
<p>Select one of our predefined themes. Optionally you can also provide a CSS file that customizes the chosen theme.</p>
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
}
|
|
<div class="form-group">
|
|
<label asp-for="ThemeCssUri" class="form-label"></label>
|
|
<select asp-for="ThemeCssUri" class="form-select">
|
|
<option value="/main/themes/default.css">Default (Light)</option>
|
|
<option value="/main/themes/default-dark.css">Default (Dark)</option>
|
|
<option value="/main/themes/classic.css">Classic</option>
|
|
<option value="/main/themes/casa.css">Casa</option>
|
|
</select>
|
|
<span asp-validation-for="ThemeCssUri" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group mb-5">
|
|
<label asp-for="CustomThemeCssUri" class="form-label"></label>
|
|
<a href="https://docs.btcpayserver.org/Theme/#1-custom-themes" target="_blank">
|
|
<span class="fa fa-question-circle-o text-secondary" title="More information..."></span>
|
|
</a>
|
|
<input asp-for="CustomThemeCssUri" class="form-control" />
|
|
<span asp-validation-for="CustomThemeCssUri" class="text-danger"></span>
|
|
</div>
|
|
|
|
<h4 class="mb-3">Bootstrap theme</h4>
|
|
<div class="form-group">
|
|
<label asp-for="BootstrapCssUri" class="form-label"></label>
|
|
<a href="https://docs.btcpayserver.org/Theme/#2-bootstrap-themes" target="_blank">
|
|
<span class="fa fa-question-circle-o text-secondary" title="More information..."></span>
|
|
</a>
|
|
<input asp-for="BootstrapCssUri" class="form-control" />
|
|
<span asp-validation-for="BootstrapCssUri" class="text-danger"></span>
|
|
<p class="form-text text-muted">
|
|
<a href="https://pikock.github.io/bootstrap-magic/app/index.html" 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="CreativeStartCssUri" class="form-label"></label>
|
|
<input asp-for="CreativeStartCssUri" class="form-control" />
|
|
<span asp-validation-for="CreativeStartCssUri" class="text-danger"></span>
|
|
<p class="form-text text-muted">
|
|
<a href="https://startbootstrap.com/template-overviews/creative/" target="_blank">Creative Start theme</a>
|
|
is used on top of Bootstrap
|
|
</p>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary" name="command" value="Save">Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|