Initial commit
This commit is contained in:
215
assets/templates/index.html.template
Normal file
215
assets/templates/index.html.template
Normal file
@@ -0,0 +1,215 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{EXTENSION_NAME}} - TYPO3 Development Environment</title>
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background: white;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
|
||||
max-width: 900px;
|
||||
width: 100%;
|
||||
padding: 40px;
|
||||
}
|
||||
h1 {
|
||||
color: #2d3748;
|
||||
font-size: 2.5em;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.subtitle {
|
||||
color: #718096;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.versions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
|
||||
gap: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.version-card {
|
||||
border: 2px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
padding: 25px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.version-card:hover {
|
||||
border-color: #667eea;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
|
||||
}
|
||||
.version-title {
|
||||
color: #2d3748;
|
||||
font-size: 1.5em;
|
||||
font-weight: 600;
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.version-badge {
|
||||
background: #667eea;
|
||||
color: white;
|
||||
padding: 4px 12px;
|
||||
border-radius: 6px;
|
||||
font-size: 0.7em;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
.link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 12px 16px;
|
||||
background: #f7fafc;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
color: #4a5568;
|
||||
transition: all 0.2s ease;
|
||||
font-weight: 500;
|
||||
}
|
||||
.link:hover {
|
||||
background: #667eea;
|
||||
color: white;
|
||||
transform: translateX(5px);
|
||||
}
|
||||
.link-icon {
|
||||
margin-right: 10px;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.info-section {
|
||||
background: #f7fafc;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.info-title {
|
||||
color: #2d3748;
|
||||
font-size: 1.2em;
|
||||
font-weight: 600;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.info-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 15px;
|
||||
}
|
||||
.info-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.info-label {
|
||||
color: #718096;
|
||||
font-size: 0.9em;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.info-value {
|
||||
color: #2d3748;
|
||||
font-weight: 600;
|
||||
font-family: 'Courier New', monospace;
|
||||
}
|
||||
.tools {
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
border-top: 2px solid #e2e8f0;
|
||||
}
|
||||
.tool-link {
|
||||
display: inline-block;
|
||||
padding: 10px 20px;
|
||||
background: #48bb78;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.tool-link:hover {
|
||||
background: #38a169;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.versions {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>🚀 {{EXTENSION_NAME}}</h1>
|
||||
<p class="subtitle">Development Environment - Multi-Version Testing</p>
|
||||
|
||||
<div class="versions">
|
||||
<div class="version-card">
|
||||
<div class="version-title">
|
||||
TYPO3 v12
|
||||
<span class="version-badge">LTS</span>
|
||||
</div>
|
||||
<div class="links">
|
||||
<a href="https://v12.{{DDEV_PROJECT}}.ddev.site/" class="link">
|
||||
<span class="link-icon">🌐</span>
|
||||
Frontend
|
||||
</a>
|
||||
<a href="https://v12.{{DDEV_PROJECT}}.ddev.site/typo3/" class="link">
|
||||
<span class="link-icon">🔧</span>
|
||||
Backend
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="version-card">
|
||||
<div class="version-title">
|
||||
TYPO3 v13
|
||||
<span class="version-badge">LTS</span>
|
||||
</div>
|
||||
<div class="links">
|
||||
<a href="https://v13.{{DDEV_PROJECT}}.ddev.site/" class="link">
|
||||
<span class="link-icon">🌐</span>
|
||||
Frontend
|
||||
</a>
|
||||
<a href="https://v13.{{DDEV_PROJECT}}.ddev.site/typo3/" class="link">
|
||||
<span class="link-icon">🔧</span>
|
||||
Backend
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info-section">
|
||||
<div class="info-title">📋 Backend Access</div>
|
||||
<div class="info-grid">
|
||||
<div class="info-item">
|
||||
<div class="info-label">Username</div>
|
||||
<div class="info-value">admin</div>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<div class="info-label">Password</div>
|
||||
<div class="info-value">Password:joh316</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tools">
|
||||
<div class="info-title">🛠️ Development Tools</div>
|
||||
<a href="https://{{DDEV_PROJECT}}.ddev.site:8026/" class="tool-link">📧 Mailpit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user