summaryrefslogtreecommitdiff
path: root/httemplate/edit/tower.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-10-10 11:59:41 -0700
committerMark Wells <mark@freeside.biz>2016-10-10 11:59:41 -0700
commit49d9ea969069430ef3fe23e5b1ac3599e929bb04 (patch)
tree24a3feb13b0a8db68f7a634de239b97d106a5efe /httemplate/edit/tower.html
parent53a8c81b4f3a414803a52fc8114b26a71055d012 (diff)
new tower/sector UI, mapping features, and network monitoring, #37802
Diffstat (limited to 'httemplate/edit/tower.html')
-rw-r--r--httemplate/edit/tower.html19
1 files changed, 12 insertions, 7 deletions
diff --git a/httemplate/edit/tower.html b/httemplate/edit/tower.html
index 377a33e9b..946a1405e 100644
--- a/httemplate/edit/tower.html
+++ b/httemplate/edit/tower.html
@@ -2,6 +2,7 @@
name_singular => 'tower',
table => 'tower',
viewall_dir => 'browse',
+ html_init => include('/elements/mapselect.html'),
fields => [ 'towername',
{ field=>'disabled', type=>'checkbox', value=>'Y', },
{ field=>'color', type=>'pickcolor' },
@@ -12,11 +13,15 @@
'altitude',
'height',
'veg_height',
- { field => 'sectornum',
- type => 'tower_sector',
- o2m_table => 'tower_sector',
- m2_label => 'Sector',
- m2_error_callback => $m2_error_callback,
+# { field => 'sectornum',
+# type => 'tower_sector',
+# o2m_table => 'tower_sector',
+# m2_label => 'Sector',
+# m2_error_callback => $m2_error_callback,
+# },
+ { type => 'tower_sectors',
+ field => 'sectornum',
+ # does its own o2m-thing
},
],
labels => { 'towernum' => 'Tower',
@@ -27,7 +32,7 @@
'latitude' => 'Latitude',
'longitude' => 'Longitude',
'altitude' => 'Altitude (feet)',
- 'height' => 'Height (feet)',
+ 'height' => 'Tower height (feet)',
'veg_height' => 'Vegetation height (feet)',
'color' => 'Color',
},
@@ -38,7 +43,7 @@ my $m2_error_callback = sub { # reconstruct the list
my ($cgi, $object) = @_;
my @fields = qw(
- sectorname ip_addr height freq_mhz direction width tilt v_width margin sector_range
+ sectorname ip_addr height freq_mhz direction width tilt v_width db_high db_low sector_range
);
map {