Browse Source

Add instructions to settings page

master
Gregory Rudolph 3 years ago
parent
commit
cd42a73323
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 93
      Pages/Settings.cshtml

93
Pages/Settings.cshtml

@ -3,39 +3,70 @@ @@ -3,39 +3,70 @@
@{
ViewData["Title"] = "Settings";
}
<div class="row">
<div class="col-md-3">
<div class="card">
<div class="card-header">
Instructions
</div>
<div class="card-body">
@if(Model.userData.skillOptions.Count == 0 || Model.userData.coverLetter == "") {
<h6>You must set up your Cover Letter template, and Skills.</h6>
}
<ul>
<li>Name is for your name to generate the Cover Letter</li>
<li>Email address is your sending email address</li>
<li>Email host is the host used to send emails (smtp.google.com, oogieboogie.nightmare.haus, etc)</li>
<li>Cover Letter Format is the format of your cover letter, it will allow variables to be replaced</li>
<ul>
<li>$name will be replaced with the name of the Contact for the posting</li>
<li>$title will be replaced with the title from the posting</li>
<li>$vacancy will be replaced with the vacancy ID</li>
<li>$box will be replaced with the box number, if available</li>
<li>$skills will be replaced with a bulleted list of your skills from below</li>
</ul>
<li>Skills is a bulleted list (one skill per line) of your skills to be replaced above</li>
</ul>
<div class="container">
<div class="card">
<div class="card-header">
Settings - Don't forget to save!
</div>
</div>
<div class="card-body">
<form method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="userData.name">Name: </label>
<input asp-for="userData.name" class="form-control"/>
<label for="userData.email" >Email: </label>
<input asp-for="userData.email" class="form-control" />
<label for="userData.smtpHost">Email Host:</label>
<input asp-for="userData.smtpHost" class="form-control" />
</div>
<div class="form-group">
<label for="userData.coverLetter">Cover Letter Format:</label>
<textarea asp-for="userData.coverLetter" style="width: 100%; height: 18rem" class="form-control" ></textarea>
<small class="text-muted">Write your cover letter above, using variables like $name, $title, $vacancy, $box, and $skills to auto-fill from the posting.</small>
</div>
<div class="form-group">
<label for="skills">Skills:</label>
<textarea asp-for="skills" style="width: 100%; height: 18rem" class="form-control" ></textarea>
<small class="text-muted">List your skills for applications above, one skill per line.</small>
</div>
<button type="submit" class="btn btn-primary">Save Settings</button>
</form>
</div>
<div class="card-footer">
Visits: @Model.userData.visitCounter
</div>
<div class="col-md-8">
<div class="card">
<div class="card-header">
Settings - Don't forget to save!
</div>
<div class="card-body">
<form method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="userData.name">Name: </label>
<input asp-for="userData.name" class="form-control" />
<label for="userData.email">Email: </label>
<input asp-for="userData.email" class="form-control" />
<label for="userData.smtpHost">Email Host:</label>
<input asp-for="userData.smtpHost" class="form-control" />
</div>
<div class="form-group">
<label for="userData.coverLetter">Cover Letter Format:</label>
<textarea asp-for="userData.coverLetter" style="width: 100%; height: 18rem"
class="form-control"></textarea>
<small class="text-muted">Write your cover letter above, using variables like $name, $title,
$vacancy, $box, and $skills to auto-fill from the posting.</small>
</div>
<div class="form-group">
<label for="skills">Skills:</label>
<textarea asp-for="skills" style="width: 100%; height: 18rem" class="form-control"></textarea>
<small class="text-muted">List your skills for applications above, one skill per line.</small>
</div>
<button type="submit" class="btn btn-primary">Save Settings</button>
</form>
</div>
<div class="card-footer">
Visits: @Model.userData.visitCounter
</div>
</div>
</div>
</div>
<br/>
<br/>
<br />
<br />
Loading…
Cancel
Save