Spaces:
Sleeping
Sleeping
Download templates/base.html from Nausad/Data2Model: direct link, hf CLI and curl.
- Browser
- Download file 4.58 kB
-
https://huggingface.co/spaces/Nausad/Data2Model/resolve/main/templates/base.html
- Command line
-
hf download hf://spaces/Nausad/Data2Model/templates/base.html
-
curl -L -o base.html https://huggingface.co/spaces/Nausad/Data2Model/resolve/main/templates/base.html
4.58 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>{% block title %}Data2Model - Automated ML Platform{% endblock %}</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <!-- Font Awesome --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <!-- Custom CSS --> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"> | |
| {% block extra_css %}{% endblock %} | |
| </head> | |
| <body> | |
| <!-- Navigation --> | |
| <nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | |
| <div class="container"> | |
| <a class="navbar-brand" href="{{ url_for('index') }}"> | |
| <i class="fas fa-robot"></i> Data2Model | |
| </a> | |
| <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"> | |
| <span class="navbar-toggler-icon"></span> | |
| </button> | |
| <div class="collapse navbar-collapse" id="navbarNav"> | |
| <ul class="navbar-nav ms-auto"> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('index') }}"> | |
| <i class="fas fa-home"></i> Home | |
| </a> | |
| </li> | |
| <li class="nav-item"> | |
| {% if predict_unlocked %} | |
| <a class="nav-link text-success fw-bold" href="{{ url_for('predict') }}"> | |
| <i class="fas fa-chart-line"></i> Predict | |
| <span class="badge bg-success ms-1" style="font-size:0.65rem;">READY</span> | |
| </a> | |
| {% else %} | |
| <a class="nav-link text-white-50" href="{{ url_for('predict') }}" | |
| title="Train a model with Train/Test/Validation split to unlock"> | |
| <i class="fas fa-lock"></i> Predict | |
| <span class="badge bg-secondary ms-1" style="font-size:0.65rem;">LOCKED</span> | |
| </a> | |
| {% endif %} | |
| </li> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('about') }}"> | |
| <i class="fas fa-info-circle"></i> About | |
| </a> | |
| </li> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('documentation') }}"> | |
| <i class="fas fa-book"></i> Docs | |
| </a> | |
| </li> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('feedback') }}"> | |
| <i class="fas fa-comment"></i> Feedback | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Flash Messages --> | |
| {% with messages = get_flashed_messages(with_categories=true) %} | |
| {% if messages %} | |
| <div class="container mt-3"> | |
| {% for category, message in messages %} | |
| <div class="alert alert-{{ 'danger' if category == 'error' else category }} alert-dismissible fade show" role="alert"> | |
| {{ message }} | |
| <button type="button" class="btn-close" data-bs-dismiss="alert"></button> | |
| </div> | |
| {% endfor %} | |
| </div> | |
| {% endif %} | |
| {% endwith %} | |
| <!-- Main Content --> | |
| <main> | |
| {% block content %}{% endblock %} | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-dark text-white mt-5 py-4"> | |
| <div class="container text-center"> | |
| <p class="mb-0"> | |
| © 2026 Data2Model | Automated Machine Learning Platform | |
| </p> | |
| <p class="mb-0"> | |
| <small>Developed with <i class="fas fa-heart text-danger"></i> by Nausad, Deepak, Rahul & Riya</small> | |
| </p> | |
| </div> | |
| </footer> | |
| <!-- Bootstrap JS --> | |
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> | |
| <!-- Custom JS --> | |
| <script src="{{ url_for('static', filename='js/script.js') }}"></script> | |
| {% block extra_js %}{% endblock %} | |
| </body> | |
| </html> | |