mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 14:50:50 +01:00
43 lines
1.5 KiB
Text
43 lines
1.5 KiB
Text
@model BTCPayServer.Storage.ViewModels.ChooseStorageViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Files, "Storage Provider");
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item">
|
|
<a asp-action="Files">Files</a>
|
|
</li>
|
|
<li class="breadcrumb-item active" aria-current="page">@ViewData["Title"]</li>
|
|
</ol>
|
|
<h2 text-translate="true">@ViewData["Title"]</h2>
|
|
</nav>
|
|
<button id="page-primary" type="submit" class="btn btn-primary" name="command" value="Save">Next</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="row">
|
|
<div class="col-xl-10 col-xxl-constrain">
|
|
@if (Model.ShowChangeWarning)
|
|
{
|
|
<div class="alert alert-danger mb-4">
|
|
If you change your configured storage provider, your current files will become inaccessible.
|
|
</div>
|
|
}
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All"></div>
|
|
}
|
|
<div class="form-group">
|
|
<label asp-for="Provider" class="form-label"></label>
|
|
<select asp-for="Provider" asp-items="@Model.ProvidersList" class="form-select w-auto"></select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|