]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 10 Mar 2024 10:35:19 +0000 (11:35 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 10 Mar 2024 10:35:19 +0000 (11:35 +0100)
- renamed known_instances to total_websites because this is more clear
- you cannot distinguish between a regular website and a former Fediverse
  instance (e.g. before: Mastodon was installed, now IBM Connections)

daemon.py
templates/views/index.html

index eb36051cf3c5fb9ad43ace00e7f00991e5c7697f..7d7626f7e2758fd479103a78c47353c00af6d4cb 100755 (executable)
--- a/daemon.py
+++ b/daemon.py
@@ -60,7 +60,7 @@ def api_info():
     row = database.cursor.fetchone()
 
     return JSONResponse(status_code=200, content={
-        "known_instances"    : row[0],
+        "total_websites"     : row[0],
         "supported_instances": row[1],
         "blocks_recorded"    : row[2],
         "erroneous_instances": row[3],
index d51b3eab487d6c41375bf69a968fedc015ff01ce..4974c1bd71b50341858bf30d1fc0ffbda4dea7bd 100644 (file)
@@ -81,7 +81,7 @@
         <table>
         <thead>
             <tr>
-                <th>Known instances:</th>
+                <th title="This respresents the total count of records in table 'instances'">Total websites:</th>
                 <th>Supported instances:</th>
                 <th>Blocks recorded:</th>
                 <th>Erroneous instances:</th>
@@ -90,7 +90,7 @@
 
        <tbody>
            <tr>
-               <td>{{info.known_instances}}</td>
+               <td>{{info.total_websites}}</td>
                <td>{{info.supported_instances}}</td>
                <td>{{info.blocks_recorded}}</td>
                <td>{{info.erroneous_instances}}</td>