diff --git a/static/agents-graph.js b/static/agents-graph.js index 2598478..4254b15 100644 --- a/static/agents-graph.js +++ b/static/agents-graph.js @@ -43,16 +43,14 @@ function initializeCytoscape() { // Load the graph after the page has fully loaded document.addEventListener('DOMContentLoaded', function () { - console.log('DOMContentLoaded fired.'); initializeCytoscape(); loadGraphData(); document.body.addEventListener('htmx:afterSwap', function (event) { - console.log('htmx:afterSwap fired.'); - // if (event.target.id === 'agentList') { + if (event.target.id === 'agentList') { initializeCytoscape(); loadGraphData(); - // } + } }); }); @@ -64,7 +62,7 @@ async function updateGraph(agentData) { return; } - console.log('Updating graph with agent data:', agentData); + // console.log('Updating graph with agent data:', agentData); // Clear existing nodes and edges cy.elements().remove(); diff --git a/static/gontrol-stylesheet.css b/static/gontrol-stylesheet.css index 43d6f91..f3b3522 100644 --- a/static/gontrol-stylesheet.css +++ b/static/gontrol-stylesheet.css @@ -39,6 +39,10 @@ color: var(--bs-primary); } +.execute-navbar { + background-color: var(--bs-warning) +} + #graph-container { margin: 0; padding: 0; } diff --git a/templates/index.html b/templates/index.html index b4bd4fb..a9e7f38 100644 --- a/templates/index.html +++ b/templates/index.html @@ -70,33 +70,66 @@
-
- -
-
- - -
-
- - -
- - -
+ + + + + + + + + + + + + + + + + + + + + +

-        
-
+ + + + + +