Remotely/Server/Pages/_IndexNotLoggedIn.cshtml
2021-07-29 07:56:55 -07:00

37 lines
904 B
Plaintext

@inject Remotely.Server.Services.IApplicationConfig AppConfig
@model IndexModel
<div class="text-center mt-5" style="margin-bottom:150px">
<h1 id="remotelyHeader">
</h1>
<div class="lead">
Welcome. Please log in@(Model.RegistrationAvailable ? " or register" : "").
</div>
<div class="mt-5">
<a href="~/Identity/Account/Login" class="btn btn-primary btn-lg">
Login
</a>
@if (Model.RegistrationAvailable)
{
<br />
<br />
<a href="~/Identity/Account/Register" class="btn btn-secondary btn-lg">
Register
</a>
}
</div>
</div>
<script>
require.config({
waitSeconds: 30,
paths: {
"App": "out"
}
});
require(["App"], function (remotely) {
remotely.App.Pages.IndexNotLoggedIn.Init();
});
</script>