Download print.application.html from Presidor1/STC_APP: direct link, hf CLI and curl.
- Browser
- Download file 3.57 kB
-
https://huggingface.co/spaces/Presidor1/STC_APP/resolve/main/print.application.html
- Command line
-
hf download hf://spaces/Presidor1/STC_APP/print.application.html
-
curl -L -o print.application.html https://huggingface.co/spaces/Presidor1/STC_APP/resolve/main/print.application.html
3.57 kB
| <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> |