job_offer.html 3.5 KB
Newer Older
1
2
{% extends "base.html" %}

3
4
5
6
{% block title %}
    {{ CIRCLES[category.slug] }} - {{ article.title }}
{% endblock title %}

7
{% block header_content %}
8
    <div class="container">
9
        <a href="{{SITEURL}}/{{category.save_as}}" class="header-btn btn btn-dark mb-2 p-2">
10
            <div class="row m-0 d-flex align-items-center">
11
                <div class="circle-{{category.slug}}"></div>
12
                <span class="category text-uppercase pl-2">{{CIRCLES[category.slug]}}</span>
13
            </div>
14
15
16
17
        </a>
    </div>
    <div class="container">
        <h1 class="my-3">{{ article.title }}</h1>
18
        <h4 class="my-3">Proposée par {{ article.author }}, le {{article.date.strftime("%d %B %Y")}}</h4>
19
        <div class="container text-center">
20
            <div class="row d-flex justify-content-center job_offers_icons">
21
                <div class="col-md-4">
22
                    <img src="{{ SITEURL }}/theme/img/contract.png" alt="Type de contrat"/><br/>
23
24
25
26
                    <span>{{ article.job_type }}</span>
                </div>
                {% if article.job_location %}
                <div class="col-md-4">
27
                    <img src="{{ SITEURL }}/theme/img/position_full.png" alt="Lieu de travail"/><br/>
28
29
30
                    <span>{{ article.job_location }}</span>
                </div>
                {% endif %}
31
32
                {% if article.job_employer %}
                <div class="col-md-4">
33
                    <img src="{{ SITEURL }}/theme/img/employer.png" alt="Nom de l'employeur"/><br/>
34
35
36
                    <span>{{ article.job_employer }}</span>
                </div>
                {% endif %}
37
                {% if article.job_duration  and article.job_type != 'CDI' and article.job_type != 'Concours' %}
38
                <div class="col-md-4">
39
                    <img src="{{ SITEURL }}/theme/img/calendrier_full.png" alt="Durée du contrat"/><br/>
40
41
42
43
44
45
                    <span>{{ article.job_duration }}</span>
                </div>
                {% endif %}
                {% if article.email %}
                <div class="col-md-4">
                    <a href="mailto:{{ article.email }}">
46
                        <img src="{{ SITEURL }}/theme/img/mail.png" alt="Adresse mail de contact"/><br/>
47
48
49
50
51
52
53
                        <span>Email</span>
                    </a>
                </div>
                {% endif %}
                {% if article.job_website %}
                <div class="col-md-4">
                    <a href="{{ article.job_website }}" target="_blank" rel="noopener noreferrer">
54
                        <img src="{{ SITEURL }}/theme/img/web.png" alt="Url de l'offre ou de la page de l'entreprise"/><br/>
55
56
57
58
59
60
61
                        <span>Web</span>
                    </a>
                </div>
                {% endif %}
                {% if article.attachment %}
                <div class="col-md-4">
                    <a href="{{ SITEURL }}/job_offers/{{ article.attachment }}" target="_blank" rel="noopener noreferrer">
62
                        <img src="{{ SITEURL }}/theme/img/download_full.png" alt="Fichier joint"/><br/>
63
64
65
66
                        <span>Fichier</span>
                    </a>
                </div>
                {% endif %}
67
            </div>
68
69
70
71
72
73
        </div>
    </div>
{% endblock header_content %}


{% block content %}
74
75
76
77
78
79
80
<div class="section">
    <div class="container-fluid part job_offers">
        <div class="block">
            <blockquote class="content">
                {{article.content}}
            </blockquote>
        </div>
81
82
83
84
    </div>
</div>
{% endblock content %}