mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-19 04:47:54 +00:00
Demo of iframe integration.
The demo show an irc chat
This commit is contained in:
parent
21b93e415c
commit
493bec9994
1
build.py
1
build.py
@ -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
5
templates/chat.html
Normal 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 %}
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user