Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tbody
-each job in jobs
tr.collapse.in&attributes({'class': job.node_name},{'data-toggle': "modal"}, {'data-target': '#jobdetails'})
td #{job.node_name}
td #{dateFormat(job.job_time,"dd.mm.yyyy")}
td #{dateFormat(job.job_time,"HH:MM:ss")}
td #{job.site_loaded_files}
td #{job.site_loading_time}
#jobdetails.modal.fade(tabindex='-1', role='dialog', aria-labelledby='myModalLabel', aria-hidden='true')
.modal-dialog
.modal-content
.modal-header
button.close(type='button', data-dismiss='modal')
span(aria-hidden='true') ×
span.sr-only Close
h4#jobdetailsLabel.modal-title #{job.ID}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.