mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
added the missing baseurl bit on the login page for #72
This commit is contained in:
parent
7051c31dd3
commit
3ea708aca5
1 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,13 @@
|
||||||
<form method="POST">
|
@using PlexRequests.UI.Helpers
|
||||||
|
@{
|
||||||
|
var baseUrl = Html.GetBaseUrl();
|
||||||
|
var url = string.Empty;
|
||||||
|
if (!string.IsNullOrEmpty(baseUrl))
|
||||||
|
{
|
||||||
|
url = "/" + baseUrl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
<form method="POST">
|
||||||
Username <input class="form-control form-control-custom" type="text" name="Username"/>
|
Username <input class="form-control form-control-custom" type="text" name="Username"/>
|
||||||
<br/>
|
<br/>
|
||||||
Password <input class="form-control form-control-custom" name="Password" type="password"/>
|
Password <input class="form-control form-control-custom" name="Password" type="password"/>
|
||||||
|
@ -10,7 +19,7 @@
|
||||||
</form>
|
</form>
|
||||||
@if (!Model.AdminExists)
|
@if (!Model.AdminExists)
|
||||||
{
|
{
|
||||||
<div>If you have not yet created an Admin account you can do here: <a href="/register">Register</a></div>
|
<div>If you have not yet created an Admin account you can do here: <a href="@url/register">Register</a></div>
|
||||||
}
|
}
|
||||||
@if (Model.Errored)
|
@if (Model.Errored)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue