jobportal/templates/users/employee-profile.html
2021-01-15 15:19:10 +01:00

83 lines
3.5 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">
<form action="#" class="search-form">
<div class="form-group">
<span class="icon icon-search"></span>
<input type="text" class="form-control" placeholder="Type a keyword and hit enter">
</div>
</form>
</div>
<div class="sidebar-box ftco-animate">
<div class="categories">
<h3>Categories</h3>
{% for category in categories %}
<li><a href="#">{{ category.title }} <span>{{ category.job_count }}</span></a></li>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</section> <!-- .section -->
{% endblock %}