-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
93 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,85 @@ | ||
{% extends "base.html" %} {% block content %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Job Details</title> | ||
<style> | ||
.back-button-container { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 10px; | ||
} | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Job Details</title> | ||
<style> | ||
.back-button-container { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 10px; | ||
} | ||
.back-button { | ||
padding: 10px 15px; | ||
color: #ececec; | ||
border: 2px solid #000000; | ||
border-radius: 5px; | ||
text-decoration: none; | ||
background-color: #000000; | ||
transition: background-color 0.3s ease, color 0.3s ease, | ||
border-color 0.3s ease; | ||
cursor: pointer; | ||
} | ||
|
||
.back-button { | ||
padding: 10px 15px; | ||
color: #ececec; | ||
border: 2px solid #000000; | ||
border-radius: 5px; | ||
text-decoration: none; | ||
background-color: #000000; | ||
transition: background-color 0.3s ease, color 0.3s ease, | ||
border-color 0.3s ease; | ||
cursor: pointer; | ||
} | ||
.back-button:hover { | ||
background-color: #534c4c; | ||
color: #ececec; | ||
border-color: #534c4c; | ||
} | ||
|
||
.back-button:hover { | ||
background-color: #534c4c; | ||
color: #ececec; | ||
border-color: #534c4c; | ||
} | ||
</style> | ||
</head> | ||
{{ css|safe }} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="h2-section"> | ||
<h2>Job Details</h2> | ||
</div> | ||
<div class="section"> | ||
<table id="jobs"> | ||
<tr> | ||
<th>ID</th> | ||
<td class="table-cell">{{ job_data.id }}</td> | ||
</tr> | ||
<tr> | ||
<th>Name</th> | ||
<td class="table-cell">{{ job_data.name }}</td> | ||
</tr> | ||
<tr> | ||
<th>Created At</th> | ||
<td class="table-cell">{{ job_data.created_at }}</td> | ||
</tr> | ||
<tr> | ||
<th>Enqueued At</th> | ||
<td class="table-cell">{{ job_data.enqueued_at }}</td> | ||
</tr> | ||
<tr> | ||
<th>Ended At</th> | ||
<td class="table-cell">{{ job_data.ended_at }}</td> | ||
</tr> | ||
<tr> | ||
<th>Result</th> | ||
<td class="table-cell">{{ job_data.result }}</td> | ||
</tr> | ||
<tr> | ||
<th>Exception Info</th> | ||
<td class="table-cell">{{ job_data.exc_info }}</td> | ||
</tr> | ||
<tr> | ||
<th>Meta</th> | ||
<td class="table-cell">{{ job_data.meta }}</td> | ||
</tr> | ||
</table> | ||
<div class="back-button-container"> | ||
<a href="javascript:history.back()" class="back-button">Back</a> | ||
<body> | ||
<div class="h2-section"> | ||
<h2>Job Details</h2> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
<div class="section"> | ||
<table id="jobs"> | ||
<tr> | ||
<th>ID</th> | ||
<td class="table-cell">{{ job_data.id }}</td> | ||
</tr> | ||
<tr> | ||
<th>Name</th> | ||
<td class="table-cell">{{ job_data.name }}</td> | ||
</tr> | ||
<tr> | ||
<th>Created At</th> | ||
<td class="table-cell">{{ job_data.created_at }}</td> | ||
</tr> | ||
<tr> | ||
<th>Enqueued At</th> | ||
<td class="table-cell">{{ job_data.enqueued_at }}</td> | ||
</tr> | ||
<tr> | ||
<th>Ended At</th> | ||
<td class="table-cell">{{ job_data.ended_at }}</td> | ||
</tr> | ||
<tr> | ||
<th>Result</th> | ||
<td class="table-cell"><pre>{{ job_data.result }}</pre></td> | ||
</tr> | ||
<tr> | ||
<th>Exception Info</th> | ||
<td class="table-cell"> | ||
{% if col_exc_info %}{{ col_exc_info|safe }}{% else %} | ||
<pre>{{ job_data.exc_info }}{% endif %}</pre> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Meta</th> | ||
<td class="table-cell"><pre>{{ job_data.meta }}</pre></td> | ||
</tr> | ||
</table> | ||
<div class="back-button-container"> | ||
<a href="javascript:history.back()" class="back-button">Back</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
{% endblock %} | ||
{% endblock %} |