From 2eda79fb265b3acdde85881f1160f6daa73f2d84 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 18 Apr 2008 03:29:59 +0000 Subject: drag address and router even farther into the century --- httemplate/edit/allocate.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 httemplate/edit/allocate.html (limited to 'httemplate/edit/allocate.html') diff --git a/httemplate/edit/allocate.html b/httemplate/edit/allocate.html new file mode 100644 index 000000000..29c16ae6a --- /dev/null +++ b/httemplate/edit/allocate.html @@ -0,0 +1,26 @@ +<% include('elements/edit.html', + 'name' => 'Allocation', + 'table' => 'addr_block', + 'labels' => { 'NetAddr' => 'Block', + 'routernum' => 'Router', + }, + 'fields' => [ { 'field' => 'NetAddr', + 'type' => 'fixed', + }, + { 'field' => 'routernum', + 'type' => 'select-table', + 'table' => 'router', + 'name_col' => 'routername', + 'disable_empty' => 1, + }, + ], + 'post_url' => "process/addr_block/allocate.cgi", + 'popup' => 1, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + + -- cgit v1.2.1