311 lines
8.9 KiB
PHP
311 lines
8.9 KiB
PHP
<?php
|
|
// filepath: v:\controls\trends\live\index.php
|
|
include "../../session.php";
|
|
include "../../userAccess.php";
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>LASUCA Controls - Real-Time Trending Applications</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background: linear-gradient(135deg, #2c3e50, #34495e);
|
|
color: #ecf0f1;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header {
|
|
background: #34495e;
|
|
padding: 20px;
|
|
text-align: center;
|
|
border-bottom: 3px solid #3498db;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.header h1 {
|
|
color: #3498db;
|
|
font-size: 2.5rem;
|
|
margin-bottom: 10px;
|
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.header p {
|
|
font-size: 1.1rem;
|
|
color: #bdc3c7;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.container {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.app-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
|
gap: 30px;
|
|
max-width: 1000px;
|
|
width: 100%;
|
|
}
|
|
|
|
.app-card {
|
|
background: #ecf0f1;
|
|
border-radius: 15px;
|
|
padding: 30px;
|
|
text-align: center;
|
|
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
color: #2c3e50;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 15px 35px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.app-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
|
|
transition: left 0.5s;
|
|
}
|
|
|
|
.app-card:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.app-icon {
|
|
font-size: 4rem;
|
|
margin-bottom: 20px;
|
|
color: #3498db;
|
|
}
|
|
|
|
.app-card h2 {
|
|
color: #2c3e50;
|
|
font-size: 1.8rem;
|
|
margin-bottom: 15px;
|
|
border-bottom: 2px solid #3498db;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.app-description {
|
|
color: #7f8c8d;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.app-features {
|
|
text-align: left;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.app-features ul {
|
|
list-style: none;
|
|
color: #5d6d7e;
|
|
}
|
|
|
|
.app-features li {
|
|
margin-bottom: 8px;
|
|
padding-left: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.app-features li::before {
|
|
content: '✓';
|
|
position: absolute;
|
|
left: 0;
|
|
color: #27ae60;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.app-link {
|
|
display: inline-block;
|
|
background: #3498db;
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: 15px 30px;
|
|
border-radius: 8px;
|
|
font-weight: bold;
|
|
font-size: 1.1rem;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
|
|
}
|
|
|
|
.app-link:hover {
|
|
background: #2980b9;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
|
|
}
|
|
|
|
.beta-badge {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
background: #e67e22;
|
|
color: white;
|
|
padding: 5px 10px;
|
|
border-radius: 15px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.feedback-section {
|
|
background: #34495e;
|
|
padding: 30px 20px;
|
|
text-align: center;
|
|
border-top: 2px solid #3498db;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.feedback-section h3 {
|
|
color: #3498db;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.feedback-section p {
|
|
color: #bdc3c7;
|
|
font-size: 1rem;
|
|
max-width: 600px;
|
|
margin: 0 auto 20px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.feedback-contact {
|
|
color: #3498db;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.feedback-contact:hover {
|
|
color: #5dade2;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.app-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.app-card {
|
|
padding: 25px;
|
|
}
|
|
|
|
.app-icon {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>LASUCA Controls</h1>
|
|
<p>Real-Time Process Trending Applications</p>
|
|
<p><strong>Testing Environment - Beta Version</strong></p>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="app-grid">
|
|
<!-- Single Chart Application -->
|
|
<div class="app-card">
|
|
<div class="beta-badge">Beta</div>
|
|
<div class="app-icon">📊</div>
|
|
<h2>Single Chart Trending</h2>
|
|
<div class="app-description">
|
|
A focused real-time trending application for monitoring one or two process variables with detailed analysis and multiple time windows.
|
|
</div>
|
|
<div class="app-features">
|
|
<ul>
|
|
<li>Single chart with dual Y-axes</li>
|
|
<li>Primary + Secondary tag support</li>
|
|
<li>Real-time statistics display</li>
|
|
<li>Sliding time window</li>
|
|
</ul>
|
|
</div>
|
|
<a href="singlechart.php" class="app-link">Launch Single Chart</a>
|
|
</div>
|
|
|
|
<!-- Multi-Chart Application -->
|
|
<div class="app-card">
|
|
<div class="beta-badge">Beta</div>
|
|
<div class="app-icon">📈</div>
|
|
<h2>Multi-Chart Dashboard</h2>
|
|
<div class="app-description">
|
|
A comprehensive dashboard for monitoring multiple process variables simultaneously with independent controls for each chart panel.
|
|
</div>
|
|
<div class="app-features">
|
|
<ul>
|
|
<li>4 independent chart panels</li>
|
|
<li>Dual tags per chart (8 total)</li>
|
|
<li>Global and individual controls</li>
|
|
<li>Full-screen dashboard layout</li>
|
|
<li>Synchronized time windows</li>
|
|
<li>10, 15, and 30-minute time windows</li>
|
|
</ul>
|
|
</div>
|
|
<a href="multichart.php" class="app-link">Launch Multi-Chart</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="feedback-section">
|
|
<h3>🔧 Testing & Feedback</h3>
|
|
<p>
|
|
<strong>Please report:</strong> Bugs, performance issues, feature requests, or general usability feedback.
|
|
</p>
|
|
</div>
|
|
|
|
<script>
|
|
// Add some interactive effects
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const cards = document.querySelectorAll('.app-card');
|
|
|
|
cards.forEach(card => {
|
|
card.addEventListener('mouseenter', function() {
|
|
this.style.transform = 'translateY(-10px) scale(1.02)';
|
|
});
|
|
|
|
card.addEventListener('mouseleave', function() {
|
|
this.style.transform = 'translateY(0) scale(1)';
|
|
});
|
|
});
|
|
|
|
// Add click tracking for analytics (optional)
|
|
const links = document.querySelectorAll('.app-link');
|
|
links.forEach(link => {
|
|
link.addEventListener('click', function(e) {
|
|
const appName = this.textContent.trim();
|
|
console.log(`User clicked: ${appName} at ${new Date().toISOString()}`);
|
|
// You could send this data to analytics if needed
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|