mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
27 lines
884 B
Plaintext
27 lines
884 B
Plaintext
@page "/"
|
|
@inject IApplicationConfig AppConfig
|
|
@inject IDataService DataService
|
|
|
|
<AuthorizeView>
|
|
<NotAuthorized>
|
|
<div class="jumbotron">
|
|
<h3 class="display-4">Remotely</h3>
|
|
<p class="lead">
|
|
An open-source remote support solution.
|
|
</p>
|
|
<hr class="my-4">
|
|
<p class="lead">
|
|
<a class="btn btn-primary btn-lg mr-2" href="Identity/Account/Login" role="button">Log In</a>
|
|
|
|
@if (AppConfig.MaxOrganizationCount < 0 || DataService.GetOrganizationCount() < AppConfig.MaxOrganizationCount)
|
|
{
|
|
<a class="btn btn-primary btn-lg" href="Identity/Account/Register" role="button">Register</a>
|
|
}
|
|
</p>
|
|
</div>
|
|
</NotAuthorized>
|
|
<Authorized>
|
|
<AuthorizedIndex />
|
|
</Authorized>
|
|
</AuthorizeView>
|