LORDCHANNEL2.0/templates/base.html

214 lines
8.6 KiB
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600%7CUbuntu:300,400,500,700" rel="stylesheet">
<!-- CSS -->
<link rel="stylesheet" href="{% static '/css/bootstrap-reboot.min.css'%}">
<link rel="stylesheet" href="{% static '/css/bootstrap-grid.min.css' %}">
<link rel="stylesheet" href="{% static '/css/owl.carousel.min.css' %}">
<link rel="stylesheet" href="{% static '/css/jquery.mCustomScrollbar.min.css' %}">
<link rel="stylesheet" href="{% static '/css/select2.min.css' %}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css" integrity="sha512-+EoPw+Fiwh6eSeRK7zwIKG2MA8i3rV/DGa3tdttQGgWyatG/SkncT53KHQaS5Jh9MNOT3dmFL0FjTY08And/Cw==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css">
<link rel="stylesheet" href="{% static '/css/nouislider.min.css' %}">
<link rel="stylesheet" href="{% static '/css/ionicons.min.css' %}">
<link rel="stylesheet" href="{% static '/css/plyr.css' %}">
<link rel="stylesheet" href="{% static '/css/photoswipe.css' %}">
<link rel="stylesheet" href="{% static '/css/default-skin.css' %}">
<link rel="stylesheet" href="{% static '/css/main.css' %}">
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="57x57" href="{% static '/img/favicon/apple-icon-57x57.png' %}">
<link rel="apple-touch-icon" sizes="60x60" href="{% static '/img/favicon/apple-icon-60x60.png' %}">
<link rel="apple-touch-icon" sizes="72x72" href="{% static '/img/favicon/apple-icon-72x72.png' %}">
<link rel="apple-touch-icon" sizes="76x76" href="{% static '/img/favicon/apple-icon-76x76.png' %}">
<link rel="apple-touch-icon" sizes="114x114" href="{% static '/img/favicon/apple-icon-114x114.png' %}">
<link rel="apple-touch-icon" sizes="120x120" href="{% static '/img/favicon/apple-icon-120x120.png' %}">
<link rel="apple-touch-icon" sizes="144x144" href="{% static '/img/favicon/apple-icon-144x144.png' %}">
<link rel="apple-touch-icon" sizes="152x152" href="{% static '/img/favicon/apple-icon-152x152.png' %}">
<link rel="apple-touch-icon" sizes="180x180" href="{% static '/img/favicon/apple-icon-180x180.png' %}">
<link rel="icon" type="image/png" sizes="192x192" href="{% static '/img/favicon/android-icon-192x192.png' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static '/img/favicon/favicon-32x32.pn' %}g">
<link rel="icon" type="image/png" sizes="96x96" href="{% static '/img/favicon/favicon-96x96.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static '/img/favicon/favicon-16x16.png' %}">
<link rel="manifest" href="{% static '/img/favicon/manifest.json' %}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="{% static '/img/favicon/ms-icon-144x144.png' %}">
<meta name="theme-color" content="#ffffff">
<title>{% block title %}{% endblock title %}</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="MickSlash">
{% block style %}
{% endblock style %}
</head>
<body class="body">
<!-- header -->
<header class="header">
<div class="header__wrap">
<div class="container">
<div class="row">
<div class="col-12">
<div class="header__content">
<!-- header logo -->
<a href="/" class="header__logo">
<img src="{% static 'img/lc.svg' %}" alt="">
</a>
<!-- end header logo -->
<!-- header nav -->
<ul class="header__nav">
<!-- dropdown -->
<li class="header__nav-item">
<a href="/" class="header__nav-link">Home</a>
</li>
<!-- end dropdown -->
<li class="header__nav-item">
<a href="{% url 'film_list' %}" class="header__nav-link">Film</a>
</li>
<!-- dropdown -->
<li class="header__nav-item">
<a class="dropdown-toggle header__nav-link" href="#" role="button" id="dropdownMenuHome" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Anime</a>
<ul class="dropdown-menu header__dropdown-menu" aria-labelledby="dropdownMenuHome">
<li><a href="{% url 'lista-anime-ita' %}">Anime ITA</a></li>
<li><a href="{% url 'lista-anime-sub-ita' %}">Anime SUB-ITA</a></li>
</ul>
</li>
<!-- end dropdown -->
<li class="header__nav-item">
<a href="{% url 'SerieTV' %}" class="header__nav-link">Serie TV</a>
</li>
<!-- dropdown -->
<li class="dropdown header__nav-item">
<a class="dropdown-toggle header__nav-link header__nav-link--more" href="#" role="button" id="dropdownMenuMore" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="icon ion-ios-more"></i></a>
<ul class="dropdown-menu header__dropdown-menu" aria-labelledby="dropdownMenuMore">
<li><a href="#">FAQ</a></li>
<!--{% if request.user.is_authenticated %}
<li><a href="{% url 'logout' %}">Logout</a></li>
{% else %}
<li><a href="{% url 'login' %}">Login</a></li>
<li><a href="{% url 'registrazione-profilo' %}">Registrati</a></li>
{% endif %}-->
<li><a href="#">DMCA</a></li>
</ul>
</li>
<!-- end dropdown -->
</ul>
<!-- end header nav -->
<!-- header auth -->
<div class="header__auth">
<button class="header__search-btn" type="button">
<i class="icon ion-ios-search"></i>
</button>
{% if not request.user.is_authenticated %}
<a href="{% url 'login' %}" class="header__sign-in">
<i class="icon ion-ios-log-in"></i>
<span>LOGIN</span>
</a>
{% else %}
<a href="{% url 'profilo-utente' username=profilo %}" class="header__sign-in">
<img class="profile__img__navbar" src="{{ profilo.immagine_profilo.url }}" alt="">
<span>{{profilo}}</span>
</a>
{% endif %}
</div>
<!-- end header auth -->
<!-- header menu btn -->
<button class="header__btn" type="button">
<span></span>
<span></span>
<span></span>
</button>
<!-- end header menu btn -->
</div>
</div>
</div>
</div>
</div>
<!-- header search -->
<form action="{% url 'cerca-media' %}" class="header__search">
<div class="container">
<div class="row">
<div class="col-12">
<div class="header__search-content">
<input name="q" type="text" id='searchmedia' placeholder="Cerca un Film,SerieTV o Anime...">
<button type="submit">CERCA</button>
</div>
</div>
</div>
</div>
</form>
<!-- end header search -->
</header>
<!-- end header -->
{% block content %}
{% endblock content %}
<!-- footer -->
<footer class="footer">
<div class="container">
<div class="row">
<!-- footer copyright -->
<div class="col-12">
<div class="footer__copyright">
<small>© 2020 LORDCHANNEL</small>
<ul>
<li><a href="privacy.html">Terms of Use</a></li>
<li><a href="privacy.html">Privacy Policy</a></li>
</ul>
</div>
</div>
<!-- end footer copyright -->
</div>
</div>
</footer>
<!-- end footer -->
<!-- JS -->
<script src="{% static '/js/jquery-3.3.1.min.js' %}"></script>
<script src="{% static '/js/bootstrap.bundle.min.js' %}"></script>
<script src="{% static '/js/owl.carousel.min.js' %}"></script>
<script src="{% static '/js/jquery.mousewheel.min.js' %}"></script>
<script src="{% static '/js/jquery.mCustomScrollbar.min.js' %}"></script>
<script src="{% static '/js/select2.min.js' %}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js" integrity="sha512-IsNh5E3eYy3tr/JiX2Yx4vsCujtkhwl7SLqgnwLNgf04Hrt9BT9SXlLlZlWx+OK4ndzAoALhsMNcCmkggjZB1w==" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="{% static '/js/wNumb.js' %}"></script>
<script src="{% static '/js/nouislider.min.js' %}"></script>
<script src="{% static '/js/plyr.min.js' %}"></script>
<script src="{% static '/js/jquery.morelines.min.js' %}"></script>
<script src="{% static '/js/main.js' %}"></script>
<script src="{% static '/js/photoswipe.min.js' %}"></script>
<script src="{% static '/js/photoswipe-ui-default.min.js' %}"></script>
{% block javascript %}
{% endblock javascript %}
</body>
</html>