~ubuntu-branches/ubuntu/utopic/horizon/utopic

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/image_registry.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2014-07-25 11:39:09 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20140725113909-b8920pdy87itn1ro
Tags: 1:2014.2~b2-0ubuntu1
* New upstream release.
* debian/patches/ubuntu_settings.patch: Refresed
* debian/patches/fix-dashboard-manage.patch: Refreshed
* debian/patches/fix-dashboard-django-wsgi.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends 'base.html' %}
 
2
{% load i18n %}
 
3
{% block title %}{% trans "Data Processing" %}{% endblock %}
 
4
 
 
5
{% block page_header %}
 
6
    {% include "horizon/common/_page_header.html" with title=_("Image Registry") %}
 
7
{% endblock page_header %}
 
8
 
 
9
{% block main %}
 
10
 
 
11
<div class="image_registry">
 
12
    {{ image_registry_table.render }}
 
13
</div>
 
14
 
 
15
<script type="text/javascript">
 
16
  addHorizonLoadEvent(function () {
 
17
      horizon.modals.addModalInitFunction(function (modal) {
 
18
        var tags = JSON.parse($("#id_tags_list").val());
 
19
        $.each(tags, function(i, tag) {
 
20
          var tagspan = '<span class="label label-info" style="float: left;display: block; margin: 2px;">' +
 
21
                         tag +
 
22
                         '<i class="icon-remove-sign" onclick="remove_tag(this);"></i></span>';
 
23
          $("#image_tags_list").append(tagspan);
 
24
        });
 
25
     });
 
26
  });
 
27
</script>
 
28
{% endblock %}
 
 
b'\\ No newline at end of file'