Forráskód Böngészése

auto update script executed

Toby Chui 1 éve
szülő
commit
8bf429a31a
1 módosított fájl, 8 hozzáadás és 0 törlés
  1. 8 0
      web/components/access.html

+ 8 - 0
web/components/access.html

@@ -1220,6 +1220,14 @@
                     $("<td>").html(`<button class="ui basic red tiny icon button" title"Ban IP" onclick="handleBanIp('${ip}');"><i class="red ban icon"></i></button>`).appendTo(row);
                 }
             });
+
+            if (slicedEntries.length == 0){
+                var row = $("<tr>").appendTo(tableBody);
+                $("<td colspan='3'>").html(`
+                    <i class="ui green circle check icon"></i> There are no HTTP requests recorded today     
+                `).appendTo(row);
+                
+            }
         }
 
         function renderPagination() {