31 lines
923 B
Plaintext
31 lines
923 B
Plaintext
@page
|
|
@model IndexModel
|
|
@{
|
|
ViewData["Title"] = "Home page";
|
|
}
|
|
|
|
<div class="text-center">
|
|
@if(Model.ConfigNull)
|
|
{
|
|
<div class="alert alert-danger" role="alert">
|
|
Error: SMTP not setup, please contact the administrator.
|
|
<br>If you are the administrator <a asp-area="" asp-page="/GenerateAppSettings">click here</a> to learn how to fix this
|
|
</div>
|
|
|
|
}else{
|
|
<form method="post">
|
|
<div class="mb-3">
|
|
<label for="exampleFormControlTextarea1" class="form-label">Place youtube urls for me to download</label>
|
|
<textarea class="form-control" id="exampleFormControlTextarea1" asp-for="Ids" rows="3"></textarea>
|
|
<br>
|
|
<input type="submit" class="btn btn-primary" value="Add">
|
|
|
|
</form>
|
|
<br>
|
|
<p>Alternatively you can email the urls to this email <a href="mailto:@Model.Email">@Model.Email</a></p>
|
|
}
|
|
|
|
|
|
</div>
|
|
</div>
|