completed
This commit is contained in:
297
show_detail.php
Normal file
297
show_detail.php
Normal file
@@ -0,0 +1,297 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Get UDID - Your Device Information</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;
|
||||
--success: #10B981;
|
||||
}
|
||||
|
||||
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: 800px;
|
||||
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;
|
||||
}
|
||||
|
||||
.udid-section {
|
||||
text-align: center;
|
||||
margin: 2rem 0;
|
||||
animation: fadeInUp 0.6s ease-out 0.6s both;
|
||||
}
|
||||
|
||||
.udid-value {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 1.1rem;
|
||||
padding: 1rem;
|
||||
background: var(--background);
|
||||
border-radius: 0.5rem;
|
||||
margin: 1rem 0;
|
||||
word-break: break-all;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.udid-value:hover {
|
||||
background: #E5E7EB;
|
||||
}
|
||||
|
||||
.udid-value::after {
|
||||
content: "Click to copy";
|
||||
position: absolute;
|
||||
bottom: -25px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-light);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.udid-value:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.copied-message {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: var(--success);
|
||||
color: white;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 0.9rem;
|
||||
display: none;
|
||||
animation: fadeInDown 0.3s ease-out;
|
||||
}
|
||||
|
||||
.device-info {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin: 2rem 0;
|
||||
animation: fadeInUp 0.6s ease-out 0.8s both;
|
||||
}
|
||||
|
||||
.info-item {
|
||||
background: var(--background);
|
||||
padding: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.info-label {
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-light);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
margin-top: 2rem;
|
||||
animation: fadeInUp 0.6s ease-out 1s both;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
||||
.button.secondary:hover {
|
||||
background: #4B5563;
|
||||
}
|
||||
|
||||
.notice {
|
||||
text-align: center;
|
||||
color: var(--text-light);
|
||||
font-size: 0.9rem;
|
||||
margin-top: 2rem;
|
||||
animation: fadeInUp 0.6s ease-out 1.2s both;
|
||||
}
|
||||
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.hero {
|
||||
padding: 3rem 1rem;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
.card {
|
||||
margin: -2rem 1rem 2rem;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
.actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
.button {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="copied-message">UDID copied to clipboard!</div>
|
||||
|
||||
<div class="hero">
|
||||
<h1>Your Device UDID</h1>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
<div class="udid-section">
|
||||
<h2>Device UDID</h2>
|
||||
<div class="udid-value" id="udid">
|
||||
<?php echo htmlspecialchars($_GET['UDID']); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="device-info">
|
||||
<div class="info-item">
|
||||
<div class="info-label">Device Model</div>
|
||||
<div class="info-value"><?php echo htmlspecialchars($_GET['DEVICE_PRODUCT']); ?></div>
|
||||
</div>
|
||||
|
||||
<div class="info-item">
|
||||
<div class="info-label">iOS Version</div>
|
||||
<div class="info-value"><?php echo htmlspecialchars($_GET['DEVICE_VERSION']); ?></div>
|
||||
</div>
|
||||
|
||||
<div class="info-item">
|
||||
<div class="info-label">Device Name</div>
|
||||
<div class="info-value"><?php echo htmlspecialchars($_GET['DEVICE_NAME']); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<?php
|
||||
$emailSubject = urlencode("Device UDID Information");
|
||||
$emailBody = urlencode(
|
||||
"UDID: {$_GET['UDID']}\n" .
|
||||
"Device: {$_GET['DEVICE_PRODUCT']}\n" .
|
||||
"iOS Version: {$_GET['DEVICE_VERSION']}\n" .
|
||||
"Device Name: {$_GET['DEVICE_NAME']}"
|
||||
);
|
||||
?>
|
||||
<a href="mailto:?subject=<?php echo $emailSubject ?>&body=<?php echo $emailBody ?>" class="button">
|
||||
Share via Email
|
||||
</a>
|
||||
<a href="/" class="button secondary">Get Another UDID</a>
|
||||
</div>
|
||||
|
||||
<div class="notice">
|
||||
You can now remove the profile from Settings → General → Profiles
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer style="text-align: center; padding: 2rem; color: var(--text-light); font-size: 0.9rem;">
|
||||
<p>© <?php echo date('Y'); ?> ctdogetudid. All rights reserved.</p>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
document.getElementById('udid').addEventListener('click', function() {
|
||||
const text = this.innerText;
|
||||
navigator.clipboard.writeText(text).then(() => {
|
||||
const message = document.querySelector('.copied-message');
|
||||
message.style.display = 'block';
|
||||
setTimeout(() => {
|
||||
message.style.display = 'none';
|
||||
}, 2000);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user