| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- {% load fullurl %}
- <!DOCTYPE html>
- <html lang="de">
- <head>
- <meta charset="UTF-8">
- {% block title %} <title>{{ config.WEBSITE_TITEL }}</title> {% endblock %}
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- {% load static %}
- <link rel="icon" href="{% static 'favicon.ico'%}">
- <link rel="apple-touch-icon" href="{% static 'favicon.ico'%}">
- <link rel="stylesheet" href="{% static 'css/bootstrap.min.css'%}" >
- <link rel="stylesheet" href="{% static 'css/styles.css' %}">
- <link href="{% static '/fontawesome/css/all.css'' %}" rel="stylesheet">
- <script src="{% static 'jquery-3.2.1.slim.min.js' %}" ></script>
- <script src="{% static 'popper.min.js' %}" ></script>
- <script src="{% static 'bootstrap.min.js' %}" ></script>
- <script src="{% static 'jquery.min.js' %}"></script>
- <style media="screen">
- .mab-navbar{
- padding-left: 15px;
- padding-bottom: 4px;
- margin-bottom: 16px;
- position: sticky;
- top: 0;
- z-index: 2;
- background-color: #FCFCFC;
- padding-right: 15px;
- border-bottom: 1px solid #AB5120;
- /* box-shadow: 0 8px 4px -6px gray; */
- }
- .cursor-pointer {
- cursor: pointer;
- }
- .text-decoration-none, .text-decoration-none:hover, .text-decoration-none a:hover{
- text-decoration: none;
- }
- </style>
- <style>
- /* The Modal (background) */
- .modal {
- display: none; /* Hidden by default */
- position: fixed; /* Stay in place */
- z-index: 1; /* Sit on top */
- padding-top: 100px; /* Location of the box */
- left: 0;
- top: 0;
- width: 100%; /* Full width */
- height: 100%; /* Full height */
- overflow: auto; /* Enable scroll if needed */
- background-color: rgb(0,0,0); /* Fallback color */
- background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
- }
- /* Modal Content */
- .modal-content {
- background-color: #fefefe;
- margin: auto;
- padding: 20px;
- border: 1px solid #888;
- width: 80%;
- }
- /* The Close Button */
- .close {
- color: #aaaaaa;
- float: right;
- font-size: 28px;
- font-weight: bold;
- }
- .close:hover,
- .close:focus {
- color: #000;
- text-decoration: none;
- cursor: pointer;
- }
- </style>
- {% block script %}
- {% endblock %}
- </head>
- <body>
- {% if not embed %}
- {% block navbar %}
- <nav class="navbar navbar-expand-sm navbar-fixed-top mab-navbar" style="">
- <div class="container-fluid rounded-0" style="padding-left: 2px">
- <a class="navbar-brand navbar-right" href="{% url 'products' %}">
- <img src="{% static 'newMAB.png' %}" alt="MAB20" height="40px" width="auto" style="margin: auto; padding-bottom: 2px">
- </a>
- <button class="navbar-toggler gemain-color" type="button " data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span> ⋁
- </button>
- <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
- <div class="navbar-nav navbar-right">
- <a class="nav-link active nav-right boldkur mab-menu-elm" style="" href="{% url 'products' %}">MARKTPLATZ</a>
- <a class="nav-link active nav-right boldkur mab-menu-elm" style="" href="{% url 'submit' %}">EINREICHEN</a>
- <a class=" nav-link active nav-right boldkur mab-menu-elm" style="" href="{% url 'about' %}">ÜBER UNS</a>
- {% if not user.is_authenticated %}
- <a class=" nav-link active nav-right boldkur mab-menu-elm" style="" href="{% url 'login' %}">EINLOGGEN</a>
- {% endif %}
- {% if user.is_authenticated %}
- <a class="nav-link nav-right boldkur mab-menu-elm" style="" href="{% url 'new-submit-view'%}?">PROJEKT EINREICHEN</a>
- <a class="nav-link nav-right boldkur mab-menu-elm" style="" href="{% url 'my-products'%}">MEINE PROJEKTE</a>
- <a class="nav-link nav-right boldkur mab-menu-elm" style="" href="{% url 'logout'%}?next={{request.path}}">AUSLOGGEN</a>
- {% endif %}
- </div>
- </div>
- </div>
- <hr>
- <br>
- </nav>
- {% endblock %}
- {% endif %}
- <div class="container-fluid">
- {% block content %}
- {% endblock %}
- </div>
- <div class="modal fade " id="LoginModal" tabindex="-1" role="dialog" aria-labelledby="LoginModal" aria-hidden="true">
- <div class="modal-dialog border border-dark rounded-0" role="document">
- <div class="modal-content rounded-0">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">Bitte loggen Sie sich hier ein: </h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <form method="post" action="{% url 'login' %}">
- {% csrf_token %}
- <div class="form-group " style="margin-top: 20px">
- <input type="text" class="form-control rounded-0" name="username" placeholder="username" />
- </div>
- <div class="form-group">
- <input type="password" class="form-control rounded-0" name="password" placeholder="password">
- </div>
- <div>
- <input type="submit" class="btn btn-outline-secondary rounded-0 mybtn" value="login" />
- <input type="hidden" name="next" value="{{ next }}" />
- </div>
- </form>
- </div>
- <div class="modal-footer">
- <p><a href="{% url 'password_reset' %}">Passwort vergessen?</a></p>
- </div>
- </div>
- </div>
- </div>
- </body>
- <!-- Matomo -->
- <script type="text/javascript">
- /*
- var _paq = _paq || [];
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function() {
- var u="https://piwik.juan-carlos.info/";
- _paq.push(['setTrackerUrl', u+'piwik.php']);
- _paq.push(['setSiteId', '4']);
- var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
- g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
- })();
- */
- </script>
- <!-- End Matomo Code -->
- </html>
|