mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-03-15 09:56:31 -04:00
add fail_reason to db and make adjustment to html table
This commit is contained in:
parent
2faf28808f
commit
a6d0405737
@ -17,6 +17,7 @@ class Node(Model):
|
||||
datetime_entered = DateTimeField(default=datetime.now)
|
||||
datetime_checked = DateTimeField(default=None, null=True)
|
||||
datetime_failed = DateTimeField(default=None, null=True)
|
||||
fail_reason = CharField(null=True)
|
||||
|
||||
class Meta:
|
||||
database = db
|
||||
|
@ -8,6 +8,7 @@
|
||||
<h3>Add Node</h3>
|
||||
</div>
|
||||
|
||||
{% if nodes %}
|
||||
<table>
|
||||
<tr>
|
||||
<th>URL</th>
|
||||
@ -28,6 +29,7 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<form method="POST" action="{{ url_for('add') }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user