Skip to content
Snippets Groups Projects
Commit 359baf02 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Change job template.

parent a82b7292
No related branches found
No related tags found
No related merge requests found
...@@ -71,5 +71,4 @@ def job(job_id): ...@@ -71,5 +71,4 @@ def job(job_id):
elif not job.user_id == current_user.id: elif not job.user_id == current_user.id:
print('Job does not belong to current user.') print('Job does not belong to current user.')
abort(403) abort(403)
print(job) return render_template('main/jobs/job.html.j2', title='Job', job=job)
return render_template('main/corpus.html.j2', title=job.title)
{% extends "base.html.j2" %}
{% block page_content %}
<div class="col s12 m4">
<h3>Opaque?</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
</div>
<div class="col s12 m8">
<div class="card">
<div class="card-content">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card">
<div class="card-content">
<span class="card-title">Open source</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy</p>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card">
<div class="card-content">
<span class="card-title">Cloud processing</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy</p>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card">
<div class="card-content">
<span class="card-title">Context</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy</p>
</div>
</div>
</div>
{% endblock %}
{% extends "base.html.j2" %}
{% block page_content %}
<div class="col s12 m4">
<h3>{{ job.title }}</h3>
<p>{{ job.description }}</p>
</div>
<div class="col s12 m8">
<div class="card">
<div class="card-content">
<span class="card-title">Details</span>
<p><b>Creation date</b>: {{ job.creation_date }}</p>
<p><b>Description</b>: {{ job.description }}</p>
<p><b>Memory</b>: {{ job.mem_mb }} MB</p>
<p><b>Cores</b>: {{ job.n_cores }}</p>
<p><b>Service</b>: {{ job.service }}</p>
<p><b>Service arguments</b>: {{ job.service_args }}</p>
<p><b>Service version</b>: {{ job.service_version }}</p>
<p><b>Status</b>: {{ job.status }}</p>
<p><b>Title</b>: {{ job.title }}</p>
</div>
</div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment