diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 2547750..9c0a3f1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,7 +10,7 @@ </head> <body> <h1> - travnik + <a href=/>travnik</a> </h1> <form> <label for=regex> @@ -43,7 +43,7 @@ {% endif %} {% for torrent in found_torrents %} <h2><a href={{ torrent.magnet }}>{{ torrent.name | e }}</a></h2> - <p>velikost: {{ (torrent.size/(1024**3)) | round(3) }} GiB | datum najdbe: {{ torrent.found.strftime("%c") }} | število datotek: {{ torrent.files }}</p> + <p>velikost: {{ (torrent.size/(1024**3)) | round(3) }} GiB | prejel v {{ torrent.found.strftime("%c") }} od {{ torrent.ip }} | število datotek: {{ torrent.files }}</p> <b><ul> {% macro direktorij(dir) %} {% for ime, element in dir.items() %} @@ -54,7 +54,7 @@ {{ direktorij(element) }} </ul> {% else %} - ({{ (element/(1024**3)) | round(3) }} MiB) + ({{ (element/(1024**2)) | round(3) }} MiB) {% endif %} </li> {% endfor %} |