mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
c56821300a
* Server Settings: Consolidate Storage and Files * Improve storage options name display * Remove file services from services page * Remove more code
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
@model BTCPayServer.Storage.ViewModels.ChooseStorageViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Files, "Storage");
|
|
}
|
|
|
|
<h3 class="mb-4">@ViewData["Title"]</h3>
|
|
|
|
<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>
|
|
}
|
|
<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 w-auto"></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" />
|
|
}
|