Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

redesign(fleet): render fleet tables with sk-dtable

Juan Denisdfc628e13b66
diff --git a/frontend/src/pages/AgentFleet.jsx b/frontend/src/pages/AgentFleet.jsx
index adeafeb6..31fea016 100644
--- a/frontend/src/pages/AgentFleet.jsx
+++ b/frontend/src/pages/AgentFleet.jsx
@@ -308,7 +308,7 @@ const AgentFleet = () => {
<h2>Agent Versions</h2>
</div>
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Version</th>
@@ -427,7 +427,7 @@ const AgentFleet = () => {
</div>
{rollouts.length > 0 ? (
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Version</th>
@@ -504,7 +504,7 @@ const AgentFleet = () => {
</div>
{queuedCommands.length > 0 ? (
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Server</th>
@@ -623,7 +623,7 @@ const AgentFleet = () => {
<h2>Pending Registrations</h2>
</div>
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Server Name</th>
diff --git a/frontend/src/pages/FleetMonitor.jsx b/frontend/src/pages/FleetMonitor.jsx
index 5c820394..12f013d3 100644
--- a/frontend/src/pages/FleetMonitor.jsx
+++ b/frontend/src/pages/FleetMonitor.jsx
@@ -468,7 +468,7 @@ const FleetMonitor = () => {
</div>
{alerts.length > 0 ? (
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Server</th>
@@ -532,7 +532,7 @@ const FleetMonitor = () => {
<div className="card-header"><h2>Alert Thresholds</h2></div>
{thresholds.length > 0 ? (
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Scope</th>
@@ -626,7 +626,7 @@ const FleetMonitor = () => {
<div className="card-header"><h2>Anomaly Detection</h2></div>
{anomalies.length > 0 ? (
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Server</th>
@@ -796,7 +796,7 @@ const FleetMonitor = () => {
{searchResults.length > 0 ? (
<div className="overflow-x-auto">
- <table className="table">
+ <table className="sk-dtable">
<thead>
<tr>
<th>Server</th>