1111{% block content %}
1212
1313< h2 class ="page-title "> < i class ="fas fa-chart-line "> </ i >
14- < span class ="text-danger m-2 "> {{ title }} </ span > Metrics</ h2 >
14+ < span class ="text-danger m-2 "> {{ title }} </ span > Metrics
15+ </ h2 >
1516< hr >
1617
1718<!-- Server Time Section -->
18- < div class ="container ">
19+ < div class ="">
1920 < div class ="section-header d-flex justify-content-between align-items-center ">
2021 < h2 > < i class ="fas fa-clock "> </ i > Current Server Time & Time Zone</ h2 >
2122 < button id ="refreshData " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Graphs</ button >
@@ -26,7 +27,7 @@ <h2><i class="fas fa-clock"></i> Current Server Time & Time Zone</h2>
2627< hr >
2728
2829<!-- Time Filter Section -->
29- < div class ="col container ">
30+ < div class ="col ">
3031 < div class ="row selector-container ">
3132 < div class ="time-filter-container ">
3233 < label for ="timeFilter "> Select Time Filter:</ label >
@@ -51,65 +52,79 @@ <h2><i class="fas fa-clock"></i> Current Server Time & Time Zone</h2>
5152</ div >
5253< hr >
5354
54- <!-- Chart Containers with Buttons Next to Titles -->
55- < div class ="container ">
56- < div class ="section-header d-flex justify-content-between align-items-center ">
57- < h2 > < i class ="fas fa-microchip "> </ i > CPU Usage Over Time</ h2 >
58- < button id ="refreshCpuTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh CPU Graph</ button >
55+ < div class ="row ">
56+ < div class ="cpu-usage col-md-6 ">
57+ < div class ="section-header d-flex justify-content-between align-items-center ">
58+ < h2 > < i class ="fas fa-microchip "> </ i > CPU Usage Over Time</ h2 >
59+ < button id ="refreshCpuTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh CPU
60+ Graph</ button >
61+ </ div >
62+ < canvas id ="cpuTimeChart "> </ canvas >
5963 </ div >
60- < canvas id ="cpuTimeChart "> </ canvas >
61- </ div >
6264
63- < div class ="container ">
64- < div class ="section-header d-flex justify-content-between align-items-center ">
65- < h2 > < i class ="fas fa-memory "> </ i > Memory Usage Over Time</ h2 >
66- < button id ="refreshMemoryTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Memory Graph</ button >
65+ < div class ="memory-usage col-md-6 ">
66+ < div class ="section-header d-flex justify-content-between align-items-center ">
67+ < h2 > < i class ="fas fa-memory "> </ i > Memory Usage Over Time</ h2 >
68+ < button id ="refreshMemoryTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Memory
69+ Graph</ button >
70+ </ div >
71+ < canvas id ="memoryTimeChart "> </ canvas >
6772 </ div >
68- < canvas id ="memoryTimeChart "> </ canvas >
6973</ div >
7074
71- < div class ="container ">
72- < div class ="section-header d-flex justify-content-between align-items-center ">
73- < h2 > < i class ="fas fa-battery-half "> </ i > Battery Percentage Over Time</ h2 >
74- < button id ="refreshBatteryTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Battery Graph</ button >
75+ < div class ="row ">
76+ < div class ="battery-usage col-md-6 ">
77+ < div class ="section-header d-flex justify-content-between align-items-center ">
78+ < h2 > < i class ="fas fa-battery-half "> </ i > Battery Percentage Over Time</ h2 >
79+ < button id ="refreshBatteryTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Battery
80+ Graph</ button >
81+ </ div >
82+ < canvas id ="batteryTimeChart "> </ canvas >
7583 </ div >
76- < canvas id ="batteryTimeChart "> </ canvas >
77- </ div >
7884
79- < div class ="container ">
80- < div class ="section-header d-flex justify-content-between align-items-center ">
81- < h2 > < i class ="fas fa-network-wired "> </ i > Network Sent & Received Over Time</ h2 >
82- < button id ="refreshNetworkTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Network Graph</ button >
85+ < div class ="network-usage col-md-6 ">
86+ < div class ="section-header d-flex justify-content-between align-items-center ">
87+ < h2 > < i class ="fas fa-network-wired "> </ i > Network Sent & Received Over Time</ h2 >
88+ < button id ="refreshNetworkTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Network
89+ Graph</ button >
90+ </ div >
91+ < canvas id ="networkTimeChart "> </ canvas >
8392 </ div >
84- < canvas id ="networkTimeChart "> </ canvas >
8593</ div >
8694
87- < div class ="container ">
88- < div class ="section-header d-flex justify-content-between align-items-center ">
89- < h2 > < i class ="fas fa-memory "> </ i > Dashboard Memory Usage Over Time</ h2 >
90- < button id ="refreshDashboardMemoryTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Dashboard Memory Graph</ button >
95+ < div class ="row ">
96+ < div class ="dashboard-memory-usage col-md-6 ">
97+ < div class ="section-header d-flex justify-content-between align-items-center ">
98+ < h2 > < i class ="fas fa-memory "> </ i > Memory Usage Over Time(APP)</ h2 >
99+ < button id ="refreshDashboardMemoryTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh
100+ Dashboard Memory Graph</ button >
101+ </ div >
102+ < canvas id ="dashboardMemoryTimeChart "> </ canvas >
91103 </ div >
92- < canvas id ="dashboardMemoryTimeChart "> </ canvas >
93- </ div >
94104
95- < div class ="container ">
96- < div class ="section-header d-flex justify-content-between align-items-center ">
97- < h2 > < i class ="fas fa-microchip "> </ i > CPU Frequency Over Time</ h2 >
98- < button id ="refreshCpuFrequencyTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh CPU Frequency Graph</ button >
105+ < div class ="cpu-frequency col-md-6 ">
106+ < div class ="section-header d-flex justify-content-between align-items-center ">
107+ < h2 > < i class ="fas fa-microchip "> </ i > CPU Frequency Over Time</ h2 >
108+ < button id ="refreshCpuFrequencyTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh CPU
109+ Frequency Graph</ button >
110+ </ div >
111+ < canvas id ="cpuFrequencyTimeChart "> </ canvas >
99112 </ div >
100- < canvas id ="cpuFrequencyTimeChart "> </ canvas >
101113</ div >
102114
103- < div class ="container ">
104- < div class ="section-header d-flex justify-content-between align-items-center ">
105- < h2 > < i class ="fas fa-thermometer-half "> </ i > Current Temperature Over Time</ h2 >
106- < button id ="refreshCurrentTempTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh Temperature Graph</ button >
115+ < div class ="row ">
116+ < div class ="cpu-temperature col-md-6 ">
117+ < div class ="section-header d-flex justify-content-between align-items-center ">
118+ < h2 > < i class ="fas fa-thermometer-half "> </ i > Current Temperature Over Time</ h2 >
119+ < button id ="refreshCurrentTempTime " class ="btn btn-primary "> < i class ="fas fa-sync-alt "> </ i > Refresh
120+ Temperature Graph</ button >
121+ </ div >
122+ < canvas id ="currentTempTimeChart "> </ canvas >
107123 </ div >
108- < canvas id ="currentTempTimeChart "> </ canvas >
109124</ div >
110125
111126{% endblock %}
112127{% block extra_scripts %}
113128< script src ="{{ url_for('static', filename='js/graphs.js')}} "> </ script >
114129< script src ="{{ url_for('static', filename='js/boot_time.js')}} "> </ script >
115- {% endblock %}
130+ {% endblock %}
0 commit comments