codescraftman / templates / base.html
base.html
Raw
<!DOCTYPE html>
<html lang="en">
<head>
    {% load static %}
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}Codescraftsman{% endblock %}</title>

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Bootstrap Icons -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">

    <!-- Font Awesome -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">

    <!-- Custom Global Styles -->
    <link rel="stylesheet" href="{% static 'css/styles.css' %}">

    {% block extra_head %}{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">

    <!-- Header Navigation -->
    <header>
        {% include 'partials/top_nav.html' %}
    </header>

    <!-- Main Layout Grid -->
    <div class="container-fluid">
        <div class="row">
            <!-- Side Navigation -->
            <aside class="col-md-3 col-lg-2 side-nav">
                {% block side_nav %}
                    <!-- Side nav content -->
                {% endblock %}
            </aside>

            <!-- Page Content -->
            <main class="col-md-9 col-lg-10">
                {% block content %}
                    <!-- Default page content -->
                {% endblock %}
            </main>
        </div>
    </div>

    <!-- Floating Chatbot Widget -->
    {% include 'ethanicbot/partials/ethanicbot_chatbox.html' %}

    <!-- Footer -->
    {% include 'partials/footer.html' %}

    <!-- JS Libraries -->
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

    <!-- Global Script -->
    <script src="{% static 'js/scripts.js' %}"></script>
    {% block extra_scripts %}{% endblock %}
</body>
</html>