mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
fix broken links
This commit is contained in:
parent
9ccb472c7a
commit
b7503c994c
5 changed files with 65 additions and 47 deletions
|
@ -33,7 +33,10 @@
|
||||||
|
|
||||||
@if (!Model.WalletFileFound || Model.Summary.WalletHeight == default(long))
|
@if (!Model.WalletFileFound || Model.Summary.WalletHeight == default(long))
|
||||||
{
|
{
|
||||||
<form method="post" asp-action="GetStoreMoneroLikePaymentMethod" class="mt-4" enctype="multipart/form-data">
|
<form method="post" asp-action="GetStoreMoneroLikePaymentMethod"
|
||||||
|
asp-route-storeId="@this.Context.GetRouteValue("storeId")"
|
||||||
|
asp-route-cryptoCode="@this.Context.GetRouteValue("cryptoCode")"
|
||||||
|
class="mt-4" enctype="multipart/form-data">
|
||||||
|
|
||||||
<div class="card my-2">
|
<div class="card my-2">
|
||||||
<h3 class="card-title p-2">Upload Wallet</h3>
|
<h3 class="card-title p-2">Upload Wallet</h3>
|
||||||
|
@ -58,7 +61,10 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
}
|
}
|
||||||
<form method="post" asp-action="GetStoreMoneroLikePaymentMethod" class="mt-4" enctype="multipart/form-data">
|
<form method="post" asp-action="GetStoreMoneroLikePaymentMethod"
|
||||||
|
asp-route-storeId="@this.Context.GetRouteValue("storeId")"
|
||||||
|
asp-route-cryptoCode="@this.Context.GetRouteValue("cryptoCode")"
|
||||||
|
class="mt-4" enctype="multipart/form-data">
|
||||||
|
|
||||||
<input type="hidden" asp-for="CryptoCode"/>
|
<input type="hidden" asp-for="CryptoCode"/>
|
||||||
@if (!Model.WalletFileFound || Model.Summary.WalletHeight == default(long))
|
@if (!Model.WalletFileFound || Model.Summary.WalletHeight == default(long))
|
||||||
|
@ -100,7 +106,13 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="submit" class="btn btn-primary" id="SaveButton">Save</button>
|
<button type="submit" class="btn btn-primary" id="SaveButton">Save</button>
|
||||||
|
|
||||||
<a class="btn btn-secondary" asp-action="GetStoreMoneroLikePaymentMethods" asp-controller="MoneroLikeStore">Back to list</a>
|
<a class="btn btn-secondary" asp-action="GetStoreMoneroLikePaymentMethods"
|
||||||
|
|
||||||
|
asp-route-storeId="@this.Context.GetRouteValue("storeId")"
|
||||||
|
asp-route-cryptoCode="@this.Context.GetRouteValue("cryptoCode")"
|
||||||
|
asp-controller="MoneroLikeStore">
|
||||||
|
Back to list
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -46,7 +46,11 @@
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a id="Modify" asp-action="GetStoreMoneroLikePaymentMethod" asp-route-cryptoCode="@item.CryptoCode">Modify</a>
|
<a id="Modify" asp-action="GetStoreMoneroLikePaymentMethod"
|
||||||
|
asp-route-storeId="@this.Context.GetRouteValue("storeId")"
|
||||||
|
asp-route-cryptoCode="@item.CryptoCode">
|
||||||
|
Modify
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
@using BTCPayServer.Controllers
|
|
||||||
@using BTCPayServer.Services.Altcoins.Monero.Configuration
|
@using BTCPayServer.Services.Altcoins.Monero.Configuration
|
||||||
@using BTCPayServer.Services.Altcoins.Monero.UI
|
@using BTCPayServer.Services.Altcoins.Monero.UI
|
||||||
@inject SignInManager<ApplicationUser> SignInManager;
|
@inject SignInManager<ApplicationUser> SignInManager;
|
||||||
|
@ -9,5 +8,5 @@
|
||||||
}
|
}
|
||||||
@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroLikeConfiguration.MoneroLikeConfigurationItems.Any())
|
@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroLikeConfiguration.MoneroLikeConfigurationItems.Any())
|
||||||
{
|
{
|
||||||
<a class="nav-link @(isMonero ? "active" : string.Empty)" asp-action="GetStoreMoneroLikePaymentMethods" asp-controller="MoneroLikeStore">Monero</a>
|
<a class="nav-link @(isMonero ? "active" : string.Empty)" asp-route-storeId="@this.Context.GetRouteValue("storeId")" asp-action="GetStoreMoneroLikePaymentMethods" asp-controller="MoneroLikeStore">Monero</a>
|
||||||
}
|
}
|
||||||
|
|
|
@ -203,7 +203,7 @@
|
||||||
<span class="fa fa-times"></span>
|
<span class="fa fa-times"></span>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right"><a asp-action="@scheme.Action" id='Modify-@scheme.Provider'>Modify</a></td>
|
<td class="text-right"><a asp-action="@scheme.Action" id='Modify-@scheme.Provider' asp-route-storeId="@this.Context.GetRouteValue("storeId")">Modify</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
<td>
|
<td>
|
||||||
Email
|
Email
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:right"><a asp-action="Emails" >Modify</a></td>
|
<td style="text-align:right"><a asp-action="Emails" asp-route-storeId="@this.Context.GetRouteValue("storeId")">Modify</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -103,6 +103,7 @@
|
||||||
>
|
>
|
||||||
@label.Value
|
@label.Value
|
||||||
<form
|
<form
|
||||||
|
asp-route-walletId="@this.Context.GetRouteValue("walletId")"
|
||||||
asp-action="ModifyTransaction"
|
asp-action="ModifyTransaction"
|
||||||
method="post"
|
method="post"
|
||||||
class="removeTransactionLabelForm"
|
class="removeTransactionLabelForm"
|
||||||
|
@ -136,7 +137,8 @@
|
||||||
<div class="dropdown" style="display:inline-block;">
|
<div class="dropdown" style="display:inline-block;">
|
||||||
<span class="fa fa-tags" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
<span class="fa fa-tags" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
<form asp-action="ModifyTransaction" method="post">
|
<form asp-action="ModifyTransaction" method="post"
|
||||||
|
asp-route-walletId="@this.Context.GetRouteValue("walletId")">
|
||||||
<input type="hidden" name="transactionId" value="@transaction.Id" />
|
<input type="hidden" name="transactionId" value="@transaction.Id" />
|
||||||
<div class="dropdown-item input-group">
|
<div class="dropdown-item input-group">
|
||||||
<input name="addlabel" placeholder="Label name" maxlength="20" type="text" class="form-control form-control-sm" />
|
<input name="addlabel" placeholder="Label name" maxlength="20" type="text" class="form-control form-control-sm" />
|
||||||
|
@ -169,7 +171,8 @@
|
||||||
<span class="fa fa-commenting" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
<span class="fa fa-commenting" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
||||||
}
|
}
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
<form asp-action="ModifyTransaction" method="post">
|
<form asp-action="ModifyTransaction" method="post"
|
||||||
|
asp-route-walletId="@this.Context.GetRouteValue("walletId")">
|
||||||
<input type="hidden" name="transactionId" value="@transaction.Id" />
|
<input type="hidden" name="transactionId" value="@transaction.Id" />
|
||||||
<textarea name="addcomment" class="dropdown-item" maxlength="200" rows="2" cols="20">@transaction.Comment</textarea>
|
<textarea name="addcomment" class="dropdown-item" maxlength="200" rows="2" cols="20">@transaction.Comment</textarea>
|
||||||
<div class="dropdown-item"><button type="submit" class="btn btn-primary">Save comment</button></div>
|
<div class="dropdown-item"><button type="submit" class="btn btn-primary">Save comment</button></div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue