53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
extends layout_side
|
|
|
|
block content
|
|
link(rel='stylesheet', href='https://use.fontawesome.com/releases/v5.6.1/css/all.css', integrity='sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP', crossorigin='anonymous')
|
|
-//link(rel='stylesheet' href='/css/tableRibbon.css')
|
|
.container#wrapper(style='width:100%;')
|
|
h2.contHeader #{title}
|
|
#darktable.clickable.container
|
|
table.container(style='width:90%;')
|
|
col(width='5%')
|
|
col(width='20%')
|
|
col(width='20%')
|
|
col(width='auto')
|
|
col(width='15%')
|
|
-//col(width='10%')
|
|
thead
|
|
tr
|
|
th
|
|
h1(style='text-align:center') #
|
|
th
|
|
h1 Név
|
|
th
|
|
h1(style='text-align:left') email cím
|
|
th
|
|
h1(style='text-align:left') Cím
|
|
th
|
|
h1(style='text-align:right') RFID
|
|
|
|
tbody
|
|
-var s=1;
|
|
each employee, i in employees
|
|
-//if(employee.konyvelesre==='on')
|
|
tr.clickable-clientRow(data-href="/employee/edit/"+employee._id)
|
|
td #{s}
|
|
if (employee.isSubcontractor==='on')
|
|
td(class="prova" data-ribbon="★") #{employee.name}
|
|
else if (employee.isStudent==='on')
|
|
td.student(data-ribbon='.') #{employee.name}
|
|
else
|
|
td(style='text-align:left') #{employee.name}
|
|
td(style='text-align:left') #{employee.email}
|
|
td(style='text-align:left') #{employee.address}
|
|
td(style='text-align:right') #{employee.accessCode}
|
|
-s++
|
|
//span.badge #{client.manufacturerDiscount} %
|
|
script.
|
|
$(document).ready(function () {
|
|
$("#mworkers").click();
|
|
$("#listworker").addClass("active");
|
|
$('tr[data-href]').on("click", function() {
|
|
document.location = $(this).data('href');
|
|
});
|
|
}); |