btcpayserver/BTCPayServer/Views/UIServer/EditAmazonS3StorageProvider.cshtml
d11n c56821300a
Server Settings: Consolidate Storage and Files (#3863)
* Server Settings: Consolidate Storage and Files

* Improve storage options name display

* Remove file services from services page

* Remove more code
2022-06-15 21:06:16 +09:00

56 lines
2.6 KiB
Plaintext

@model BTCPayServer.Storage.Services.Providers.AmazonS3Storage.Configuration.AmazonS3StorageConfiguration
@{
ViewData.SetActivePage(ServerNavPages.Files, "Amazon S3 Storage");
}
<h3 class="mb-4">@ViewData["Title"]</h3>
<div class="row">
<div class="col-xl-10 col-xxl-constrain">
<form method="post">
<div class="form-group">
<label asp-for="ContainerName" class="form-label"></label>
<input class="form-control" asp-for="ContainerName"/>
<span asp-validation-for="ContainerName" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="SecretKey" class="form-label"></label>
<input class="form-control" asp-for="SecretKey"/>
<span asp-validation-for="SecretKey" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Bucket" class="form-label"></label>
<input class="form-control" asp-for="Bucket"/>
<span asp-validation-for="Bucket" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="ServiceUrl" class="form-label"></label>
<input class="form-control" asp-for="ServiceUrl"/>
<span asp-validation-for="ServiceUrl" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="ServerSideEncryptionMethod" class="form-label"></label>
<input class="form-control" asp-for="ServerSideEncryptionMethod"/>
<span asp-validation-for="ServerSideEncryptionMethod" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="ProfileName" class="form-label"></label>
<input class="form-control" asp-for="ProfileName"/>
<span asp-validation-for="ProfileName" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="ChunkedUploadThreshold" class="form-label"></label>
<input class="form-control" type="number" asp-for="ChunkedUploadThreshold"/>
<span asp-validation-for="ChunkedUploadThreshold" class="text-danger"></span>
</div>
<button type="submit" class="btn btn-primary" name="command" value="Save">Save</button>
<a asp-action="Storage" asp-route-forceChoice="true">Change Storage provider</a>
</form>
</div>
</div>
@section PageFootContent {
<partial name="_ValidationScriptsPartial" />
}