diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..e121d94 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,150 @@ +/* +Custom Styles for FRA-INSIGHT +Theme: "Predictive Power Grid" +*/ + +:root { + --primary: #0047AB; /* Electric Blue */ + --secondary: #00B386; /* Eco Green */ + --accent: #FFD700; /* Energy Yellow */ + --bg-light: #F7FAFC; /* Soft Gray White */ + --text-primary: #1A1A1A; + --text-secondary: #4A5568; + --card-bg: #FFFFFF; + --border-radius: 0.5rem; + --shadow-sm: 0 4px 12px rgba(0,0,0,0.06); + --shadow-md: 0 8px 20px rgba(0,0,0,0.1); +} + +body { + font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; + background-color: var(--bg-light); + color: var(--text-primary); +} + +.navbar-custom { + background-color: var(--card-bg); + box-shadow: var(--shadow-sm); + padding: 1rem 0; +} + +.navbar-custom .navbar-brand { + font-family: 'Poppins', sans-serif; + font-weight: 600; + font-size: 1.75rem; + color: var(--primary); +} + +.navbar-custom .navbar-brand i { + margin-right: 0.5rem; +} + +.navbar-custom .nav-link { + font-family: 'Poppins', sans-serif; + font-weight: 500; + color: var(--text-secondary); + margin: 0 0.5rem; + border-radius: 0.25rem; + transition: color 0.3s ease, background-color 0.3s ease; +} + +.navbar-custom .nav-link:hover, +.navbar-custom .nav-link.active { + color: var(--primary); + background-color: rgba(0, 71, 171, 0.05); +} + +.body-content { + padding: 2rem 0; +} + +.page-title { + font-family: 'Poppins', sans-serif; + font-weight: 600; + font-size: 2.5rem; + color: var(--text-primary); + margin-bottom: 2rem; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Poppins', sans-serif; + font-weight: 600; +} + +.card { + border: none; + border-radius: var(--border-radius); + box-shadow: var(--shadow-sm); + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.card:hover { + transform: translateY(-5px); + box-shadow: var(--shadow-md); +} + +.card-title { + color: var(--primary); +} + +.btn-primary { + background-color: var(--primary); + border-color: var(--primary); + font-weight: 500; + padding: 0.75rem 1.5rem; + border-radius: 0.25rem; + transition: background-color 0.3s ease, border-color 0.3s ease; +} + +.btn-primary:hover { + background-color: #003a8c; + border-color: #003a8c; +} + +.btn-secondary { + background-color: var(--secondary); + border-color: var(--secondary); + font-weight: 500; + padding: 0.75rem 1.5rem; + border-radius: 0.25rem; + transition: background-color 0.3s ease, border-color 0.3s ease; +} + +.btn-secondary:hover { + background-color: #009a72; + border-color: #009a72; +} + +.kpi-card { + text-align: center; + padding: 2rem; +} + +.kpi-number { + font-family: 'Roboto Mono', monospace; + font-size: 3rem; + font-weight: 700; + color: var(--primary); +} + +.kpi-label { + font-size: 1.1rem; + color: var(--text-secondary); + margin-top: 0.5rem; +} + +.footer { + background-color: var(--card-bg); + padding: 2rem 0; + margin-top: 4rem; + text-align: center; + font-size: 0.9rem; + color: var(--text-secondary); + box-shadow: 0 -4px 12px rgba(0,0,0,0.04); +} + +/* Plotly chart container */ +.chart-container { + min-height: 450px; + width: 100%; +} \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..7a8f348 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,2 @@ +// Custom JS for FRA-INSIGHT +// Future interactivity will go here. diff --git a/federated.php b/federated.php new file mode 100644 index 0000000..0795b25 --- /dev/null +++ b/federated.php @@ -0,0 +1,175 @@ + + + +
+

Federated Learning Simulation

+

Visualizing how distributed learning improves the national model without sharing sensitive data.

+ +
+
+
+
+
+
+
+
+
+
+
+
Simulation Log
+
+
+

Click the button to start the simulation...

+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/green.php b/green.php new file mode 100644 index 0000000..5c772a6 --- /dev/null +++ b/green.php @@ -0,0 +1,112 @@ + + +
+

Green Impact

+

Tracking our contribution to a more sustainable and environmentally friendly power grid.

+ + +
+
+
+
+
2.7 tons
+
CO₂ Emissions Saved
+
+
+
+
+
+
+
3,000 L
+
Transformer Oil Preserved
+
+
+
+
+
+
+
45 MWh
+
Energy Loss Prevented
+
+
+
+
+ + +
+
+
+
+
Sustainability Trends (Last 12 Months)
+
+
+
+
+
+
+
+
+
+
Our Commitment to a Greener Grid
+

By proactively identifying and addressing transformer faults, FRA-INSIGHT not only enhances grid reliability but also plays a crucial role in environmental conservation. Preventing catastrophic failures avoids oil spills and reduces the carbon footprint associated with manufacturing and transporting replacement units. Our goal is a grid that is not just smart, but also sustainable.

+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/includes/footer.php b/includes/footer.php new file mode 100644 index 0000000..e0aaea7 --- /dev/null +++ b/includes/footer.php @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/includes/header.php b/includes/header.php new file mode 100644 index 0000000..5f93e42 --- /dev/null +++ b/includes/header.php @@ -0,0 +1,75 @@ + 'Home Dashboard', + 'upload.php' => 'Upload & Analyze', + 'resilience.php' => 'Resilience Index', + 'policy.php' => 'Policy View', + 'federated.php' => 'Federated Learning', + 'green.php' => 'Green Impact' +]; +?> + + + + + + + <?php echo htmlspecialchars($page_title); ?> | FRA-INSIGHT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/index.php b/index.php index 7205f3d..710372a 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,112 @@ -$phpVersion = PHP_VERSION; -$now = date('Y-m-d H:i:s'); -?> - - - - - - New Style - - - - - - - - - - - - - - - - - - - - - -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

+
+
+

FRA-INSIGHT

+

AI-based Explainable Diagnostics for India’s Power Infrastructure

-
- - - + + +
+
+
+
+
800,000
+
Total Transformers
+
+
+
+
+
+
+
127
+
Risk Zones
+
+
+
+
+
+
+
2.7 tons
+
CO₂ Saved
+
+
+
+
+
+
+
3,000 L
+
Oil Preserved
+
+
+
+
+ + +
+
+
National Transformer Health Map
+
+
+
+
+
+ +
+ Analyze FRA Data +
+ + + + + + diff --git a/policy.php b/policy.php new file mode 100644 index 0000000..fbc732e --- /dev/null +++ b/policy.php @@ -0,0 +1,141 @@ + + +
+

Policy View

+

Aggregated national data for strategic planning and policy making.

+ + +
+ +
+
+
+
National Resilience Heatmap
+
+
+
+
+
+
+ + +
+
+
+
Policy Impact
+

From Diagnosis to National Planning.

+

The aggregated data provides insights for resource allocation, pre-emptive maintenance scheduling, and long-term grid fortification strategies. By identifying high-risk zones, policy makers can direct investments to areas with the most critical need.

+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/privacy.php b/privacy.php new file mode 100644 index 0000000..66ebf03 --- /dev/null +++ b/privacy.php @@ -0,0 +1,23 @@ + + +
+

Privacy Policy

+

Your privacy is important to us. This privacy statement explains the personal data FRA-INSIGHT processes, how FRA-INSIGHT processes it, and for what purposes.

+ +

1. Data We Collect

+

This is a placeholder privacy policy. The application currently does not collect any personal data from public users.

+ +

2. How We Use Data

+

Placeholder text. When features are added that collect data (like a contact form or user accounts), this section will be updated to describe how that data is used.

+ +

3. Cookies

+

Placeholder text. We may use cookies to enhance your experience. Our use of cookies will be detailed here.

+ +

4. Your Rights

+

Placeholder text. Information about user rights regarding their data will be listed here.

+ +

5. Contact Us

+

If you have any questions about this Privacy Policy, please contact us (contact information to be provided).

+
+ + diff --git a/resilience.php b/resilience.php new file mode 100644 index 0000000..8383512 --- /dev/null +++ b/resilience.php @@ -0,0 +1,140 @@ + + +
+

Resilience Index

+

An overview of transformer fleet health and digital twin visualization.

+ +
+ +
+
+
+
Transformer Health Scores
+
+
+
+ + + + + + + + + + +
Transformer IDLocationResilience IndexStatus
+
+
+ +
+
+ + +
+ +
+
+
+
+
+ +
+
+
3D Digital Twin
+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..a25aaeb --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,19 @@ + + + + + / + 2025-10-15T00:00:00+00:00 + 1.00 + + + /privacy.php + 2025-10-15T00:00:00+00:00 + 0.80 + + + diff --git a/upload.php b/upload.php new file mode 100644 index 0000000..8430d72 --- /dev/null +++ b/upload.php @@ -0,0 +1,185 @@ + + +
+
+
+

Upload & Analyze

+
+
+
Upload FRA Data File
+
+
+ + +
+ +
+
+
+
+
+

Analysis Results

+
+ +
+
Diagnostic Summary
+
+
+
+ Fault Type: +

+
+
+ Confidence Score: +

+
+
+
+
+ + +
+
FRA Curve Visualization
+
+
+
+
+ + +
+
+
+
Explainable Diagnostic Intelligence (XDI)
+
+

+
+
+
+
+
+
Transformer Aadhaar ID
+
+ +

+ Blockchain Verified +
+
+
+
+
+ +
+
+ Analyzing... +
+
+
+
+
+ +
+ +

Your analysis results will appear here.

+
+
+
+
+ + + + \ No newline at end of file