<!DOCTYPE html>
<html lang="en">
{% load static %}
<head>
    <meta charset="utf-8">
    <title>City Cycle Website</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <meta content="Free HTML Templates" name="keywords">
    <meta content="Free HTML Templates" name="description">

    <!-- Favicon -->
    <link href="{% static 'userapp/assets/img/d1.jpg' %}" rel="icon">

    <!-- Google Web Fonts -->
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Rubik&display=swap" rel="stylesheet"> 

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

    <!-- Libraries Stylesheet -->
    <link href="{% static 'userapp/assets/lib/owlcarousel/assets/owl.carousel.min.css' %}" rel="stylesheet">
    <link href="{% static 'userapp/assets/lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css' %}" rel="stylesheet" />

    <!-- Customized Bootstrap Stylesheet -->
    <link href="{% static 'userapp/assets/css/bootstrap.min.css' %}" rel="stylesheet">

    <!-- Template Stylesheet -->
    <link href="{% static 'userapp/assets/css/style.css' %}" rel="stylesheet">
</head>

<body>
    <!-- Topbar Start -->
    <div class="container-fluid bg-dark py-3 px-lg-5 d-none d-lg-block">
        <div class="row">
            <div class="col-md-6 text-center text-lg-left mb-2 mb-lg-0">
                <div class="d-inline-flex align-items-center">
                   
                </div>
            </div>
            <div class="col-md-6 text-center text-lg-right mb-2 mb-lg-0">
               
            </div>
        </div>
    </div>
    <!-- Topbar End -->


    <!-- Navbar Start -->
    <div class="container-fluid position-relative nav-bar p-0">
        <div class="position-relative px-lg-5" style="z-index: 9;">
            <nav class="navbar navbar-expand-lg bg-secondary navbar-dark py-3 py-lg-0 pl-3 pl-lg-5">
                <a href="" class="navbar-brand">
                    <h1 class="text-uppercase text-primary mb-1 text-light ">Royal BICYCLE</h1>
                </a>
                <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse justify-content-between px-3" id="navbarCollapse">
                    <div class="navbar-nav ml-auto py-0">
                        <a href="{% url 'userindex' %}" class="nav-item nav-link {% if request.path == '/' %}active{% endif %}">Home</a>
                        <a href="{% url 'userabout' %}" class="nav-item nav-link {% if request.path == '/userabout/' %}active{% endif %}">About</a>
                        <a href="{% url 'userservice' %}" class="nav-item nav-link {% if request.path == '/userservice/' %}active{% endif %}">Service</a>
                        <a href="{% url 'usercar' %}" class="nav-item nav-link {% if request.path == '/usercar/' %}active{% endif %}">Station Listing</a>
                        <a href="{% url 'userrent' %}" class="nav-item nav-link {% if request.path == '/userrent/' %}active{% endif %}">My Rented Bicycle</a>
                        <a href="{% url 'contact_view' %}" class="nav-item nav-link {% if request.path == '/contact_view/' %}active{% endif %}">CONTACT</a>
                
                    </div>      
                    <!-- <div class="nav-item  dropdown">    
                        <a href="#" class="nav-item nav-link dropdown-toggle  text-white {% if request.path == '/userteam/' or request.path == '/usertestimonial/' %}active{% endif %}" data-toggle="dropdown">PAGES</a>
                        <div class="dropdown-menu rounded-0 m-0">
                            <a href="{% url 'userteam' %}" class="dropdown-item">The Team</a>
                            <a href="{% url 'usertestimonial' %}" class="dropdown-item">Testimonial</a>
                        </div>
                    </div>   -->
                    
                   

                    <div class="d-inline-flex align-items-center position-relative">
                        {% if request.user.is_authenticated %} 
                        <button type="button" class="btn nav-item nav-link dropdown-toggle text-white {% if request.path == '/user_profile/' %}active{% endif %}" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            {{ request.user }}
                        </button>
                        <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                            <a class="dropdown-item {% if request.path == '/user_profile/' %}active{% endif %}" href="{% url 'user_profile' %}">My Profile</a>
                            <a class="dropdown-item" href="{% url 'userlogout' %}">Logout</a>
                        </div>  
                        {% else %}
                        <a href="{% url 'userlogin' %}" class="nav-item nav-link">Login/Register</a>
                        {% endif %}
                    </div>
                    
                    
            </nav>
        </div>
    </div>
    <!-- Navbar End -->


    
    {% block content %}
    {% endblock %}
    
    <!-- Footer Start -->
    <div class="container-fluid bg-secondary py-5 px-sm-3 px-md-5" style="margin-top: 90px;">
        <div class="row pt-5">
            <div class="col-lg-3 col-md-6 mb-5">
                <h4 class="text-uppercase text-light mb-4">Get In Touch</h4>
                <p class="mb-2"><i class="fa fa-map-marker-alt text-white mr-3"></i>123 Street Ahmedabad</p>
                <p class="mb-2"><i class="fa fa-phone-alt text-white mr-3"></i>123123123</p>

               
              
                
            </div>
            <div class="col-lg-3 col-md-6 mb-5">
                <h4 class="text-uppercase text-light mb-4">Usefull Links</h4>
                <div class="d-flex flex-column justify-content-start">
                    <a class="text-body mb-2" href="{% url 'userindex' %}"><i class="fa fa-angle-right text-white mr-2"></i>Home</a>
                    <a class="text-body mb-2" href="{% url 'userabout' %}"><i class="fa fa-angle-right text-white mr-2"></i>About</a>
                    <a class="text-body mb-2" href="{% url 'userservice' %}"><i class="fa fa-angle-right text-white mr-2"></i>Service</a>
                    <!-- <a class="text-body" href="{% url 'userteam' %}"><i class="fa fa-angle-right text-white mr-2"></i>Team</a>
                    <a class="text-body" href="{% url 'usertestimonial' %}"><i class="fa fa-angle-right text-white mr-2"></i>Testimonial</a> -->
                    <a class="text-body" href="{% url 'contact_view' %}"><i class="fa fa-angle-right text-white mr-2"></i>Contact</a>
                    <a class="text-body" href="{% url 'usercar' %}"><i class="fa fa-angle-right text-white mr-2"></i>Station Listing</a>
                    <a class="text-body" href="{% url 'userrent' %}"><i class="fa fa-angle-right text-white mr-2"></i>Rented Bicycle</a>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 mb-6">
                <h4 class="text-uppercase text-light mb-4">Bicycle Gallery</h4>
                <div class="row mx-n1">
                    <div class="col-4 px-1 mb-2">
                        <a href="#"><img class="w-100" src="{% static 'userapp/assets/img/b10.jpg' %}" alt="Bicycle Image"></a>
                    </div>
                    <div class="col-4 px-1 mb-2">
                        <a href="#"><img class="w-100" src="{% static 'userapp/assets/img/b2.jpg' %}" alt="Bicycle Image"></a>
                    </div>
                    <div class="col-4 px-1 mb-2">
                        <a href="#"><img class="w-100" src="{% static 'userapp/assets/img/b3.jpg' %}" alt="Bicycle Image"></a>
                    </div>
                    <div class="col-4 px-1 mb-2">
                        <a href="#"><img class="w-100" src="{% static 'userapp/assets/img/b4.jpg' %}" alt="Bicycle Image"></a>
                    </div>
                    <div class="col-4 px-1 mb-2">
                        <a href="#"><img class="w-100" src="{% static 'userapp/assets/img/b9.jpg' %}" alt="Bicycle Image"></a>
                    </div>
                    <div class="col-4 px-1 mb-2">
                        <a href="#"><img class="w-100" src="{% static 'userapp/assets/img/b15.jpg' %}" alt="Bicycle Image"></a>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
    <div class="container-fluid bg-dark py-4 px-sm-3 px-md-5">
        <p class="mb-2 text-center text-body">&copy; <a href="#">City Cycle</a>. All Rights Reserved.</p>
		
		<!--/*** This template is free as long as you keep the footer author’s credit link/attribution link/backlink. If you'd like to use the template without the footer author’s credit link/attribution link/backlink, you can purchase the Credit Removal License from "https://htmlcodex.com/credit-removal". Thank you for your support. ***/-->					
        <p class="m-0 text-center text-body">Designed by <a href="">Demo1</a></p>
    </div>
    <!-- Footer End -->


    <!-- Back to Top -->
    <a href="#" class="btn btn-sm btn-primary rounded-0 back-to-top" style="width: 40px; height: 40px;"><i class="fa fa-angle-double-up"></i></a>


    <!-- JavaScript Libraries -->
    <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
    <script src="{% static 'userapp/assets/lib/easing/easing.min.js' %}"></script>
    <script src="{% static 'userapp/assets/lib/waypoints/waypoints.min.js' %}"></script>
    <script src="{% static 'userapp/assets/lib/owlcarousel/owl.carousel.min.js' %}"></script>
    <script src="{% static 'userapp/assets/lib/tempusdominus/js/moment.min.js' %}"></script>
    <script src="{% static 'userapp/assets/lib/tempusdominus/js/moment-timezone.min.js' %}"></script>
    <script src="{% static 'userapp/assets/lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js' %}"></script>

    <!-- Template Javascript -->
    <script src="{% static 'userapp/assets/js/main.js' %}"></script>
</body>

</html>
