~milo/linaro-ci-dashboard/refactor-job-schedule

« back to all changes in this revision

Viewing changes to dashboard/frontend/templates/index.html

  • Committer: Milo Casagrande
  • Date: 2012-08-17 14:44:43 UTC
  • mfrom: (17.4.14 android_build_view)
  • Revision ID: milo@ubuntu.com-20120817144443-v5j67188475apaib
Merged android_build create view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
<div>
18
18
    <button type="button" id="create_button">Add new Integration loop</button>
19
19
</div>
 
20
<div>
 
21
    <button type="button" id="create_android_button">Add new Android loop</button>
 
22
</div>
20
23
{% endblock %}
21
24
 
22
25
{% block scripts %}
24
27
$("#create_button").click(function() {
25
28
  window.location.href = "{% url IntegrationLoopCreate %}";
26
29
});
 
30
$("#create_android_button").click(function() {
 
31
  window.location.href = "{% url AndroidLoopCreate %}";
 
32
});
27
33
</script>
28
34
{% endblock %}