Device => Appliance

This commit is contained in:
Julien Duponchelle 2015-08-06 17:46:49 +02:00
parent e4cf907aea
commit 66384cc8a4
3 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ def keep_only_version_with_appliance(md5sum, appliance):
version where the image is present.
:param md5sum: Md5sum of the image
:param appliance: Device hash
:param appliance: Appliance hash
:returns: List of version
"""

View File

@ -1,8 +1,8 @@
{% extends "layout/default.html" %}
{% block script %}
function importDevice() {
gns3_button(function() { return gns3.importDevice(); });
function importAppliance() {
gns3_button(function() { return gns3.importAppliance(); });
return false;
}
@ -14,6 +14,6 @@ function importDevice() {
</div
<p>
<a class="btn btn-primary btn-lg" href="/appliances" role="button">Show appliances</a>
<a class="btn btn-primary btn-lg" href="#" role="button" onclick="return importDevice()">Import appliance</a>
<a class="btn btn-primary btn-lg" href="#" role="button" onclick="return importAppliance()">Import appliance</a>
</p>
{% endblock %}

View File

@ -69,7 +69,7 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="/appliances">Devices</a></li>
<li><a href="/appliances">Appliances</a></li>
<li><a href="/downloads.html">Downloads</a></li>
<li><a href="/chat.html">Chat</a></li>
<li><a href="https://community.gns3.com">Community</a></li>