~stylesen/lava-scheduler/fix-worker-multinode-error

« back to all changes in this revision

Viewing changes to lava_scheduler_app/templates/lava_scheduler_app/job_sidebar.html

  • Committer: Andy Doan
  • Date: 2013-01-15 20:53:29 UTC
  • mfrom: (234.2.1 lava-scheduler)
  • Revision ID: andy.doan@linaro.org-20130115205329-67gfpcyrc57p48yn
add a re-submit button to jobs in UI

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
 
85
85
</ul>
86
86
{% if show_cancel or show_failure %}
87
 
<h2>Actions</h2>
 
87
<h2>Job Actions</h2>
88
88
{% if show_cancel %}
89
89
<form method="POST"
90
90
      action="{% url lava.scheduler.job.cancel job.pk %}">
91
91
  {% csrf_token %}
92
 
  <button id="cancel-button">Cancel Job</button>
 
92
  <button id="cancel-button">Cancel</button>
 
93
</form>
 
94
{% endif %}
 
95
{% if show_resubmit %}
 
96
<form method="POST"
 
97
      action="{% url lava.scheduler.job.resubmit job.pk %}">
 
98
  {% csrf_token %}
 
99
  <button>Re-submit</button>
93
100
</form>
94
101
{% endif %}
95
102
{% if show_failure %}
96
 
<ul>
97
 
 <li><a href="{% url lava.scheduler.job.annotate_failure job.pk %}">Annotate Failure</a></li>
98
 
</ul>
 
103
<form method="GET"
 
104
      action="{% url lava.scheduler.job.annotate_failure job.pk %}">
 
105
  <button>Annotate</button>
 
106
</form>
99
107
{% endif %}
100
108
{% endif %}
101
109