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>
|
2019-03-19 03:29:07 +00:00
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
|
|
<div class="container">
|
|
|
|
<a class="navbar-brand" href="{% url 'jobs:index' %}"><img src="{% static 'img/logo.svg' %}" alt=""></a>
|
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
|
|
|
|
<ul class="navbar-nav ml-auto">
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Applications</a>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink">
|
|
|
|
<a class="dropdown-item" href="{% url 'jobs:my_applications' %}">Your applications</a>
|
|
|
|
<a class="dropdown-item" href="{% url 'jobs:applications_others' %}">Applications to your jobs</a>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{% url 'jobs:messages_inbox' %}">Messages</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item justify-content-end">
|
|
|
|
<a class="nav-link" href="{% url 'jobs:my_jobs' %}">Your Jobs</a>
|
|
|
|
{# {% url 'jobs:job_list' %}#}
|
|
|
|
</li>
|
|
|
|
<a class="btn btn-outline-primary mx-1" href="{% url 'jobs:job_create' %}">Post a job</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a class="btn btn-danger mx-1" href="{% url 'logout' %}">Logout</a>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="ml-auto">
|
|
|
|
<a href="{% url 'jobs:job_create' %}" class="btn btn-outline-primary ml-auto" role="button" aria-pressed="true">Post a job</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
2019-02-09 19:37:40 +00:00
|
|
|
|
2018-10-17 08:51:51 +00:00
|
|
|
<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 %}
|
2019-03-19 03:29:07 +00:00
|
|
|
|
|
|
|
{% block body_content %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|
2019-02-09 19:37:40 +00:00
|
|
|
|
2018-10-17 08:51:51 +00:00
|
|
|
<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">
|
2019-03-19 03:29:07 +00:00
|
|
|
<small class="text-muted">© {% now 'Y' %}</small>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 text-center">
|
|
|
|
<small>This service is provided to you
|
|
|
|
by <a href="https://ungleich.ch/" target="_blank">ungleich</a>. IPv6.work is
|
2019-02-09 19:37:40 +00:00
|
|
|
<a href="https://code.ungleich.ch/ungleich-public/ipv6-dot-work" target="_blank">
|
|
|
|
Open Source</a>.</small>
|
2018-10-17 08:51:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2019-03-19 03:29:07 +00:00
|
|
|
<style>
|
|
|
|
.my-custom-scrollbar {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
height: 400px;
|
|
|
|
overflow: auto;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
.table-wrapper-scroll-y {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
</style>
|
2018-10-17 08:51:51 +00:00
|
|
|
</div>
|
|
|
|
|
2019-03-19 03:29:07 +00:00
|
|
|
|
2018-10-17 08:51:51 +00:00
|
|
|
<!-- 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>
|
2019-02-09 19:37:40 +00:00
|
|
|
</html>
|