Sha256: b8d4117440c62b9d7b61e7e4abcdc45249210c672a55f30cb3b1e4cb53fae7b8

Contents?: true

Size: 1.53 KB

Versions: 7

Compression:

Stored size: 1.53 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 = type == 'qemu' %>

<%= field_set_tag _("Nic"), :id => "server_network", :style => ('display: none;' unless server), :disabled => !server do %> 
    <%= select_f f, :model, proxmox_networkcards_map, :id, :name, { }, :label => _('Card'), :label_size => "col-md-2" %>
    <%= select_f f, :bridge, compute_resource.bridges, :iface, :iface, { }, :label => _('Bridge'), :label_size => "col-md-2" %>
    <%= counter_f f, :tag, :class => "input-mini", :label => _('VLAN tag'), :label_size => "col-md-2" %>
    <%= counter_f f, :rate, :class => "input-mini", :label => _('Rate limit'), :label_size => "col-md-2" %>
    <%= counter_f f, :queues, :class => "input-mini", :label => _('Multiqueue'), :label_size => "col-md-2" %>
    <%= checkbox_f f, :firewall, :label => _('Firewall') %>
    <%= checkbox_f f, :link_down, :label => _('Disconnect') %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_fog_proxmox-0.5.6 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb
foreman_fog_proxmox-0.5.5 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb
foreman_fog_proxmox-0.5.4 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb
foreman_fog_proxmox-0.5.3 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb
foreman_fog_proxmox-0.5.2 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb
foreman_fog_proxmox-0.5.1 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb
foreman_fog_proxmox-0.5.0 app/views/compute_resources_vms/form/proxmox/server/_network.html.erb