Files
ctdogetudid/instruction.php
Do Nguyen 7eb61dcf9c completed
2025-06-04 22:46:55 +07:00

215 lines
5.6 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Get UDID - Install Profile</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #4F46E5;
--primary-dark: #4338CA;
--text-color: #1F2937;
--text-light: #6B7280;
--background: #F9FAFB;
--white: #FFFFFF;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background: var(--background);
min-height: 100vh;
}
.hero {
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
color: var(--white);
padding: 4rem 1rem;
text-align: center;
}
.hero h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
animation: fadeInUp 0.6s ease-out;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 2rem 1rem;
}
.card {
background: var(--white);
border-radius: 1rem;
padding: 2rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
margin: -4rem auto 2rem;
animation: fadeInUp 0.6s ease-out 0.4s both;
}
.steps {
margin: 2rem 0;
}
.step {
display: flex;
align-items: center;
margin-bottom: 1.5rem;
padding: 1rem;
background: var(--white);
border-radius: 0.75rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
animation: fadeInLeft 0.6s ease-out both;
}
.step:nth-child(2) {
animation-delay: 0.2s;
}
.step:nth-child(3) {
animation-delay: 0.4s;
}
.step:nth-child(4) {
animation-delay: 0.6s;
}
.step:before {
content: "";
color: var(--primary-color);
font-size: 1.2rem;
font-weight: bold;
margin-right: 1rem;
min-width: 24px;
}
.button {
display: inline-block;
padding: 1rem 2rem;
font-size: 1.1rem;
font-weight: 600;
color: var(--white);
background: var(--primary-color);
border-radius: 0.75rem;
text-decoration: none;
transition: all 0.3s ease;
text-align: center;
margin: 0.5rem;
animation: fadeInUp 0.6s ease-out 0.8s both;
}
.button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
background: var(--primary-dark);
}
.button.secondary {
background: var(--text-light);
margin-top: 1rem;
}
.button.secondary:hover {
background: #4B5563;
}
.actions {
text-align: center;
margin-top: 2rem;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInLeft {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@media (max-width: 640px) {
.hero {
padding: 3rem 1rem;
}
.hero h1 {
font-size: 2rem;
}
.card {
margin: -2rem 1rem 2rem;
padding: 1.5rem;
}
.button {
display: block;
margin: 0.5rem auto;
}
}
</style>
</head>
<body>
<div class="hero">
<h1>Install Profile</h1>
</div>
<div class="container">
<div class="card">
<div class="steps">
<div class="step">
Open your iPhone Settings
</div>
<div class="step">
Look for "Profile Downloaded" at the top
</div>
<div class="step">
Tap Install in the top right corner
</div>
<div class="step">
After installation, return here for your UDID
</div>
</div>
<div class="actions">
<a href="App-prefs://prefs:root=General&path=ManagedConfigurationList" class="button">
Open Settings
</a>
<a href="/" class="button secondary">Return to Home</a>
</div>
</div>
</div>
<footer style="text-align: center; padding: 2rem; color: var(--text-light); font-size: 0.9rem;">
<p>&copy; <?php echo date('Y'); ?> ctdogetudid. All rights reserved.</p>
</footer>
<script>
// Check if device is iOS
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
if (!isIOS) {
document.querySelector('.button').style.display = 'none';
}
</script>
</body>
</html>