From 640ff61422bc0ee3966941b93d9889ddbbd38d77 Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Thu, 30 Jul 2026 18:17:14 -0600 Subject: more files --- src/dashboard/templates/by_cluster_name.html | 50 ++++ src/dashboard/templates/by_playbook_name.html | 50 ++++ src/dashboard/templates/cards/clusters.html | 38 +++ .../templates/cards/clusters_by_name.html | 26 ++ .../templates/cards/firmware_version.html | 32 +++ src/dashboard/templates/cards/map.html | 16 ++ src/dashboard/templates/cards/playbook.html | 33 +++ .../templates/cards/playbook_by_name.html | 26 ++ src/dashboard/templates/cards/summary.html | 315 +++++++++++++++++++++ src/dashboard/templates/dashboard.html | 7 + src/dashboard/templates/deployment.html | 7 + src/dashboard/templates/hardware.html | 7 + src/dashboard/templates/includes/base.html | 35 +++ src/dashboard/templates/includes/main-panel.html | 17 ++ src/dashboard/templates/includes/sidebar.html | 26 ++ src/dashboard/templates/includes/top_navbar.html | 13 + 16 files changed, 698 insertions(+) create mode 100644 src/dashboard/templates/by_cluster_name.html create mode 100644 src/dashboard/templates/by_playbook_name.html create mode 100644 src/dashboard/templates/cards/clusters.html create mode 100644 src/dashboard/templates/cards/clusters_by_name.html create mode 100644 src/dashboard/templates/cards/firmware_version.html create mode 100644 src/dashboard/templates/cards/map.html create mode 100644 src/dashboard/templates/cards/playbook.html create mode 100644 src/dashboard/templates/cards/playbook_by_name.html create mode 100644 src/dashboard/templates/cards/summary.html create mode 100644 src/dashboard/templates/dashboard.html create mode 100644 src/dashboard/templates/deployment.html create mode 100644 src/dashboard/templates/hardware.html create mode 100644 src/dashboard/templates/includes/base.html create mode 100644 src/dashboard/templates/includes/main-panel.html create mode 100644 src/dashboard/templates/includes/sidebar.html create mode 100644 src/dashboard/templates/includes/top_navbar.html (limited to 'src/dashboard/templates') diff --git a/src/dashboard/templates/by_cluster_name.html b/src/dashboard/templates/by_cluster_name.html new file mode 100644 index 0000000..6715052 --- /dev/null +++ b/src/dashboard/templates/by_cluster_name.html @@ -0,0 +1,50 @@ + +{% load static %} + + + + + + + + + + + + {% block javascript %} + + {% endblock %} + + + + + + + + + + {% block stylesheet %} + + + {% endblock %} + + Far-Edge Ops Middleware + + + +
+ {% block content %} +
+ {% include 'cards/clusters_by_name.html' %} +
+ {% endblock %} +
+ + + + + diff --git a/src/dashboard/templates/by_playbook_name.html b/src/dashboard/templates/by_playbook_name.html new file mode 100644 index 0000000..d8da7c6 --- /dev/null +++ b/src/dashboard/templates/by_playbook_name.html @@ -0,0 +1,50 @@ + +{% load static %} + + + + + + + + + + + + {% block javascript %} + + {% endblock %} + + + + + + + + + + {% block stylesheet %} + + + {% endblock %} + + Far-Edge Ops Middleware + + + +
+ {% block content %} +
+ {% include 'cards/playbook_by_name.html' %} +
+ {% endblock %} +
+ + + + + diff --git a/src/dashboard/templates/cards/clusters.html b/src/dashboard/templates/cards/clusters.html new file mode 100644 index 0000000..ea23b71 --- /dev/null +++ b/src/dashboard/templates/cards/clusters.html @@ -0,0 +1,38 @@ +{% load static %} + +{% block clusters-libraries %} + + {% endblock %} {% block javascript %} + + + +{% endblock %} + +
+
+
+

Cluster List

+

Comprehensive list

+
+
+
+
Started
+
Done
+
Pending
+
Failed
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/dashboard/templates/cards/clusters_by_name.html b/src/dashboard/templates/cards/clusters_by_name.html new file mode 100644 index 0000000..0350daf --- /dev/null +++ b/src/dashboard/templates/cards/clusters_by_name.html @@ -0,0 +1,26 @@ +{% load static %} + +{% block javascript %} + + +{% endblock %} + +
+
+
+
Cluster Name: {{ cluster_name }}
+
+
+
+
+
+
+
+
+
+
+ diff --git a/src/dashboard/templates/cards/firmware_version.html b/src/dashboard/templates/cards/firmware_version.html new file mode 100644 index 0000000..6ac5ddb --- /dev/null +++ b/src/dashboard/templates/cards/firmware_version.html @@ -0,0 +1,32 @@ +{% load static %} + +{% block libraries %} + + {% endblock %} {% block javascript %} + + + +{% endblock %} + +
+
+
+

Firmware Versions

+

Latest firmware versions per server

+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/dashboard/templates/cards/map.html b/src/dashboard/templates/cards/map.html new file mode 100644 index 0000000..3f12b59 --- /dev/null +++ b/src/dashboard/templates/cards/map.html @@ -0,0 +1,16 @@ +
+
+
+

Deployment list

+
+
+
    +
  • Cluster 1
  • +
  • Cluster 2
  • +
  • Cluster 3
  • +
  • Cluster 4
  • +
  • Cluster 5
  • +
+
+
+
diff --git a/src/dashboard/templates/cards/playbook.html b/src/dashboard/templates/cards/playbook.html new file mode 100644 index 0000000..c888937 --- /dev/null +++ b/src/dashboard/templates/cards/playbook.html @@ -0,0 +1,33 @@ +{% load static %} + +{% block playbook-libraries %} + + {% endblock %} {% block javascript %} + + + +{% endblock %} + +
+
+
+

Deployment Workflow

+

Latest status update received for each cluster

+
+
+
+
+
+
+
+
+
+
+ diff --git a/src/dashboard/templates/cards/playbook_by_name.html b/src/dashboard/templates/cards/playbook_by_name.html new file mode 100644 index 0000000..0bc4b20 --- /dev/null +++ b/src/dashboard/templates/cards/playbook_by_name.html @@ -0,0 +1,26 @@ +{% load static %} + +{% block javascript %} + + +{% endblock %} + +
+
+
+
Playbook: {{ playbook_name }}
+
+
+
+
+
+
+
+
+
+
+ diff --git a/src/dashboard/templates/cards/summary.html b/src/dashboard/templates/cards/summary.html new file mode 100644 index 0000000..454b6fd --- /dev/null +++ b/src/dashboard/templates/cards/summary.html @@ -0,0 +1,315 @@ +{% load static %} + +
+
+
+
+
+
Clusters
+

{{ summary.clusters }}

+
+
+ + + +
+
+ Last updated at {{ summary.created_at }} +
+ +
+
+
+
+
+
+
+
Completed Installs
+

{{ summary.completed }}

+
+
+ + + + +
+
+
+
+
+ {{ completed_percent }}% +
+
+
+
+ +
+
+
+
+
+
In Progress
+

{{ summary.in_progress }}

+
+
+ + + +
+
+
+
+
+ {{ in_progress_percent }}% +
+
+
+
+ +
+
+
+
+
+
Failed
+

{{ summary.failed }}

+
+
+ + + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+ + + +
+
+
+ +
+
+
Ingested
+

{{ summary.ingested }}

+
+
+ + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+
+
+
+ +
+
+
Online
+

{{ summary.online }}

+
+
+ + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+
+
+
+ +
+
+
Firmware Scheduled
+

{{ summary.firmware_scheduled }}

+
+
+ + + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+
+
+
+ +
+
+
Firmware updated
+

{{ summary.firmware_upgraded }}

+
+
+ + + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+
+
+
+ +
+
+
WindRiver Scheduled
+

{{ summary.wr_scheduled }}

+
+
+ + + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+
+
+
+ +
+
+
WindRiver Installed
+

{{ summary.wr_installed }}

+
+
+ + + + +
+
+
+
+
+ {{ failed_percent }}% +
+
+
+
+ + + +
+
+
+ +
+
+
Namespaces Created
+

{{ orchestration.namespaces }}

+
+
+
+
+
+
+
+
+ +
+
+
Service Accounts
+ Orchestration: {{ orchestration.orch_service_account }}
Edge Engineering: {{ orchestration.edge_eng_service_account }}
Samsung:{{ orchestration.samsung_service_account }}
+
+
+
+
+
+
+
+
+ +
+
+
Kubeconfig's Created
+ Orchestration: {{ orchestration.orch_kubeconfig }}
Edge Engineering: {{ orchestration.edge_eng_kubeconfig }}
Samsung: {{ orchestration.samsung_kubeconfig }} +
+
+
+
+
+ + + +{% block playbook-libraries %} + + {% endblock %} {% block javascript %} + + + +{% endblock %} + +
+
+
+

Deployment Workflow

+

Latest status update received for each cluster

+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/dashboard/templates/dashboard.html b/src/dashboard/templates/dashboard.html new file mode 100644 index 0000000..c7d7e39 --- /dev/null +++ b/src/dashboard/templates/dashboard.html @@ -0,0 +1,7 @@ +{% extends 'includes/main-panel.html' %} + +{% block content %} +
+ {% include 'cards/summary.html' %} +
+{% endblock %} \ No newline at end of file diff --git a/src/dashboard/templates/deployment.html b/src/dashboard/templates/deployment.html new file mode 100644 index 0000000..a63556d --- /dev/null +++ b/src/dashboard/templates/deployment.html @@ -0,0 +1,7 @@ +{% extends 'includes/main-panel.html' %} + +{% block content %} +
+ {% include 'cards/playbook.html' %} +
+{% endblock %} \ No newline at end of file diff --git a/src/dashboard/templates/hardware.html b/src/dashboard/templates/hardware.html new file mode 100644 index 0000000..6d1f992 --- /dev/null +++ b/src/dashboard/templates/hardware.html @@ -0,0 +1,7 @@ +{% extends 'includes/main-panel.html' %} + +{% block content %} +
+ {% include 'cards/firmware_version.html' %} +
+{% endblock %} \ No newline at end of file diff --git a/src/dashboard/templates/includes/base.html b/src/dashboard/templates/includes/base.html new file mode 100644 index 0000000..751853b --- /dev/null +++ b/src/dashboard/templates/includes/base.html @@ -0,0 +1,35 @@ + +{% load static %} + + + + + + + + + + + + {% block javascript %}{% endblock %} + + + + + + + + + {% block stylesheet %}{% endblock %} + + Far-Edge Ops Middleware + + + +
+ {% include 'includes/sidebar.html' %} + {% block main_panel %} {% endblock %} +
+ + + \ No newline at end of file diff --git a/src/dashboard/templates/includes/main-panel.html b/src/dashboard/templates/includes/main-panel.html new file mode 100644 index 0000000..5e9aad7 --- /dev/null +++ b/src/dashboard/templates/includes/main-panel.html @@ -0,0 +1,17 @@ +{% extends 'includes/base.html' %} + +{% block main_panel %} +
+ + {% include 'includes/top_navbar.html' %} + + + +
+
+ {% block content %} No Content Added Yet {% endblock %} +
+
+ +
+{% endblock %} \ No newline at end of file diff --git a/src/dashboard/templates/includes/sidebar.html b/src/dashboard/templates/includes/sidebar.html new file mode 100644 index 0000000..5997f61 --- /dev/null +++ b/src/dashboard/templates/includes/sidebar.html @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/src/dashboard/templates/includes/top_navbar.html b/src/dashboard/templates/includes/top_navbar.html new file mode 100644 index 0000000..5765358 --- /dev/null +++ b/src/dashboard/templates/includes/top_navbar.html @@ -0,0 +1,13 @@ + \ No newline at end of file -- cgit v1.3