summaryrefslogtreecommitdiff
path: root/httemplate/search/sector.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-04-22 11:58:19 -0700
committerMark Wells <mark@freeside.biz>2016-04-26 12:10:51 -0700
commitbc34518143fe485eec412e709271e681a1e41aac (patch)
tree1099d91cd6f2c073158e9a4aa8466de75dcba4f9 /httemplate/search/sector.html
parente1215a3e22ce14f9a73b15c6ed24fdce11f928a9 (diff)
UI to show sector coverage maps, #37802
Diffstat (limited to 'httemplate/search/sector.html')
-rw-r--r--httemplate/search/sector.html27
1 files changed, 23 insertions, 4 deletions
diff --git a/httemplate/search/sector.html b/httemplate/search/sector.html
index d03963237..037df10ea 100644
--- a/httemplate/search/sector.html
+++ b/httemplate/search/sector.html
@@ -11,8 +11,24 @@
font-weight: bold;
color: green;
}
+ .grid th {
+ padding-left: 3px;
+ padding-right: 3px;
+ padding-bottom: 2px;
+ border: none;
+ empty-cells: show;
+ font-size:90%;
+ border-bottom: 1px solid #999999;
+ }
+ .grid td {
+ padding-left: 3px;
+ padding-right: 3px;
+ padding-bottom: 2px;
+ border: none;
+ empty-cells: show;
+ }
</style>
-<table class="grid">
+<table class="grid" style="border-spacing: 0px">
<thead>
<tr>
<th>Tower / sector</th>
@@ -20,9 +36,10 @@
</tr>
</thead>
<tbody>
+% my $row = 0;
% foreach my $sector (@sectors) {
% my $sectornum = $sector->sectornum;
- <tr>
+ <tr class="row<% $row % 2 %>">
<td>
<a href="<% $fsurl %>edit/tower.html?<% $sector->towernum |h %>">
<% $sector->description |h %>
@@ -47,7 +64,8 @@
'create_'.$sectornum,
[ 'sectornum' ],
$fsurl.'misc/sector-create_map.html',
- { 'message' => 'Map generated' },
+ { 'message' => 'Map generated',
+ 'url' => $cgi->self_url },
"sector$sectornum"
&>
<a class="createmap" href="#" onclick="sector<% $sectornum %>process()">
@@ -58,11 +76,12 @@
<td>
% if ( length($sector->image) > 0 ) {
<a class="viewmap" href="<% $fsurl %>search/svc_broadband-map.html?sectornum=<% $sectornum %>">
- View map
+ View map&mdash;<% $sector->margin %>dB margin
</a>
% }
</td>
</tr>
+% $row++;
% } # foreach $sector
</tbody>
</table>