mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
@using BTCPayServer.Storage.Models
|
|
@model BTCPayServer.Storage.ViewModels.ChooseStorageViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Services, "Storage");
|
|
}
|
|
|
|
<h2 class="mb-4">@ViewData["Title"]</h2>
|
|
|
|
@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" name="command" value="Save">Next</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|