File size: 3,570 Bytes
298bfa0 56dcfd0 298bfa0 56dcfd0 5142fb7 56dcfd0 298bfa0 56dcfd0 298bfa0 56dcfd0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>STC | Print Application Slip</title>
<link rel="stylesheet" href="style.css" />
<style>
.print-container {
max-width: 700px;
margin: 40px auto;
padding: 20px;
background: #fff;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
font-family: Arial, sans-serif;
}
.print-header {
text-align: center;
margin-bottom: 20px;
}
.print-header img {
width: 100px;
}
.print-header h2 {
margin-top: 10px;
color: #004e56;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
td {
padding: 10px;
border-bottom: 1px solid #ddd;
}
.print-btn {
display: block;
margin: 20px auto;
background: #004e56;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
}
.print-btn:hover {
background: #006f77;
}
@media print {
.print-btn {
display: none;
}
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar">
<div class="nav-left">
<div class="nav-logo">STC</div>
<div class="nav-toggle" onclick="toggleMenu()">☰</div>
</div>
<ul class="nav-links" id="navLinks">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="register.html">Register</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<!-- Print Container -->
<div class="print-container">
<div class="print-header">
<img src="logo.png" alt="STC Logo">
<h2>Shelleng Team for Change (STC)</h2>
<p><strong>Application Slip</strong></p>
</div>
<table>
<tr><td><strong>Application ID:</strong></td><td id="appId">STC/2025/0001</td></tr>
<tr><td><strong>Full Name:</strong></td><td id="fullname">Loading...</td></tr>
<tr><td><strong>Email:</strong></td><td id="email">Loading...</td></tr>
<tr><td><strong>Phone:</strong></td><td id="phone">Loading...</td></tr>
<tr><td><strong>Gender:</strong></td><td id="gender">Loading...</td></tr>
<tr><td><strong>Religion:</strong></td><td id="religion">Loading...</td></tr>
<tr><td><strong>State:</strong></td><td id="state">Loading...</td></tr>
<tr><td><strong>LGA:</strong></td><td id="lga">Loading...</td></tr>
<tr><td><strong>Address:</strong></td><td id="address">Loading...</td></tr>
<tr><td><strong>Short Note:</strong></td><td id="note">Loading...</td></tr>
</table>
<button class="print-btn" onclick="window.print()">Print Application</button>
</div>
<script>
// Example static data (replace with backend data as needed)
document.getElementById('fullname').textContent = 'Aliyu Musa';
document.getElementById('email').textContent = 'aliyu.musa@example.com';
document.getElementById('phone').textContent = '+2348123456789';
document.getElementById('gender').textContent = 'Male';
document.getElementById('religion').textContent = 'Islam';
document.getElementById('state').textContent = 'Adamawa';
document.getElementById('lga').textContent = 'Shelleng';
document.getElementById('address').textContent = 'No. 10, Shelleng Town';
document.getElementById('note').textContent = 'I want to help my community.';
</script>
</body>
</html> |