Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>{% block title %}Dify AI Learning Platform{% endblock %}</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <!-- Feather Icons --> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <!-- Custom CSS --> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"> | |
| {% block extra_head %}{% endblock %} | |
| </head> | |
| <body> | |
| <!-- Navigation --> | |
| <nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top"> | |
| <div class="container"> | |
| <a class="navbar-brand" href="{{ url_for('index') }}"> | |
| <i data-feather="book-open" class="me-2"></i> | |
| Dify AI Learning | |
| </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 me-auto"> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('index') }}"> | |
| <i data-feather="home" class="me-1"></i>Home | |
| </a> | |
| </li> | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('progress') }}"> | |
| <i data-feather="trending-up" class="me-1"></i>Progress | |
| </a> | |
| </li> | |
| </ul> | |
| <ul class="navbar-nav"> | |
| {% if session.user_id %} | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('logout') }}"> | |
| <i data-feather="log-out" class="me-1"></i>Logout | |
| </a> | |
| </li> | |
| {% else %} | |
| <li class="nav-item"> | |
| <a class="nav-link" href="{{ url_for('login') }}"> | |
| <i data-feather="log-in" class="me-1"></i>Login | |
| </a> | |
| </li> | |
| {% endif %} | |
| </ul> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Main Content --> | |
| <main class="main-content"> | |
| {% block content %}{% endblock %} | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-dark text-light py-4 mt-5"> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-md-6"> | |
| <h5>Dify AI Learning Platform</h5> | |
| <p>Master Dify AI with our comprehensive tutorials and hands-on projects.</p> | |
| </div> | |
| <div class="col-md-6"> | |
| <h5>Resources</h5> | |
| <ul class="list-unstyled"> | |
| <li><a href="https://docs.dify.ai/" target="_blank" class="text-light">Official Documentation</a></li> | |
| <li><a href="https://github.com/langgenius/dify" target="_blank" class="text-light">GitHub Repository</a></li> | |
| <li><a href="https://dify.ai/" target="_blank" class="text-light">Dify.ai Cloud</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| </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/main.js') }}"></script> | |
| {% block extra_scripts %}{% endblock %} | |
| <script> | |
| // Initialize Feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |