Download templates/finalize.html from Muxperts/Rankmate: direct link, hf CLI and curl.
- Browser
- Download file 4.17 kB
-
https://huggingface.co/spaces/Muxperts/Rankmate/resolve/main/templates/finalize.html
- Command line
-
hf download hf://spaces/Muxperts/Rankmate/templates/finalize.html
-
curl -L -o finalize.html https://huggingface.co/spaces/Muxperts/Rankmate/resolve/main/templates/finalize.html
4.17 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Rankmate | Finalize</title> | |
| <link rel="stylesheet" href="{{ url_for('static', path='css/finalize.css') }}"> | |
| </head> | |
| <body> | |
| <div id="mySidepanel" class="sidepanel"> | |
| <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a> | |
| <div class="sidepanel-content"> | |
| <a href="{{ url_for('index') }}">Home</a> | |
| <a href="{{ url_for('extract_get') }}">Extract Records</a> | |
| <a href="{{ url_for('finalize_get') }}">Finalize Data</a> | |
| <a href="{{ url_for('analyze_get') }}">Analyze Performance</a> | |
| <hr class="nav-divider"> | |
| {% if user %} | |
| <span class="user-badge">User: {{ user.name }}</span> | |
| <a href="{{ url_for('logout') }}" class="logout-link">Logout</a> | |
| {% else %} | |
| <a href="{{ url_for('login_get') }}">Faculty Login</a> | |
| <a href="/admin/login">Admin Login</a> | |
| {% endif %} | |
| </div> | |
| </div> | |
| <div class="hero"> | |
| <nav class="top-nav"> | |
| <button class="menu-btn" onclick="openNav()" aria-label="Open Menu"> | |
| <span></span> | |
| <span></span> | |
| <span></span> | |
| </button> | |
| </nav> | |
| <h1>Student Performance Analyzer</h1> | |
| <p class="subtitle">Upload. Analyze. Rank. All in one click!</p> | |
| </div> | |
| <div class="container"> | |
| <section> | |
| <div class="upload-section"> | |
| <div class="upload-box"> | |
| <h3>Upload Metadata</h3> | |
| <p>Upload custom student data (names, classes) to get the .csv file with ranks of each student</p> | |
| {% if error %} | |
| <div style="background-color: #ffebee; color: #c62828; padding: 10px; border-radius: 5px; margin-bottom: 15px; font-weight: bold;"> | |
| {{ error }} | |
| </div> | |
| {% endif %} | |
| <form action="/finalize" method="post" enctype="multipart/form-data"> | |
| <input type="file" name="processed_file" accept=".csv" style="margin: 15px 0; width: 100%;" required/> | |
| {% if user %} | |
| <div style="margin: 15px 0; text-align: left;"> | |
| <h5 style="font-family: 'Times New Roman', Times, serif; color: var(--text-dark); font-weight: normal; margin-bottom: 5px;"> | |
| Academic Year | |
| </h5> | |
| <select name="academic_year" required style="width: 100%; padding: 8px; border-radius: 5px; border: 1px solid #ccc; margin-bottom: 15px;"> | |
| <option value="" disabled selected>-- Select Academic Year --</option> | |
| <option value="2022-2023">2022-2023</option> | |
| <option value="2023-2024">2023-2024</option> | |
| <option value="2024-2025">2024-2025</option> | |
| <option value="2025-2026">2025-2026</option> | |
| <option value="2026-2027">2026-2027</option> | |
| <option value="2027-2028">2027-2028</option> | |
| </select> | |
| <h5 style="font-family: 'Times New Roman', Times, serif; color: var(--text-dark); font-weight: normal; margin-bottom: 5px;"> | |
| Select Year Level | |
| </h5> | |
| <select name="class_name" required style="width: 100%; padding: 8px; border-radius: 5px; border: 1px solid #ccc;"> | |
| <option value="" disabled selected>-- Select Year Level --</option> | |
| <option value="FY">First Year (FY)</option> | |
| <option value="SY">Second Year (SY)</option> | |
| <option value="TY">Third Year (TY)</option> | |
| <option value="Fourth Year">Fourth Year</option> | |
| </select> | |
| </div> | |
| {% endif %} | |
| <button type="submit" style="margin-top: 10px;">Upload</button> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| <footer> | |
| <a href="/about">About</a> | |
| <a href="/contact">Contact</a> | |
| </footer> | |
| <script src="{{ url_for('static', path='js/index.js') }}"></script> | |
| </body> | |
| </html> |