Sha256: 036788abc050ecc7cbf268827d9eb93de05cba7247cd32554dcbcd51abd16f11
Contents?: true
Size: 1.76 KB
Versions: 10
Compression:
Stored size: 1.76 KB
Contents
<%# Copyright 2018 Tristan Robert This file is part of ForemanFogProxmox. ForemanFogProxmox is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ForemanFogProxmox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %> <% server = vm_type == 'qemu' %> <% index = f.index ? f.index.present? : 0 %> <%= field_set_tag _("Nic"), :id => "server_network_#{index}", :style => ('display: none;' unless server), :disabled => !server do %> <%= text_f f, :id, :label => _('Identifier'), :label_size => "col-md-2", :required => true, :label_help => _("net[n] with n integer >= 0, e.g. net0") %> <%= select_f f, :model, proxmox_networkcards_map, :id, :name, { }, :label => _('Card'), :label_size => "col-md-2" %> <%= select_f f, :bridge, compute_resource.bridges(node_id), :iface, :iface, { }, :label => _('Bridge'), :label_size => "col-md-2" %> <%= text_f f, :tag, :class => "input-mini", :label => _('VLAN tag'), :label_size => "col-md-2" %> <%= text_f f, :rate, :class => "input-mini", :label => _('Rate limit'), :label_size => "col-md-2" %> <%= text_f f, :queues, :class => "input-mini", :label => _('Multiqueue'), :label_size => "col-md-2" %> <%= checkbox_f f, :firewall, { :label => _('Firewall') }, '1', '0' %> <%= checkbox_f f, :link_down, { :label => _('Disconnect') }, '1', '0' %> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems