2018-11-28 12:37:35 +00:00
|
|
|
{% load static %}
|
2018-10-17 08:51:51 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<!-- Required meta tags -->
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
|
|
|
|
<!-- Bootstrap CSS -->
|
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
|
2018-11-10 05:07:50 +00:00
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
|
|
|
|
crossorigin="anonymous">
|
2018-10-17 08:51:51 +00:00
|
|
|
<title>{% block title %}{% endblock %}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
|
2018-11-28 12:37:35 +00:00
|
|
|
|
|
|
|
<h5 class="my-0 mr-md-auto font-weight-normal"><a href="{% url 'jobs:index' %}"><img src="{% static 'img/logo.svg' %}"/></a></h5>
|
2018-10-17 08:51:51 +00:00
|
|
|
<nav class="my-2 my-md-0 mr-md-3">
|
2019-02-02 21:33:54 +00:00
|
|
|
{# <a class="p-2 text-dark" href="#">Search</a>#}
|
|
|
|
{# <a class="p-2 text-dark" href="#">Tags</a>#}
|
2018-10-20 08:15:59 +00:00
|
|
|
<a class="p-2 text-dark" href="{% url 'jobs:job_list' %}">Jobs</a>
|
2018-10-17 08:51:51 +00:00
|
|
|
</nav>
|
2018-10-20 08:15:59 +00:00
|
|
|
<a class="btn btn-outline-primary" href="{% url 'jobs:job_create' %}">Post a job</a>
|
2018-11-16 13:56:53 +00:00
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
<a class="btn text-dark" href="{% url 'logout' %}">Logout</a>
|
|
|
|
{% endif %}
|
2018-10-17 08:51:51 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container">
|
2018-10-20 07:48:55 +00:00
|
|
|
{% for message in messages %}
|
|
|
|
<div class="alert alert-{{ message.tags }} alert-dismissable">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
|
|
{{ message }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2018-10-17 08:51:51 +00:00
|
|
|
{% block body_content %}{% endblock %}
|
|
|
|
|
|
|
|
<footer class="pt-4 my-md-5 pt-md-5 border-top">
|
|
|
|
<div class="row">
|
2019-01-27 16:15:22 +00:00
|
|
|
<div class="col-12 text-center">
|
|
|
|
<small class="text-muted">© {% now 'Y' %} This service is provided to you by <a href="https://ungleich.ch/" target="_blank">ungleich</a>.</small>
|
2018-10-17 08:51:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
|
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|