summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-mac.html
blob: 4b406fce07ec5eecdecea014377c9e4a824ef0f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% include('/elements/xmlhttp.html',
              'url'  => $p.'misc/macinventory.cgi',
              'subs' => [ $opt{'prefix'}. 'get_macs' ],
          )
%>

<% include( '/elements/input-text.html', %opt, 'type'=>'text' ) %>

<SELECT ID="<% $opt{'prefix'} %>sel_mac_addr" NAME="<% $opt{'prefix'} %>sel_mac_addr" 
%#    notonChange="<% $opt{'prefix'} %>mac_addr_changed(this); <% $opt{'onchange'} %>"
    <% $opt{'disabled'} %> STYLE="display: none">
  <OPTION VALUE="">Select MAC address</OPTION>
</SELECT>

<%init>

my %opt = @_;

</%init>