Demo of iframe integration.

The demo show an irc chat
This commit is contained in:
Julien Duponchelle 2015-07-30 15:36:49 +02:00
parent 21b93e415c
commit 493bec9994
3 changed files with 8 additions and 0 deletions

View File

@ -53,6 +53,7 @@ def render(template_file, out, **kwargs):
render('index.html', 'index.html')
render('chat.html', 'chat.html')
devices = []

5
templates/chat.html Normal file
View File

@ -0,0 +1,5 @@
{% extends "layout/default.html" %}
{% block body %}
<iframe src="https://kiwiirc.com/client/irc.freenode.org/gns3" frameborder="0" style="width: 100%; height: 100%; position: absolute">
</iframe>
{% endblock %}

View File

@ -44,6 +44,8 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="/devices">Devices</a></li>
<li><a href="/chat.html">Chat</a></li>
<li><a href="https://community.gns3.com">Community</a></li>
</ul>
</div>
</div>