diff options
author | Yigit Sever | 2021-04-22 20:15:40 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-25 23:04:39 +0300 |
commit | 32b49380880aab00057b8a663b5327d6f58def3a (patch) | |
tree | 059dc128813a93679233f5489cf1a42b2ea0374d /templates | |
parent | 97b2f6c796fd2af1c338725884189685a82adc01 (diff) | |
download | gradecoin-32b49380880aab00057b8a663b5327d6f58def3a.tar.gz gradecoin-32b49380880aab00057b8a663b5327d6f58def3a.tar.bz2 gradecoin-32b49380880aab00057b8a663b5327d6f58def3a.zip |
Implement nicenet
- There are bot accounts that return what you sent them
- Sending a transaction generates some coin out of thin air
- No more one tx per person per block limit
- Unused transactions do not disappear anymore
Diffstat (limited to 'templates')
-rw-r--r-- | templates/css.html | 21 | ||||
-rw-r--r-- | templates/header.html | 11 | ||||
-rw-r--r-- | templates/list.html | 4 |
3 files changed, 22 insertions, 14 deletions
diff --git a/templates/css.html b/templates/css.html index a918a4b..4a2ac7b 100644 --- a/templates/css.html +++ b/templates/css.html | |||
@@ -1,23 +1,30 @@ | |||
1 | <style> | 1 | <style> |
2 | |||
3 | body { | ||
4 | font-family: monospace, Times, serif; | ||
5 | margin: 2em auto; | ||
6 | max-width: 800px; | ||
7 | } | ||
8 | |||
2 | table, th, td { | 9 | table, th, td { |
3 | border: 1px solid black; | 10 | border: 1px solid black; |
4 | border-collapse: collapse; | 11 | border-collapse: collapse; |
5 | } | 12 | } |
6 | th, td { | 13 | th, td { |
7 | padding: 15px; | 14 | padding: 10px; |
8 | } | 15 | } |
9 | #t01 { | 16 | #t01 { |
10 | width: 100%; | 17 | width: 100%; |
11 | background-color: #fbf1c7; | 18 | background-color: #fbf1c7; |
12 | } | 19 | } |
13 | #t01 tr:nth-child(even) { | 20 | #t01 tr:nth-child(even) { |
14 | background-color: #a89984; | 21 | background-color: #a89984; |
15 | } | 22 | } |
16 | #t01 tr:nth-child(odd) { | 23 | #t01 tr:nth-child(odd) { |
17 | background-color: #f9f5d7; | 24 | background-color: #f9f5d7; |
18 | } | 25 | } |
19 | #t01 th { | 26 | #t01 th { |
20 | color: #fbf1c7; | 27 | color: #fbf1c7; |
21 | background-color: #282828; | 28 | background-color: #282828; |
22 | } | 29 | } |
23 | </style> | 30 | </style> |
diff --git a/templates/header.html b/templates/header.html index a142fad..1c9136e 100644 --- a/templates/header.html +++ b/templates/header.html | |||
@@ -1,10 +1,11 @@ | |||
1 | <html> | 1 | <html> |
2 | <head> | 2 | <head> |
3 | <title>Gradecoin</title> | 3 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
4 | <title>Gradecoin | Users</title> | ||
4 | {% include "css.html" %} | 5 | {% include "css.html" %} |
5 | </head> | 6 | </head> |
6 | <body> | 7 | <body> |
7 | <div> | 8 | <div> |
8 | <h1>Registered Users</h1> | 9 | <h1>Registered Users</h1> |
9 | </div> | 10 | </div> |
10 | <hr /> | 11 | <hr /> |
diff --git a/templates/list.html b/templates/list.html index 083e0e8..0f19107 100644 --- a/templates/list.html +++ b/templates/list.html | |||
@@ -7,9 +7,9 @@ | |||
7 | </tr> | 7 | </tr> |
8 | {% for user in users %} | 8 | {% for user in users %} |
9 | <tr> | 9 | <tr> |
10 | <td>{{ user.fingerprint }}</td> | 10 | <td>{{ user.fingerprint }} {% if user.is_bot %} <span title="I'm a bot!">👋🤖</span> {% endif %}</td> |
11 | <td>{{ user.balance }}</td> | 11 | <td>{{ user.balance }}</td> |
12 | </tr> | 12 | </tr> |
13 | {% endfor %} | 13 | {% endfor %} |
14 | </table> | 14 | </table> |
15 | {% include "footer.html" %} | 15 | {% include "footer.html" %} |