mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
58f9b9b0c1
closes #1624
129 lines
4.1 KiB
Plaintext
129 lines
4.1 KiB
Plaintext
@{
|
|
Layout = null;
|
|
}
|
|
@inject BTCPayServer.Services.BTCPayServerEnvironment env
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<partial name="Header" />
|
|
|
|
<link href="~/main/fonts/Montserrat.css" rel="stylesheet" asp-append-version="true">
|
|
<style>
|
|
.content-wrapper {
|
|
padding: 70px 0;
|
|
}
|
|
|
|
@@media screen and (min-width: 768px) {
|
|
.content-wrapper {
|
|
padding: 100px 0;
|
|
}
|
|
}
|
|
|
|
.col-head {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
@@media screen and (min-width: 768px) {
|
|
.col-head {
|
|
text-align: left;
|
|
flex-direction: row;
|
|
justify-content: start;
|
|
}
|
|
}
|
|
|
|
.head-logo {
|
|
height: 70px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
@@media screen and (min-width: 768px) {
|
|
.head-logo {
|
|
height: 100px;
|
|
margin-bottom: 0;
|
|
margin-right: 50px;
|
|
}
|
|
}
|
|
|
|
.lead-title {
|
|
font-family: Montserrat;
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
font-size: 24px;
|
|
line-height: 1.2;
|
|
/* or 150% */
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
@@media screen and (min-width: 768px) {
|
|
.lead-title {
|
|
font-size: 40px;
|
|
}
|
|
}
|
|
|
|
.lead-login {
|
|
font-family: Montserrat;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-size: 18px;
|
|
line-height: 33px;
|
|
/* or 183% */
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
.lead-h {
|
|
font-family: Montserrat;
|
|
font-style: normal;
|
|
margin-bottom: 30px;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
/* identical to box height, or 129% */
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<section class="content-wrapper">
|
|
<!-- Dummy navbar-brand, hackish way to keep test AssertNoError passing -->
|
|
<div class="navbar-brand" style="display:none;"></div>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12 col-head">
|
|
<a asp-controller="Home" asp-action="Index"><img src="~/img/btcpay-logo.svg" alt="BTCPay Server" class="head-logo" asp-append-version="true" /></a>
|
|
<h1 class="lead-title text-uppercase">Welcome to your BTCPay Server</h1>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-7 order-md-1 order-2">
|
|
<hr class="primary ml-0" style="margin:30px auto;">
|
|
<p class="lead-login" style="margin-bottom:69px;">BTCPay Server is a self-hosted, open-source cryptocurrency payment processor. It is secure, private, censorship-resistant and free.</p>
|
|
<partial name="_BTCPaySupporters"/>
|
|
</div>
|
|
<div class="col-md-5 order-md-2 order-1">
|
|
@RenderBody()
|
|
|
|
@if (env.OnionUrl != null)
|
|
{
|
|
<div class="input-group form-group">
|
|
<div class="input-group-prepend">
|
|
<a href="@env.OnionUrl" class="input-group-text">
|
|
<span class="input-group-addon"></span>
|
|
<img src="~/img/icons/Onion_Color.svg" height="16" asp-append-version="true" />
|
|
</a>
|
|
</div>
|
|
<input class="form-control" onClick="this.select();" type="text" style="font-size:0.75em;" value="@env.OnionUrl" readonly>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
|
</body>
|
|
</html>
|