Skip to content

Commit

Permalink
email Preparation
Browse files Browse the repository at this point in the history
Send a mail if one
          of
          my workers goes offline
  • Loading branch information
yuriy0803 committed Apr 4, 2024
1 parent a828cee commit ffc7d79
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions www/app/templates/account/settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
<form action="/api/settings" method="post">

<div class="form-group">
<label for="InputEmail1">Settings</label>
<input type="hidden" id="login" name="login" value="{{model.login}}">
<input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp"
placeholder="Enter email">
<small id="emailHelp" class="form-text text-dark">We'll never share your email with anyone else.</small>
</div>

<div class="form-group">
Expand All @@ -32,6 +36,15 @@
Please complete your worker`s IP address in order to validate and save your settings.
</small>
</div>

<div class="form-group form-check">
<label class="form-check-label" for="worker_offline">
<input type="checkbox" name="alertCheck" class="form-check-input" id="alertCheck" checked> Send a mail if one
of
my workers goes offline
</label>
</div>

<button type="submit" class="btn btn-primary">Submit</button>

</form>
Expand Down

0 comments on commit ffc7d79

Please sign in to comment.