upskill-event-manager/templates/page-trainer-training-resources.php
ben 16acf2c8e7 docs: comprehensive deprecation of legacy event creation system
- Create authoritative DEPRECATED-FILES.md documenting 27+ deprecated files
- Add deprecation notices to legacy templates (page-create-event.php, page-manage-event.php, page-edit-event.php)
- Mark deprecated JavaScript files (hvac-event-form-templates.js) with migration paths
- Add deprecation notices to 8 legacy test files with comprehensive explanations
- Update Status.md to reflect completion of comprehensive event creation system v3.2.0
- Automated deprecation script for consistent messaging across files

All deprecated functionality has been replaced by:
- page-tec-create-event.php with AI assistance and native TEC integration
- Comprehensive E2E testing framework with Page Object Model
- Integrated template system with enhanced user experience
- Modern responsive design with role-based permissions

Scheduled for removal in v3.3 after transition period

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 20:55:13 -03:00

137 lines
No EOL
2.8 KiB
PHP

<?php
/**
* Template for Trainer - Training Resources (Google Drive)
*/
// Prevent direct access
if (!defined('ABSPATH')) {
exit;
}
// Define template constant
define('HVAC_IN_PAGE_TEMPLATE', true);
get_header(); ?>
<div class="hvac-trainer-resources-page">
<div class="container">
<?php
// Get breadcrumbs
if (class_exists('HVAC_Breadcrumbs')) {
echo HVAC_Breadcrumbs::instance()->render_breadcrumbs();
}
// Get navigation
if (class_exists('HVAC_Menu_System')) {
echo HVAC_Menu_System::render_navigation();
}
?>
<div class="hvac-page-content">
<div class="hvac-page-header">
<h1 class="hvac-page-title">
<i class="fas fa-folder-open"></i>
Training Resources
</h1>
<p class="hvac-page-subtitle">Access training materials, documents, and resources</p>
</div>
<div class="hvac-resources-wrapper">
<?php
while (have_posts()) :
the_post();
?>
<div class="hvac-resources-content">
<?php the_content(); ?>
</div>
<?php
endwhile;
?>
</div>
</div>
</div>
</div>
<style>
.hvac-trainer-resources-page {
background: #f8f9fa;
min-height: 100vh;
padding: 2rem 0;
}
.hvac-trainer-resources-page .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.hvac-page-header {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
margin-bottom: 2rem;
text-align: center;
}
.hvac-page-title {
color: #2c3e50;
font-size: 2.5rem;
margin-bottom: 0.5rem;
font-weight: 700;
}
.hvac-page-title i {
color: #f39c12;
margin-right: 1rem;
}
.hvac-page-subtitle {
color: #7f8c8d;
font-size: 1.2rem;
margin: 0;
}
.hvac-resources-wrapper {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
min-height: 600px;
}
/* Google Drive embed styles */
.hvac-google-drive-embed {
width: 100%;
height: 600px;
border: none;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Responsive design */
@media (max-width: 768px) {
.hvac-trainer-resources-page {
padding: 1rem 0;
}
.hvac-trainer-resources-page .container {
padding: 0 15px;
}
.hvac-page-header,
.hvac-resources-wrapper {
padding: 1.5rem;
}
.hvac-page-title {
font-size: 2rem;
}
.hvac-google-drive-embed {
height: 400px;
}
}
</style>
<?php get_footer(); ?>