59 lines
3.2 KiB
HTML
59 lines
3.2 KiB
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block title %}Главная{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<div class="intro-y flex flex-col sm:flex-row items-center mt-8">
|
||
|
<h2 class="text-lg font-medium mr-auto">
|
||
|
Datatable
|
||
|
</h2>
|
||
|
|
||
|
</div>
|
||
|
<!-- BEGIN: Datatable -->
|
||
|
<div class="intro-y datatable-wrapper box p-5 mt-5">
|
||
|
<table class="table table-report table-report--bordered display datatable w-full">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="border-b-2 whitespace-no-wrap">TITLE</th>
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">COMPANY</th>
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">CLIENT</th>
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">Requested on</th>
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">Posted on</th>
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">STATUS</th>
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">Assignee</th>
|
||
|
|
||
|
|
||
|
<th class="border-b-2 text-center whitespace-no-wrap">Applied on</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for job in jobs %}
|
||
|
<tr>
|
||
|
<td class="border-b">
|
||
|
<div class="font-medium whitespace-no-wrap">{{ job.job_title [:50] }}</div>
|
||
|
<div class="text-gray-600 text-xs whitespace-no-wrap">{{ job.job_id }}</div>
|
||
|
</td>
|
||
|
<td class="text-center border-b">Company</td>
|
||
|
<td class="text-center border-b">CLIENT</td>
|
||
|
<td class="text-center border-b">Requested on</td>
|
||
|
<td class="text-center border-b">Posted on</td>
|
||
|
<td class="text-center border-b">
|
||
|
<select class="select2">
|
||
|
<option value="1">Leonardo DiCaprio</option>
|
||
|
<option value="2">Johnny Deep</option>
|
||
|
<option value="3">Robert Downey, Jr</option>
|
||
|
<option value="4">Samuel L. Jackson</option>
|
||
|
<option value="5">Morgan Freeman</option>
|
||
|
</select>
|
||
|
|
||
|
</td>
|
||
|
<td class="text-center border-b">Assignee</td>
|
||
|
<td class="text-center border-b">-</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- END: Datatable -->
|
||
|
{% endblock %}
|