Return the svg field in shape API

Ref #498
This commit is contained in:
Julien Duponchelle committed 2016-06-21 12:19:12 +02:00
1 parent 51dbe59e99
commit 4f78efa0c8
3 files changed
+33 -10

No files matched your search

+23 -4
View File
@@ -26,7 +26,7 @@ in futur GNS3 versions.
<table border="1">
<tr>
<th>Name</th>
<th>ID</td>
<th>ID</th>
<th>Compute</th>
<th>Console</th>
</tr>
@@ -43,9 +43,9 @@ in futur GNS3 versions.
<h2>Links</h2>
<table border="1">
<tr>
<th>ID</td>
<th>Capture</td>
<th>PCAP</td>
<th>ID</th>
<th>Capture</th>
<th>PCAP</th>
</tr>
{% for link in project.links.values() %}
<tr>
@@ -56,6 +56,25 @@ in futur GNS3 versions.
{% endfor %}
</table>
<h2>Shapes</h2>
<table border="1">
<tr>
<th>ID</th>
<th>Position</th>
<th>Content</th>
</tr>
{% for shape in project.shapes.values() %}
<tr>
<td>{{shape.id}}</td>
<td>{{shape.x}}, {{shape.y}}, {{shape.z}}</td>
<td>{{shape.svg}}</td>
</tr>
{% endfor %}
</table>
<h2>Notifications</h2>
<div id="notifications">
</div>