From 1e37402a96397fe344c32e0abf7434b4b595ea49 Mon Sep 17 00:00:00 2001 From: levinse Date: Fri, 28 Jan 2011 02:49:15 +0000 Subject: torrus, RT10574 --- httemplate/misc/nms-add_iface.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 httemplate/misc/nms-add_iface.html (limited to 'httemplate/misc/nms-add_iface.html') diff --git a/httemplate/misc/nms-add_iface.html b/httemplate/misc/nms-add_iface.html new file mode 100644 index 000000000..ab4cb178b --- /dev/null +++ b/httemplate/misc/nms-add_iface.html @@ -0,0 +1,24 @@ +Adding interface <% $iface %> for <% $host %> +
+ +
+Torrus Service Id +<% include('/elements/input-text.html', + 'field' => 'serviceid', + ) +%> +
+ +
+ +<%init> + +# XXX: access rights, disable/enable submit button, something's wrong with style + +my $host = $cgi->param('host'); +die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/; + +my $iface = $cgi->param('iface'); +die 'invalid iface' unless $iface =~ /^[0-9A-Za-z_]+$/; + + -- cgit v1.2.1