2021-04-18 21:05:12 +02:00
|
|
|
@model BTCPayServer.Storage.Services.Providers.AmazonS3Storage.Configuration.AmazonS3StorageConfiguration
|
2019-04-22 09:41:20 +02:00
|
|
|
@{
|
2022-06-15 14:06:16 +02:00
|
|
|
ViewData.SetActivePage(ServerNavPages.Files, "Amazon S3 Storage");
|
2019-04-22 09:41:20 +02:00
|
|
|
}
|
|
|
|
|
2022-01-18 02:19:27 +01:00
|
|
|
<h3 class="mb-4">@ViewData["Title"]</h3>
|
2019-04-22 09:41:20 +02:00
|
|
|
|
|
|
|
<div class="row">
|
2022-06-15 14:06:16 +02:00
|
|
|
<div class="col-xl-10 col-xxl-constrain">
|
2019-04-22 09:41:20 +02:00
|
|
|
<form method="post">
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="ContainerName" class="form-label"></label>
|
2021-04-08 15:32:42 +02:00
|
|
|
<input class="form-control" asp-for="ContainerName"/>
|
2019-04-22 09:41:20 +02:00
|
|
|
<span asp-validation-for="ContainerName" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="SecretKey" class="form-label"></label>
|
2019-04-22 09:41:20 +02:00
|
|
|
<input class="form-control" asp-for="SecretKey"/>
|
|
|
|
<span asp-validation-for="SecretKey" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="Bucket" class="form-label"></label>
|
2019-04-22 09:41:20 +02:00
|
|
|
<input class="form-control" asp-for="Bucket"/>
|
|
|
|
<span asp-validation-for="Bucket" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="ServiceUrl" class="form-label"></label>
|
2019-04-22 09:41:20 +02:00
|
|
|
<input class="form-control" asp-for="ServiceUrl"/>
|
|
|
|
<span asp-validation-for="ServiceUrl" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="ServerSideEncryptionMethod" class="form-label"></label>
|
2019-04-22 09:41:20 +02:00
|
|
|
<input class="form-control" asp-for="ServerSideEncryptionMethod"/>
|
|
|
|
<span asp-validation-for="ServerSideEncryptionMethod" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="ProfileName" class="form-label"></label>
|
2019-04-22 09:41:20 +02:00
|
|
|
<input class="form-control" asp-for="ProfileName"/>
|
|
|
|
<span asp-validation-for="ProfileName" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-06-06 13:44:54 +02:00
|
|
|
<label asp-for="ChunkedUploadThreshold" class="form-label"></label>
|
2021-04-08 15:32:42 +02:00
|
|
|
<input class="form-control" type="number" asp-for="ChunkedUploadThreshold"/>
|
2019-04-22 09:41:20 +02:00
|
|
|
<span asp-validation-for="ChunkedUploadThreshold" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-primary" name="command" value="Save">Save</button>
|
2021-04-08 15:32:42 +02:00
|
|
|
<a asp-action="Storage" asp-route-forceChoice="true">Change Storage provider</a>
|
2019-04-22 09:41:20 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-05-19 04:39:27 +02:00
|
|
|
@section PageFootContent {
|
2021-04-08 15:32:42 +02:00
|
|
|
<partial name="_ValidationScriptsPartial" />
|
2019-04-22 09:41:20 +02:00
|
|
|
}
|