Template source: base.html

{% load compress staticfiles i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% load postman_tags %}
{% load thumbnail %}

<!DOCTYPE html>
<html lang="en">
<head>
  {% block meta_tags %}
    <link rel="icon" href="{% static 'images/blaenks.ico' %}" type="image/png">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- <meta name="google-site-verification" content="UiLV_0PaJhaTyLe4BnAvHPXmCkBmvgD_XXRvQI-2-T0" /> -->
    <title>
      {% block title %}
        {% block page_title %}
        
        {% endblock %}
        BLAENKS | creative network
      {% endblock %}
    </title>
    {% block meta %}
      <meta name="keywords" content="{% block meta_keywords %}{% endblock %}"/>
      <meta name="description" content="{% block meta_description %}{% endblock %}"/>
      <meta property="og:title" content="{% block meta_og_title %}{% endblock %}"/>
      <meta property="og:site_name" content="{% block meta_og_site_name %}{% endblock %}"/>
      <meta property="og:description" content="{% block meta_og_description %}{% endblock %}"/>
      <meta property="og:type" content="{% block meta_og_type %}{% endblock %}"/>
      <meta property="og:url" content="{% block meta_og_url %}{% endblock %}"/>
      <meta property="og:image" content="{% block meta_og_image %}{% endblock %}"/>
      <meta property="og:image:width" content="{% block meta_og_image_width %}400{% endblock %}"/>
      <meta property="og:image:height" content="{% block meta_og_image_height %}400{% endblock %}"/>
    {% endblock %}

    <meta name="author" content="Blaenks">
  {% endblock %}
  
  {% block head %}
    {% block css %}
      {% compress css %}
        <link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">        
        <link href="{% static 'css/font-awesome.css'%}" rel="stylesheet">
        <link href="{% static 'css/jquery-ui.min.css' %}" rel="stylesheet">
        <link href="{% static 'css/show-hide-menu.css' %}" rel="stylesheet">
        <link href="{% static 'select2/dist/css/select2.min.css' %}" rel="stylesheet">        
        <link href="{% static 'css/hover.css' %}" rel="stylesheet">
        
        <link href="{{ STATIC_URL }}ajax_upload/css/ajax-upload-widget.css" rel="stylesheet" type="text/css"/>
        
        <!-- jBox.css for Confirm, modal, tooltip etc https://github.com/StephanWagner/jBox -->
        <link href="{% static 'js/jbox/jBox.css' %}" rel="stylesheet">
        <!-- End jBox.css for Confirm, modal, tooltip etc -->

        <!-- New light gallery -->
        <link href="{% static 'css/lightgallery.css' %}" rel="stylesheet">

        <link href="{% static 'js/jquery.fine-uploader/fine-uploader-new.css' %}" rel="stylesheet">
        <link href="{% static 'css/spinner.css' %}" rel="stylesheet">
        <link href="{% static 'css/slick.css' %}" rel="stylesheet"> 
        <link href="{% static 'css/slick-theme.css' %}" rel="stylesheet">
        <link href="{% static 'css/style.css' %}" rel="stylesheet">

    {% endcompress %}
        
    {% endblock %}
        <link href="{% static 'css/fear.css' %}" rel="stylesheet">
    {% block extra_css %}
    {% endblock %}
  {% endblock %}
  <!-- Google Analytics Code -->
  <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-91826925-1', 'auto');
      ga('send', 'pageview');
  </script>
</head>
<body>
{% comment %}
  {% block gradient %}
    {% if gradient_file %}
      {% if not bg_settings %}
       <div class="user_bg">      
          <div style="background-image:url({{ gradient_file }});" ></div>      
        </div>
      {% endif %}
    {% endif %}
  {% endblock  %}
{% endcomment %}

{% block bg_setting %}
  {% if bg_settings %}
    <div style="{% if bg_settings.background_type == 'COLOR' %}background:#{{ bg_settings.profile_background_color }};{% endif %}" class="user_bg">
      {% if bg_settings.background_type == "IMAGE" and bg_settings.profile_background_image %}
        <div class="profile-background-image" 
          data-profile-bg-image = "{{ bg_settings.profile_background_image.url }}"
          style="background-image:url({% if bg_settings.profile_background_image %}{% thumbnail bg_settings.profile_background_image 800x0 crop=',0' upscale %}{% endif %});">
        </div>
      {% endif %}
    </div>
  {% endif %}
{% endblock %}

<!-- Start Header -->
{% block nav %}
  <div class="nav_wrapper col-md-12 show-cross">
    <div class="container-fluid">
      <!--<a class="menu-link" href="#menu"></a>-->
      <div class="spinner-master">
        <input type="checkbox" id="spinner-form" />
        <label for="spinner-form" class="spinner-spin">
        <div class="spinner diagonal part-1"></div>
        <div class="spinner horizontal"></div>
        <div class="spinner diagonal part-2"></div>
        </label>
      </div>
      <a href="{% url 'fearfront:index' %}" class="logo" id="">
        <!--         <img src="{% static 'images/logo.png' %}"> -->
        <img src="{% static 'images/logo.png' %}">
      </a>
      <span class="beta_testing">
        <a style="color:#fff;" href="/beta-testing/" class="">(beta)</a>
      </span>
      <!-- header search -->
          {% include "partials/searches/_search_form_header.html" %}
      <!-- end header search --> 

      {% comment %}     
      {% if request.user.is_authenticated %}
        <span class="beta_testing">
          BLAENKS
          <a href="{% url 'fearfront:beta-testing' %}" class="{% if request.resolver_match.url_name == 'beta-testing' %}active{% endif %}">(beta)</a>
        </span>        
      {% endif %}
      {% endcomment %}

      <nav id="menu" class="menu">
        <ul class="dropdown">
          <li>
             <a class="
             {% if request.resolver_match.url_name == 'browse' %}active
             {% endif %}"
             href="/browse/" title="">
             Discover
             </a>
          </li> 
          <li >
            {% if request.user.is_authenticated %}             
              <a class="
                {% if request.resolver_match.url_name == 'my_profile' %}
                  {% if can_edit %}
                    active
                  {% endif %}
                {% endif %}"
                href="{% url 'profile:my_profile' request.user.id %}" title="">
              My Profile
              </a>
            {% else %}
              <a class="
                {% if request.resolver_match.url_name == 'my_profile' %}
                  {% if can_edit %}
                    active
                  {% endif %}
                {% endif %} red_button"
                href="{% url 'account_login' %}" title="">
              Log In
              </a>           
            {% endif %} 
          </li>                
         
          {% comment %}
          <li>
             <a class="
             {% if request.resolver_match.url_name == 'send-invite' %}active
             {% endif %}"
             href="{% url 'invitations:send-invite' %}" title="">
             Request Invite code
             </a>
          </li>
          {% endcomment %}

          {% comment %}
          <li>  
            {% if request.user.is_authenticated %}              
              <a id="messaging" class="user_messaging" href="{% url 'messaging:inbox' %}" title="">
              Messages              
              <span class="unread_message_count" style="color:red;">
                <strong></strong>
              </span>              
              </a>              
            {% endif %}
          </li>
        {% endcomment %}
        {% comment %}
          <li >
            {% if request.user.is_authenticated %}
              <a class="
              {% if request.resolver_match.url_name == 'account_logout' %}active
                {% endif %}" href="{% url 'account_logout' %}" title="">Logout</a>
            {% else %}
              <a class=" {% if request.resolver_match.url_name == 'account_login' or request.resolver_match.url_name == 'account_signup' or request.resolver_match.url_name == 'core_login' %}active
                {% endif %}" href="{% url 'account_login' %}" title="">Login / Registration</a>
            {% endif %}

          </li>
          {% endcomment %}
        </ul>
      </nav>
    </div>
  </div>
{% endblock %}
<!-- End Header -->
<br>
<br>
<br>
{% block user_messsaing %}
  <!-- Modal -->              
  <div aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="messagesModal" class="modal hide" data-backdrop="static" data-keyboard="false">
  </div>
{% endblock %}

{% block flush_message %}
  {% if messages %}
    <ul class="messagelist">
        {% for message in messages %}
        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>
            {% if message.level == DEFAULT_MESSAGE_LEVELS.ERROR %}Important: {% endif %}
            {{ message }}
        </li>
        {% endfor %}
    </ul>
  {% endif %}
{% endblock %}
<!-- Start Video -->
<div class="main_body_wrapper paid-job-area bowser-section-main">
{% block content %}

{% endblock %}
</div>
<!-- End Video -->

<!-- Start Footer -->
{% block footer %}
<footer>
  <div class="container footer_top">
    <div class="row">
      <div class="col-md-4">
        About • Newsletter • Impressum • Contact
      </div>
      <div class="col-md-4 featured"></div>
      <div class="col-md-4">
      </div>
    </div>
  </div>
  <div class="container footer_bottom">
    <div class="row">
      <div class="col-md-6"> <span class="footer_tex">© 2017 <a href="https://www.blaenks.com/">BLAENKS</a></span> </div>
      <div class="col-md-6">
        <div class="social_icon">
          <ul>
            <li><a href="https://www.facebook.com/blaenkscom" target="_banlks"> <i class="fa fa-facebook-square"></i> </a></li>
            <li><a href="https://www.youtube.com/channel/UCch_Db9Ekh7RYsE6ZqFejPA" target="_banlks"> <i class="fa fa-youtube-square"></i> </a></li>
            <li><a href="http://instagram.com/blaenkminds" target="_banlks"> <i class="fa fa-instagram"></i> </a></li>
            <li><a href="https://twitter.com/_blaenks" target="_banlks"> <i class="fa fa-twitter-square"></i> </a></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</footer>
{% endblock %}
<!-- End Footer -->

<!-- End Video -->

{% block js %}
  {% compress js %}

  <script src="{% static 'js/jquery-3.1.1.min.js' %}"></script>
  <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js"></script> -->
  <script src="{% static 'js/slick.js' %}"></script>
  <script src="{% static 'js/jquery.waypoints.min.js' %}"></script>
  <script src="{% static 'js/infinite.min.js' %}"></script>

  <!-- For jquery image lazy -->
  <script src="{% static 'js/jquery.lazy.min.js' %}"></script> 
  <script src="{% static 'js/bootstrap.min.js' %}"></script>  
  <script src="{% static 'js/show-hide-menu.js' %}"></script> 
  <script src="{% static 'ajax_upload/js/jquery.iframe-transport.js' %}"></script> 
  <script src="{% static 'js/jquery-ui.js' %}"></script> 
  <!-- jBox.js for Confirm, modal, tooltip etc https://github.com/StephanWagner/jBox -->
  <script src="{% static 'js/jbox/jBox.min.js' %}"></script>
  <!-- End jBox.js for Confirm, modal, tooltip etc -->  
  <!-- New light gallery -->
  <script src="{% static 'js/lightgallery-all.min.js' %}"></script>
  <script src="{% static 'js/jquery.mousewheel.min.js' %}"></script>

  <script src="{% static 'ajax_upload/js/ajax-upload-widget.js' %}"></script>
  <script src="{% static 'select2/dist/js/select2.js' %}"></script>
  <script src="{% static 'js/fear.js' %}"></script>
  <script type="text/javascript">
    var searchAutoCompleteUrl = "{% url 'fearfront:search-autocomplete' %}";
    var searchUrl = "{% url 'fearfront:site-search' %}";
  </script>
  <script src="{% static 'js/browse.js' %}"></script>
  
  {% endcompress %}
{% endblock %}
{% block extra_js %}
{% endblock %}

</body>
</html>