Benjamin Harris пре 2 месеци
родитељ
комит
3bbfd240ab
3 измењених фајлова са 11 додато и 9 уклоњено
  1. 2 4
      dashboard/crop-analysis/soil-test-data/soil-analysis.php
  2. 1 1
      index.php
  3. 8 4
      layouts/header.php

+ 2 - 4
dashboard/crop-analysis/soil-test-data/soil-analysis.php

@@ -240,7 +240,7 @@ $pageTitle = 'Soil Analysis Results' . ($client !== '' ? ' - ' . $client : '');
 include __DIR__.'/../../../layouts/header.php';
 ?>
 
-<link rel="stylesheet" href="client-assets/home/css/graphPrint.css" media="print">
+<link rel="stylesheet" href="/client-assets/home/css/graphPrint.css" media="print">
 <style>
     .progress { border-radius: 0 !important; }
 </style>
@@ -249,7 +249,7 @@ include __DIR__.'/../../../layouts/header.php';
 
     <div class="row mb-2">
         <div class="col-md-3">
-            <img class="img-fluid" src="client-assets/images/crop-monitor.png" alt="Crop Monitor">
+            <img class="img-fluid" src="/client-assets/images/crop-monitor.png" alt="Crop Monitor">
         </div>
     </div>
 
@@ -481,8 +481,6 @@ include __DIR__.'/../../../layouts/header.php';
 
 </div><!-- /.container -->
 
-<?php include __DIR__.'/../../../layouts/footer.php'; ?>
-
 <script>
 function generateGraph() {
     alert('Graph generation functionality will be implemented here.');

+ 1 - 1
index.php

@@ -12,7 +12,7 @@ $siteUrl   = '/';
   <meta name="description" content="Centralise records for irrigation, weather and soil moisture. Real-time crop monitoring built on Albrecht Method soil science for Australian conditions.">
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400&display=swap" rel="stylesheet">
-  <link href="client-assets/home/css/home.css" rel="stylesheet" type="text/css" media="screen" />
+  <link href="client-assets/css/home.css" rel="stylesheet" type="text/css" media="screen" />
 </head>
 <body>
 

+ 8 - 4
layouts/header.php

@@ -6,6 +6,10 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <title><?= htmlspecialchars($pageTitle ?? 'Crop Management Platform', ENT_QUOTES, 'UTF-8') ?></title>
 
+    <meta name="description" content="Crop Management Platform - A comprehensive solution for monitoring and managing crop health, soil conditions, and weather patterns to optimize agricultural productivity.">
+    <meta name="keywords" content="Crop Management, Agriculture, Soil Analysis, Weather Monitoring, Crop Health, Farm Management, Agricultural Technology">
+    <meta name="author" content="Crop Management Platform Team">
+    
     <link rel="icon" href="client-assets/images/favicon.ico?v=2" type="image/x-icon">
 
     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
@@ -13,14 +17,14 @@
     <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.css" integrity="sha256-PF6MatZtiJ8/c9O9HQ8uSUXr++R9KBYu4gbNG5511WE=" crossorigin="anonymous" rel="stylesheet" type="text/css"  />
     <link type="text/css" href="/client-assets/weather-icons/css/weather-icons.min.css?version=1.16" rel="stylesheet" type="text/css" />
     <link href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.css" rel="stylesheet" type="text/css" />
-    <link href="client-assets/css/dashboard-2021.css" rel="stylesheet" type="text/css" />
-    <link href="client-assets/home/css/graphing.css" rel="stylesheet" type="text/css" media="screen" />
-    <link href="client-assets/home/css/alux.min.css" rel="stylesheet" type="text/css" media="screen" />
+    <link href="/client-assets/css/dashboard-2021.css" rel="stylesheet" type="text/css" />
+    <link href="/client-assets/home/css/graphing.css" rel="stylesheet" type="text/css" media="screen" />
+    <link href="/client-assets/home/css/alux.min.css" rel="stylesheet" type="text/css" media="screen" />
 
     <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
     <script type="text/javascript" src="https://use.fontawesome.com/1e2844bb90.js"></script>
     <script src="https://unpkg.com/gijgo@1.9.11/js/gijgo.min.js" type="text/javascript"></script>
     <link href="https://unpkg.com/gijgo@1.9.11/css/gijgo.min.css" rel="stylesheet" type="text/css" />
-    <script src="client-assets/js/skycons.js" type="text/javascript"></script>
+    <script src="/client-assets/js/skycons.js" type="text/javascript"></script>
 </head>
 <body class="sb-nav-fixed" id="page-top">