btcpayserver/BTCPayServer/Views/UIServer/Storage.cshtml
dstrukt c3f73c0de3
Content Consistency Updates (1.4.0) (#3316)
* updates

* updates

* updates

* updates

* updates

* moves api key CTA to top right

* updates

* more updates

* more updates

* Fix active state when "Account" is selected

* Update wording in subnav: Profile becomes Account

* Fix email test

* Update Emails wording

* Try to fix email test

* Make General first tab in store settings

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-18 10:19:27 +09:00

34 lines
1.1 KiB
Text

@using BTCPayServer.Storage.Models
@model BTCPayServer.Storage.ViewModels.ChooseStorageViewModel
@{
ViewData.SetActivePage(ServerNavPages.Services, "Storage");
}
<h3 class="mb-4">@ViewData["Title"]</h3>
@if (Model.ShowChangeWarning)
{
<div class="alert alert-danger mb-4">
If you change your configured storage provider, your current files will become inaccessible.
</div>
}
<div class="row">
<div class="col-lg-6">
<form method="post">
@if (!ViewContext.ModelState.IsValid)
{
<div asp-validation-summary="All" class="text-danger"></div>
}
<div class="form-group">
<label asp-for="Provider" class="form-label"></label>
<select asp-for="Provider" asp-items="@Model.ProvidersList" class="form-select"></select>
</div>
<button type="submit" class="btn btn-primary mt-2" name="command" value="Save">Next</button>
</form>
</div>
</div>
@section PageFootContent {
<partial name="_ValidationScriptsPartial" />
}