mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
c62018f984
* adds pay button icon adds more update icons * reduces update app titles * capitalize PP * more icons notification icon update adds more * Truncate long titles in nav * Adjust "off" color state for the wallet/lightning * Theme switch alignment * Update store selector * adds more space in store selector span * Prevent form zoom on mobile Safari * updates lightning + settings view * updates store icon * adjusts notification icon * removes notifications setting button icon * Update status colors * Fix Lightning nav markup * Prevent icons from shrinking * Move main menu styles to css * Remove max-width container for content area * Update headlines * Use fixed header on mobile * Extract custom pills component * Form field update Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
@model CreateAppViewModel
|
|
@{
|
|
ViewData.SetActivePage(AppsNavPages.Create, "Create a new app");
|
|
}
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|
|
|
|
<partial name="_StatusMessage" />
|
|
|
|
<h2 class="mt-1 mb-4">@ViewData["Title"]</h2>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<form asp-action="CreateApp">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
<div class="form-group">
|
|
<label asp-for="SelectedAppType" class="form-label" data-required></label>
|
|
<select asp-for="SelectedAppType" asp-items="Model.AppTypes" class="form-select"></select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="AppName" class="form-label" data-required></label>
|
|
<input asp-for="AppName" class="form-control" required />
|
|
<span asp-validation-for="AppName" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group mt-4">
|
|
<input type="submit" value="Create" class="btn btn-primary" id="Create" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|