upskill-event-manager/templates/page-community-login.php
Ben c3e7fe9140 feat: comprehensive HVAC plugin development framework and modernization
## Major Enhancements

### 🏗️ Architecture & Infrastructure
- Implement comprehensive Docker testing infrastructure with hermetic environment
- Add Forgejo Actions CI/CD pipeline for automated deployments
- Create Page Object Model (POM) testing architecture reducing test duplication by 90%
- Establish security-first development patterns with input validation and output escaping

### 🧪 Testing Framework Modernization
- Migrate 146+ tests from 80 duplicate files to centralized architecture
- Add comprehensive E2E test suites for all user roles and workflows
- Implement WordPress error detection with automatic site health monitoring
- Create robust browser lifecycle management with proper cleanup

### 📚 Documentation & Guides
- Add comprehensive development best practices guide
- Create detailed administrator setup documentation
- Establish user guides for trainers and master trainers
- Document security incident reports and migration guides

### 🔧 Core Plugin Features
- Enhance trainer profile management with certification system
- Improve find trainer functionality with advanced filtering
- Strengthen master trainer area with content management
- Add comprehensive venue and organizer management

### 🛡️ Security & Reliability
- Implement security-first patterns throughout codebase
- Add comprehensive input validation and output escaping
- Create secure credential management system
- Establish proper WordPress role-based access control

### 🎯 WordPress Integration
- Strengthen singleton pattern implementation across all classes
- Enhance template hierarchy with proper WordPress integration
- Improve page manager with hierarchical URL structure
- Add comprehensive shortcode and menu system

### 🔍 Developer Experience
- Add extensive debugging and troubleshooting tools
- Create comprehensive test data seeding scripts
- Implement proper error handling and logging
- Establish consistent code patterns and standards

### 📊 Performance & Optimization
- Optimize database queries and caching strategies
- Improve asset loading and script management
- Enhance template rendering performance
- Streamline user experience across all interfaces

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 11:26:10 -03:00

53 lines
No EOL
1.3 KiB
PHP

<?php
/**
* Template Name: HVAC Community Login
*
* This is the custom template for the community login page.
*
* @package HVAC_Community_Events
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header(); ?>
<style>
/* Override theme constraints for login page */
#primary, #main, .content-area, .site-main {
max-width: none !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
/* Hide default page title */
.entry-header {
display: none !important;
}
/* Ensure full-width wrapper */
.hvac-community-login-wrapper {
width: 100vw !important;
margin-left: calc(-50vw + 50%) !important;
padding: 60px 20px !important;
min-height: 70vh !important;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}
</style>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
// Process the shortcode directly
// Login handler is loaded during plugin initialization - no need for conditional require_once
$login_handler = new \HVAC_Community_Events\Community\Login_Handler();
// Now call the render method directly
echo $login_handler->render_login_form(array());
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>