Merge pull request #1437 from dennisreimann/manage-store-spacings

Improve section spacings on manage store page
This commit is contained in:
Nicolas Dorier 2020-04-06 17:35:05 +09:00 committed by GitHub
commit 3f231a8894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@
<div class="row">
<div class="col-md-8">
<form method="post">
<div class="mb-5">
<div class="form-group">
<label asp-for="Id"></label>
<input asp-for="Id" readonly class="form-control" />
@ -81,18 +82,17 @@
</select>
<span asp-validation-for="SpeedPolicy" class="text-danger"></span>
</div>
<div class="form-check">
<div class="form-check mb-5">
<input asp-for="PayJoinEnabled" type="checkbox" class="form-check-input"/>
<label asp-for="PayJoinEnabled" class="form-check-label"></label>
<span asp-validation-for="PayJoinEnabled" class="text-danger"></span>
</div>
<div class="form-group">
<h5>Derivation Scheme</h5>
<span>The DerivationScheme represents the destination of the funds received by your invoice on chain.</span>
</div>
<div class="form-group">
<table class="table table-sm table-responsive-md">
<h5>Derivation Scheme</h5>
<p>The Derivation Scheme represents the destination of the funds received by your invoice on chain.</p>
<table class="table table-sm table-responsive-md mt-0 mb-5">
<thead>
<tr>
<th>Crypto</th>
@ -135,17 +135,14 @@
}
</tbody>
</table>
</div>
<div class="form-group">
<div class="form-group">
<h5>Lightning nodes (Experimental)</h5>
<p>
<span>A connection to a lightning charge node is required to generate lightning network enabled invoices.<br /></span>
<span>This is experimental and not advised for production.</span>
A connection to a lightning charge node is required to generate lightning network enabled invoices.
<br />
This is experimental and not advised for production.
</p>
</div>
<div class="form-group">
<table class="table table-sm table-responsive-md">
<thead>
<tr>
@ -176,23 +173,19 @@
}
</tbody>
</table>
</div>
</div>
<div class="form-group">
<div class="form-group mb-5">
<label asp-for="LightningDescriptionTemplate"></label>
<input asp-for="LightningDescriptionTemplate" class="form-control" />
<span asp-validation-for="LightningDescriptionTemplate" class="text-danger"></span>
<p class="form-text text-muted">
Available placeholders are: {StoreName}, {ItemDescription} and {OrderId}
Available placeholders:
<code>{StoreName} {ItemDescription} {OrderId}</code>
</p>
</div>
<div class="form-group">
<div class="form-group">
<h5>Additional Payment methods</h5>
</div>
<div class="form-group">
<table class="table table-sm table-responsive-md">
<table class="table table-sm table-responsive-md mt-1 mb-5">
<thead>
<tr>
<th>Provider</th>
@ -220,14 +213,9 @@
}
</tbody>
</table>
</div>
</div>
<div class="form-group">
<div class="form-group">
<h5>Services</h5>
</div>
<div class="form-group">
<table class="table table-sm table-responsive-md">
<table class="table table-sm table-responsive-md mt-1 mb-5">
<thead>
<tr>
<th>Service</th>
@ -243,17 +231,14 @@
</tr>
</tbody>
</table>
</div>
</div>
@if(Model.CanDelete)
{
<div class="form-group">
<h5>Other actions...</h5>
<p><a href="#danger-zone" data-toggle="collapse"><b>Click here to see more actions</b></a></p>
<div id="danger-zone" class="collapse">
<a class="btn btn-outline-danger form-control" asp-action="DeleteStore" asp-route-storeId="@Model.Id">Delete this store</a>
</div>
</div>
}
<button name="command" type="submit" class="btn btn-primary" value="Save" id="Save">Save</button>
</form>