diff --git a/public/assets/js/adminMain.js b/public/assets/js/adminMain.js
index 7cb03de..2bb5e38 100644
--- a/public/assets/js/adminMain.js
+++ b/public/assets/js/adminMain.js
@@ -53,4 +53,7 @@ function populateTable(routes) {
`;
tableBody.appendChild(row);
});
+
+ // populate serverCount
+ document.getElementById('serverCount').innerText = routes.length;
}
\ No newline at end of file
diff --git a/public/assets/js/directory.js b/public/assets/js/directory.js
index 0c768fb..42dca58 100644
--- a/public/assets/js/directory.js
+++ b/public/assets/js/directory.js
@@ -8,6 +8,8 @@ function getDirectoryEntries() {
row.innerHTML = `
${entry.number} | ${entry.name} | `;
table.appendChild(row);
});
+ // Set dirCount to the number of entries in the directory
+ document.getElementById('dirCount').innerText = data.length;
})
.catch(error => console.error('Error fetching directory:', error));
}
diff --git a/public/directory/index.html b/public/directory/index.html
index 2cd780b..4361937 100644
--- a/public/directory/index.html
+++ b/public/directory/index.html
@@ -18,8 +18,9 @@
Admin Login
-
-
AstroCom Directory
+
+
AstroCom Directory
+
Total Entries: 0
diff --git a/views/admin/index.ejs b/views/admin/index.ejs
index ca59eb9..0a733c6 100644
--- a/views/admin/index.ejs
+++ b/views/admin/index.ejs
@@ -21,6 +21,7 @@