502 lines
14 KiB
HTML
502 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Work Package Suite — Prime Controls</title>
|
|
<link rel="stylesheet" href="theme-light.css">
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--cds-background);
|
|
color: var(--cds-text-primary);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* HEADER */
|
|
.header {
|
|
background: var(--cds-layer);
|
|
padding: 1.5rem 2rem;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
|
|
border-bottom: 1px solid var(--cds-border-subtle);
|
|
}
|
|
|
|
.header-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
text-decoration: none;
|
|
color: var(--cds-text-primary);
|
|
background: white;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.logo img {
|
|
height: 32px;
|
|
width: auto;
|
|
}
|
|
|
|
.logo:hover { opacity: 0.9; }
|
|
|
|
.header-spacer { flex: 1; }
|
|
|
|
.header-nav {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-nav a {
|
|
color: var(--cds-text-secondary);
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.header-nav a:hover { color: var(--cds-text-primary); }
|
|
|
|
/* CONTAINER */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 3rem 2rem;
|
|
}
|
|
|
|
/* HERO */
|
|
.hero {
|
|
text-align: center;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.625rem;
|
|
font-weight: 300;
|
|
margin-bottom: 1rem;
|
|
color: var(--cds-text-primary);
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.125rem;
|
|
color: var(--cds-text-secondary);
|
|
margin-bottom: 2rem;
|
|
max-width: 700px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
/* CARDS */
|
|
.cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.card {
|
|
background: var(--cds-layer);
|
|
border: 1px solid var(--cds-border-subtle);
|
|
border-radius: 4px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
color: var(--cds-text-primary);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.4);
|
|
transform: translateY(-2px);
|
|
border-color: var(--cds-button-primary);
|
|
}
|
|
|
|
.card-badge {
|
|
display: inline-block;
|
|
background: var(--cds-button-primary);
|
|
color: white;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
width: fit-content;
|
|
}
|
|
|
|
.card h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.card p {
|
|
color: var(--cds-text-secondary);
|
|
margin-bottom: 1.5rem;
|
|
flex: 1;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.card-button {
|
|
display: inline-block;
|
|
background: var(--cds-button-primary);
|
|
color: white;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 3px;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
transition: background 0.2s;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.card-button:hover {
|
|
background: var(--cds-hover-primary);
|
|
}
|
|
|
|
/* SECTION */
|
|
.section {
|
|
background: var(--cds-layer);
|
|
border-radius: 4px;
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
border: 1px solid var(--cds-border-subtle);
|
|
}
|
|
|
|
.section h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--cds-text-primary);
|
|
}
|
|
|
|
.section h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.section p {
|
|
color: var(--cds-text-secondary);
|
|
margin-bottom: 1rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.quick-start {
|
|
background: var(--cds-button-primary);
|
|
color: white;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.quick-start h2 { color: white; }
|
|
.quick-start ol { margin-left: 1.5rem; line-height: 2; }
|
|
.quick-start li { margin-bottom: 0.5rem; }
|
|
|
|
/* FOOTER */
|
|
.footer {
|
|
background: var(--cds-ui-01);
|
|
color: var(--cds-text-secondary);
|
|
padding: 2rem;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
border-top: 1px solid var(--cds-border-subtle);
|
|
}
|
|
|
|
.footer a {
|
|
color: var(--cds-link-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer a:hover { text-decoration: underline; }
|
|
|
|
/* COMMENTS SECTION */
|
|
.comments-section {
|
|
background: var(--cds-layer);
|
|
border-radius: 4px;
|
|
padding: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
border: 1px solid var(--cds-border-subtle);
|
|
}
|
|
|
|
.comments-toggle {
|
|
padding: 0.75rem 1.5rem;
|
|
background: var(--cds-button-primary);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 3px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.comments-toggle:hover { background: var(--cds-hover-primary); }
|
|
|
|
.comments-panel {
|
|
display: none;
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
background: var(--cds-ui-01);
|
|
border-radius: 3px;
|
|
border: 1px solid var(--cds-border-subtle);
|
|
}
|
|
|
|
.comments-panel.open { display: block; }
|
|
|
|
.comments-panel input,
|
|
.comments-panel textarea {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--cds-border-subtle);
|
|
border-radius: 3px;
|
|
background: var(--cds-ui-02);
|
|
color: var(--cds-text-primary);
|
|
font-family: inherit;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.comments-panel textarea {
|
|
resize: vertical;
|
|
min-height: 80px;
|
|
}
|
|
|
|
.comment-buttons {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.comment-buttons button {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.submit-btn {
|
|
background: var(--cds-button-primary);
|
|
color: white;
|
|
}
|
|
|
|
.submit-btn:hover { background: var(--cds-hover-primary); }
|
|
|
|
.close-btn {
|
|
background: var(--cds-border-subtle);
|
|
color: var(--cds-text-primary);
|
|
}
|
|
|
|
.close-btn:hover { background: var(--cds-hover-ui); }
|
|
|
|
.comments-list {
|
|
margin-top: 1rem;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.comment-item {
|
|
padding: 0.75rem;
|
|
background: var(--cds-background);
|
|
border: 1px solid var(--cds-border-subtle);
|
|
border-radius: 3px;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.comment-meta {
|
|
font-size: 11px;
|
|
color: var(--cds-text-secondary);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.comment-text {
|
|
color: var(--cds-text-primary);
|
|
}
|
|
|
|
/* RESPONSIVE */
|
|
@media (max-width: 768px) {
|
|
.header-content { flex-direction: column; text-align: center; }
|
|
.header-spacer { display: none; }
|
|
.hero h1 { font-size: 1.75rem; }
|
|
.cards-grid { grid-template-columns: 1fr; }
|
|
.container { padding: 1.5rem; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- HEADER -->
|
|
<header class="header">
|
|
<div class="header-content">
|
|
<a href="index.html" class="logo">
|
|
<img src="prime-controls-logo.jpg" alt="Prime Controls">
|
|
<div>Work Package Suite</div>
|
|
</a>
|
|
<div class="header-spacer"></div>
|
|
<nav class="header-nav">
|
|
<a href="#overview">Overview</a>
|
|
<a href="#comments">Feedback</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- MAIN CONTENT -->
|
|
<div class="container">
|
|
|
|
<!-- HERO -->
|
|
<div class="hero">
|
|
<h1>Work Package Suite</h1>
|
|
<p>Standardized approach to Work Package creation for Prime Controls construction projects. Configure project parameters, define constraints, and generate compliant work packages.</p>
|
|
</div>
|
|
|
|
<!-- TOOL CARDS -->
|
|
<div class="cards-grid" id="overview">
|
|
|
|
<!-- UNIFIED SUITE -->
|
|
<a href="work-package-suite.html" class="card">
|
|
<div class="card-badge">Recommended</div>
|
|
<h3>Unified Suite</h3>
|
|
<p>Complete end-to-end workflow. Configure project SOP in 10 steps, then immediately create Work Packages with all SOP defaults pre-populated.</p>
|
|
<button class="card-button">Launch Suite</button>
|
|
</a>
|
|
|
|
<!-- SOP CONFIG TOOL -->
|
|
<a href="sop-config-tool.html" class="card">
|
|
<h3>SOP Configuration</h3>
|
|
<p>Standalone project baseline generator. Define roles, constraints, governance, and platforms. Generates exportable SOP JSON for sharing with team.</p>
|
|
<button class="card-button">Open Tool</button>
|
|
</a>
|
|
|
|
<!-- WP CREATION TOOL -->
|
|
<a href="wp-creation-index.html" class="card">
|
|
<h3>Work Package Creator</h3>
|
|
<p>Individual Work Package authoring tool. Requires an SOP file. Create, review, and export individual IWPs with constraint checklists.</p>
|
|
<button class="card-button">Open Tool</button>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<!-- QUICK START -->
|
|
<div class="section quick-start">
|
|
<h2>Getting Started</h2>
|
|
<ol>
|
|
<li><strong>Click "Unified Suite"</strong> to begin</li>
|
|
<li><strong>Complete the 10-step SOP Configuration</strong> for your project (~15 minutes)</li>
|
|
<li><strong>Switch to "Work Package Creation" tab</strong> to start authoring Work Packages</li>
|
|
<li><strong>Leave feedback</strong> on any page using the feedback button below</li>
|
|
</ol>
|
|
</div>
|
|
|
|
<!-- COMMENTS SECTION -->
|
|
<div class="comments-section" id="comments">
|
|
<button class="comments-toggle" onclick="toggleComments()">Leave Feedback</button>
|
|
<div class="comments-panel" id="comments-panel">
|
|
<div style="margin-bottom: 1rem;">
|
|
<label style="font-weight: 600; font-size: 13px; color: var(--cds-text-primary);">Name (optional)</label>
|
|
<input type="text" id="commenter-name" placeholder="Your name">
|
|
</div>
|
|
<div style="margin-bottom: 1rem;">
|
|
<label style="font-weight: 600; font-size: 13px; color: var(--cds-text-primary);">Feedback</label>
|
|
<textarea id="comment-text" placeholder="Your feedback here..."></textarea>
|
|
</div>
|
|
<div class="comment-buttons">
|
|
<button class="submit-btn" onclick="submitComment()">Submit</button>
|
|
<button class="close-btn" onclick="toggleComments()">Close</button>
|
|
</div>
|
|
<div class="comments-list" id="comments-list"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- SUPPORT SECTION -->
|
|
<div class="section">
|
|
<h2>About This Suite</h2>
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;">
|
|
<div>
|
|
<h3>Three Complementary Tools</h3>
|
|
<p>Unified workflow for end-to-end SOP+WP creation, standalone SOP generator, and individual WP authoring. Choose the approach that fits your workflow.</p>
|
|
</div>
|
|
<div>
|
|
<h3>Leave Feedback</h3>
|
|
<p>Use the feedback section on this page or within any tool. All comments are stored locally and can be exported for team review and iteration.</p>
|
|
</div>
|
|
<div>
|
|
<h3>Offline & Collaborative</h3>
|
|
<p>All tools work entirely in your browser. Export SOP and Work Package data as JSON for sharing, version control, and integration.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- FOOTER -->
|
|
<footer class="footer">
|
|
<p>Work Package Suite v1.0 | Prime Controls | All files work offline with local browser storage</p>
|
|
</footer>
|
|
|
|
<script>
|
|
let allComments = [];
|
|
|
|
function toggleComments() {
|
|
const panel = document.getElementById('comments-panel');
|
|
panel.classList.toggle('open');
|
|
if (panel.classList.contains('open')) loadComments();
|
|
}
|
|
|
|
function submitComment() {
|
|
const name = document.getElementById('commenter-name').value || 'Anonymous';
|
|
const text = document.getElementById('comment-text').value.trim();
|
|
|
|
if (!text) {
|
|
alert('Please enter feedback.');
|
|
return;
|
|
}
|
|
|
|
const comment = {
|
|
name,
|
|
text,
|
|
timestamp: new Date().toLocaleString()
|
|
};
|
|
|
|
allComments.push(comment);
|
|
localStorage.setItem('wp_suite_index_comments', JSON.stringify(allComments));
|
|
|
|
document.getElementById('comment-text').value = '';
|
|
document.getElementById('commenter-name').value = '';
|
|
loadComments();
|
|
alert('Thank you! Feedback submitted.');
|
|
}
|
|
|
|
function loadComments() {
|
|
const saved = localStorage.getItem('wp_suite_index_comments');
|
|
if (saved) allComments = JSON.parse(saved);
|
|
|
|
const list = document.getElementById('comments-list');
|
|
if (allComments.length === 0) {
|
|
list.innerHTML = '<div style="color: var(--cds-text-secondary); font-style: italic; font-size: 12px;">No feedback yet. Be the first to share!</div>';
|
|
} else {
|
|
list.innerHTML = allComments.map(c => `
|
|
<div class="comment-item">
|
|
<div class="comment-meta"><strong>${c.name}</strong> • ${c.timestamp}</div>
|
|
<div class="comment-text">${c.text.replace(/</g,'<').replace(/>/g,'>')}</div>
|
|
</div>
|
|
`).join('');
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|