jobportal/templates/users/employee-profile.html
2021-01-17 15:51:33 +01:00

75 lines
3.3 KiB
HTML

{% extends 'base.html' %}
{% load static %}
{% block content %}
<div class="hero-wrap js-fullheight" style="background-image: url('{% static 'images/bg_2.jpg' %}');" data-stellar-background-ratio="0.5"> <div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-end justify-content-start" data-scrollax-parent="true">
<div class="col-md-8 ftco-animate text-center text-md-left mb-5" data-scrollax=" properties: { translateY: '70%' }">
<p class="breadcrumbs" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }"><span class="mr-3"><a href="{% url 'jobs:home' %}">Home <i class="ion-ios-arrow-forward"></i></a></span></p>
<h1 class="mb-3 bread" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }">Employee profile</h1>
</div>
</div>
</div>
</div>
<section class="ftco-section ftco-degree-bg">
<div class="container">
<div class="row">
<div class="col-md-8 ftco-animate" style="text-align: center">
<h2 class="mb-3">{{ account.first_name }} {{ account.last_name }}</h2>
<h5><img src="{{ profile.image.url }}"></h5>
<h5>{{ account.email }}</h5>
<h5>{{ profile.birth_day }}</h5>
<h5>{{ profile.location }}</h5>
<p>{{ profile.resume|safe }}</p>
<hr>
<h3>Send an invitation to employee</h3>
<form action="" method="post">
{% csrf_token %}
<div class="row form-group">
<div class="col-md-12">
<label class="font-weight-bold" for="fullname">Date</label>
</div>
<div class="col-md-12 mb-3 mb-md-0">
<label for="option-job-type-1">
{{ form.date }}
</label>
</div>
</div>
<div class="row form-group">
<div class="col-md-12">
<label class="font-weight-bold" for="fullname">Message</label>
</div>
<div class="col-md-12 mb-3 mb-md-0">
<label for="option-job-type-1">
{{ form.media }}
{{ form.message }}
</label>
</div>
</div>
<div class="row form-group">
<div class="col-md-12">
<input type="submit" style="margin-left: 270px" value="Send" class="btn btn-primary py-2 px-5">
</div>
</div>
</form>
</div> <!-- .col-md-8 -->
<div class="col-md-4 sidebar ftco-animate">
<div class="sidebar-box ftco-animate">
<div class="categories">
<h3>Categories</h3>
{% for category in categories %}
<li><a href="{% url 'jobs:category_detail' category.slug category.pk %}">{{ category.title }} <span>{{ category.job_count }}</span></a></li>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</section> <!-- .section -->
{% endblock %}