summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-03-13 14:07:39 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-03-13 14:07:39 -0400
commit5f9edcbe9fb3b3eb905614927aa6120d50c06ff1 (patch)
tree9e4c999030123cb8cb6167da559e7b4248109b33 /httemplate
parente46f0ef0da8d0f639bacb293bfdf820e2a68b480 (diff)
RT# 78356 - updated documentation and added ability to create access points as Saisei thru api
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/process/tower.html2
-rw-r--r--httemplate/edit/tower.html6
-rw-r--r--httemplate/elements/tr-tower_sectors.html16
3 files changed, 21 insertions, 3 deletions
diff --git a/httemplate/edit/process/tower.html b/httemplate/edit/process/tower.html
index cfbb4ffa3..f870d1237 100644
--- a/httemplate/edit/process/tower.html
+++ b/httemplate/edit/process/tower.html
@@ -6,7 +6,7 @@
sectorname ip_addr height freq_mhz direction width
downtilt v_width db_high db_low power line_loss
antenna_gain hardware_typenum
- sector_range
+ sector_range up_rate down_rate
)],
},
&>
diff --git a/httemplate/edit/tower.html b/httemplate/edit/tower.html
index 946a1405e..14f2dfa18 100644
--- a/httemplate/edit/tower.html
+++ b/httemplate/edit/tower.html
@@ -13,6 +13,8 @@
'altitude',
'height',
'veg_height',
+ 'up_rate',
+ 'down_rate',
# { field => 'sectornum',
# type => 'tower_sector',
# o2m_table => 'tower_sector',
@@ -35,6 +37,8 @@
'height' => 'Tower height (feet)',
'veg_height' => 'Vegetation height (feet)',
'color' => 'Color',
+ 'up_rate' => 'Up Rate (Kbps)',
+ 'down_rate' => 'Down Rate (Kbps)',
},
&>
<%init>
@@ -43,7 +47,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 db_high db_low sector_range
+ sectorname ip_addr height freq_mhz direction width tilt v_width db_high db_low sector_range up_rate down_rate
);
map {
diff --git a/httemplate/elements/tr-tower_sectors.html b/httemplate/elements/tr-tower_sectors.html
index 106fc76f6..6843f4fdc 100644
--- a/httemplate/elements/tr-tower_sectors.html
+++ b/httemplate/elements/tr-tower_sectors.html
@@ -17,7 +17,7 @@ my $tabcounter = 0;
my @fields = qw(
sectorname ip_addr height freq_mhz direction width downtilt v_width
db_high db_low sector_range
- power line_loss antenna_gain hardware_typenum
+ power line_loss antenna_gain hardware_typenum up_rate down_rate
);
my @sectors;
@@ -291,6 +291,20 @@ $(function() {
value="<% $sector->db_low |h %>">
<% emt('dB (low quality)') %>
</div>
+ <p>
+ <label><% emt('Up Rate (Kbps)') %></label>
+ <input style="text-align: left"
+ id="<% $id %>_up_rate"
+ name="<% $id %>_up_rate"
+ value="<% $sector->up_rate |h %>">
+ </p>
+ <p>
+ <label><% emt('Down Rate (Kbps)') %></label>
+ <input style="text-align: left"
+ id="<% $id %>_down_rate"
+ name="<% $id %>_down_rate"
+ value="<% $sector->down_rate |h %>">
+ </p>
</div>
</%def>