-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
137 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 38 additions & 30 deletions
68
src/Server/Coderr.Server.Web/Areas/Admin/Views/Home/Basics.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,38 @@ | ||
@model codeRR.Server.Web.Areas.Admin.Models.BasicsViewModel | ||
@{ | ||
ViewBag.Title = "Admin - Basics"; | ||
} | ||
<div class="container"> | ||
<div class="col-lg-6"> | ||
|
||
<h2>Base configuration</h2> | ||
<form method="post" action="@Url.Action("Basics")" style="width: 100%" class="form"> | ||
@Html.ValidationSummary(false) | ||
<div class="form-group"> | ||
<label class="control-label"> | ||
Base URL | ||
</label> | ||
<input type="url" | ||
name="BaseUrl" class="form-control" value="@Model.BaseUrl" placeholder="http://yourhostName"/> | ||
<small>Address used when visiting this site.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="SupportEmail"> | ||
Email address | ||
</label> | ||
<input type="email" id="SupportEmail" name="SupportEmail" class="form-control" value="@Model.SupportEmail"/> | ||
<small>Used by your users when they need support using codeRR, for instance for account troubles. Also used as sender in outbound emails.</small> | ||
</div> | ||
<br/> | ||
<input type="submit" class="btn btn-primary" value="Save"/> | ||
</form> | ||
</div> | ||
</div> | ||
@model codeRR.Server.Web.Areas.Admin.Models.BasicsViewModel | ||
@{ | ||
ViewBag.Title = "Admin - Basics"; | ||
} | ||
<div class="container"> | ||
<div class="col-lg-6"> | ||
<h2>Base configuration</h2> | ||
<form method="post" action="@Url.Action("Basics")" style="width: 100%" class="form"> | ||
@Html.ValidationSummary(false) | ||
<div class="form-group"> | ||
<label class="control-label"> | ||
Base URL | ||
</label> | ||
<input type="url" | ||
name="BaseUrl" class="form-control" value="@Model.BaseUrl" placeholder="http://yourhostName" /> | ||
<small class="form-text text-muted">Address used when visiting this site.</small> | ||
</div> | ||
<div class="form-group"> | ||
<label for="SupportEmail"> | ||
Email address | ||
</label> | ||
<input type="email" id="SupportEmail" name="SupportEmail" class="form-control" value="@Model.SupportEmail" /> | ||
<small class="form-text text-muted">Used by your users when they need support using codeRR, for instance for account troubles. Also used as sender in outbound emails.</small> | ||
</div> | ||
<div class="form-check"> | ||
<label for="AllowRegistrations" class="form-check-label"> | ||
<input type="checkbox" id="AllowRegistrations" name="AllowRegistrations" class="form-check-input" value="1" @(@Model.AllowRegistrations ? "checked=\"checked\"" : "") /> | ||
Allow registrations | ||
</label> | ||
<br/> | ||
<small class="form-text text-muted">Allow users to create new accounts by using the registration page.</small> | ||
</div> | ||
|
||
<br /> | ||
<input type="submit" class="btn btn-primary" value="Save" /> | ||
</form> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.