Merge "Added button Add Interface on Network Topology tab"
This commit is contained in:
commit
6a08a25113
@ -541,6 +541,8 @@ horizon.network_topology = {
|
||||
};
|
||||
if (d.type === 'router') {
|
||||
html_data.port = ports;
|
||||
html_data.add_interface_url = d.url + 'addinterface';
|
||||
html_data.add_interface_label = gettext("Add Interface");
|
||||
html = balloon_tmpl.render(html_data,{
|
||||
table1:device_tmpl,
|
||||
table2:(ports.length > 0) ? port_tmpl : null
|
||||
|
@ -19,6 +19,7 @@
|
||||
<a href="[[url]][[console]]" class="vnc_window">» [[open_console_label]]</a>
|
||||
[[/console_id]]
|
||||
</div>
|
||||
<a class="add-interface btn btn-primary btn-mini ajax-modal [[type]]" href="[[add_interface_url]]">[[add_interface_label]]</a>
|
||||
<div class="cell delete">
|
||||
<button class="delete-device btn btn-danger btn-mini [[type]]" data-type="[[type]]" data-device-id="[[id]]">[[type_capital]]</button>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user