31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<h1>Information</h1>
|
|
<form method="post">
|
|
<h3>Feeding Information</h3>
|
|
<label>Plant Date</label>
|
|
<input type="date" name="plantDate" value= {{ plant.plant }}>
|
|
<br>
|
|
<label>Last Feed Date</label>
|
|
<input type="date" name="lastDate" value= {{ plant.last }}>
|
|
<br>
|
|
<!--<label>Next Feed Date</label>
|
|
<input type="date" name="nextDate" value= {{ plant.next }}>-->
|
|
Next Feed Date: {{ plant.next }}
|
|
<br>
|
|
Feed Frequency: {{ plant.freq }} days
|
|
<h3>Cleaning Information</h3>
|
|
<label>Last Clean Date</label>
|
|
<input type="date" name="lastClean" value= {{ plant.lastClean }}>
|
|
<br>
|
|
Next Clean Date: {{ plant.nextClean }}
|
|
<h1>Alerts</h1>
|
|
<input type="checkbox" id="alert_text" name="AlertText" value={{ alerts.text }} {{ "checked" if alerts.text else "" }}>
|
|
<label for="alert_text">Text Message</label>
|
|
<input type="checkbox" id="alert_email" name="AlertEmail" value={{ alerts.email }} {{ "checked" if alerts.email else "" }}>
|
|
<label for="alert_email">Email</label><br>
|
|
<input type="submit" id="DateSubmitForm" name="DateSubmitForm" value="Save">
|
|
</form>
|
|
<button class=button onclick="updateFeed()">Update Feed</button>
|
|
|
|
{% endblock %} |