mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-11-01 00:10:58 +00:00
Move jobs namespace back to http routes
This commit is contained in:
1 parent
328f85ba52
commit
bb60a2ba67
8 files changed
+157
-164
No files matched your search
@@ -151,9 +151,9 @@
|
||||
|
||||
{% if current_user.is_administrator %}
|
||||
const jobLogButtonElement = document.querySelector('#job-log-button');
|
||||
const jobLogModalElement = document.querySelector('#job-log-modal');
|
||||
|
||||
jobLogButtonElement.addEventListener('click', async (event) => {
|
||||
const jobLogModalElement = document.querySelector('#job-log-modal');
|
||||
const log = await app.jobs.log({{ job.hashid|tojson }});
|
||||
jobLogModalElement.querySelector('pre code').textContent = log;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user