Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>AutoSite Test Page</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
max-width: 800px; | |
margin: 0 auto; | |
padding: 20px; | |
line-height: 1.6; | |
} | |
h1 { | |
color: #333; | |
border-bottom: 2px solid #eee; | |
padding-bottom: 10px; | |
} | |
.container { | |
display: flex; | |
flex-wrap: wrap; | |
gap: 20px; | |
margin-top: 20px; | |
} | |
.card { | |
flex: 1 1 300px; | |
border: 1px solid #ddd; | |
border-radius: 8px; | |
padding: 15px; | |
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
} | |
button { | |
background-color: #4CAF50; | |
color: white; | |
border: none; | |
padding: 10px 15px; | |
border-radius: 4px; | |
cursor: pointer; | |
font-size: 16px; | |
margin-top: 10px; | |
} | |
button:hover { | |
background-color: #45a049; | |
} | |
img { | |
max-width: 100%; | |
height: auto; | |
border-radius: 4px; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>AutoSite Test Page</h1> | |
<p>This is a test page to verify the functionality of the AutoSite application. It includes various HTML elements to test the rendering and editing capabilities.</p> | |
<div class="container"> | |
<div class="card"> | |
<h2>Feature 1</h2> | |
<p>This card demonstrates a basic content block with a heading and paragraph.</p> | |
<button id="btn1">Click Me</button> | |
</div> | |
<div class="card"> | |
<h2>Feature 2</h2> | |
<p>This card includes an image element to test media handling.</p> | |
<img src="https://via.placeholder.com/300x200" alt="Placeholder Image"> | |
</div> | |
<div class="card"> | |
<h2>Feature 3</h2> | |
<p>This card includes a form element to test input handling.</p> | |
<form> | |
<input type="text" placeholder="Enter your name" style="width: 100%; padding: 8px; margin-bottom: 10px;"> | |
<button type="button">Submit</button> | |
</form> | |
</div> | |
</div> | |
<script> | |
// Simple script to test JavaScript functionality | |
document.getElementById('btn1').addEventListener('click', function() { | |
alert('Button clicked!'); | |
}); | |
// Log to console to test console output | |
console.log('Test page loaded successfully'); | |
</script> | |
</body> | |
</html> |