roundabout,
created on Sunday, 15 September 2024, 10:52:55 (1726397575),
received on Sunday, 15 September 2024, 10:53:00 (1726397580)
Author identity: vlad <vlad.muntoiu@gmail.com>
1b132f7254fdbdbe25ad3a2d24fa289dda833a50
templates/object-types.html
@@ -7,7 +7,7 @@
<h1>Objects</h1> <dl> {% for object in objects %} <dt><a href="/object/{{ object.id }}">{{ object.id }}</a></dt><dt><a href="/object/{{ object.id | urlencode }}">{{ object.id }}</a></dt><dd>{{ object.description }}</dd> {% endfor %} </dl>
templates/picture.html
@@ -2,7 +2,7 @@
{% block title %}Picture {{ resource.title }} | gigadata{% endblock %} {% macro shape_label(x, y, text) %} {% if text %} <a class="shape-label" style="left: {{ x * 100 }}%; top: {{ y * 100 }}%" href="/object/{{ text }}"><a class="shape-label" style="left: {{ x * 100 }}%; top: {{ y * 100 }}%" href="/object/{{ text | urlencode }}">{{ text }} </a> {% endif %}
@@ -201,7 +201,7 @@
{% if contains %} <p> Contains objects: {% for object_id in contains %} <a href="/object/{{ object_id }}">{{ object_id }}</a>{% if not loop.last %}, {% endif %}{% endfor %}<a href="/object/{{ object_id | urlencode }}">{{ object_id }}</a>{% if not loop.last %}, {% endif %}{% endfor %}</p> {% else %} <p>No labelled regions.</p>