summaryrefslogtreecommitdiffstats
path: root/templates/admin/index.html
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-10-19 16:02:22 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-10-27 16:31:43 +0100
commit7a88f6bc436a95536b5af896f2f4997c859571f9 (patch)
treec25f50f87d0e909367bbbe39e9606fafe4a6cfc9 /templates/admin/index.html
parentf3575089742ba85ed420f6f9becd2cde4135097f (diff)
downloadipsilon.git-7a88f6bc436a95536b5af896f2f4997c859571f9.tar.gz
ipsilon.git-7a88f6bc436a95536b5af896f2f4997c859571f9.tar.xz
ipsilon.git-7a88f6bc436a95536b5af896f2f4997c859571f9.zip
Add SVG Image to the Home administration page
This SVG image contain HREF links that are template in jinja to link images/text i the SVG to the menu pages. Clicking on elements of the SVG thus redirects to the relevant menu item. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'templates/admin/index.html')
-rw-r--r--templates/admin/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html
index a0d17fe..7ab55e1 100644
--- a/templates/admin/index.html
+++ b/templates/admin/index.html
@@ -2,5 +2,11 @@
{% block main %}
{% if user.is_admin %}
<h2>Select an item to configure</h2>
+ <div class="col-md-12 col-sm-12 col-xs-12">
+ {#<img src="{{ baseurl }}/scheme" width="100%"/>#}
+ <object data="{{ baseurl }}/scheme" type="image/svg+xml" width="100%" height="100%">
+ <param name="wmode" value="transparent" />
+ </object>
+ </div>
{% endif %}
{% endblock %}