summaryrefslogtreecommitdiff
path: root/httemplate/browse
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-03-10 01:20:21 -0800
committerMark Wells <mark@freeside.biz>2016-03-10 01:23:34 -0800
commit733afa09f60a32088277bf743ac29d9caa1c7c78 (patch)
treeae1ee6b8c1c997207f54aa01b5919bad0a526fef /httemplate/browse
parent2829b0c807bd4093f49e5d76cc1c112a868afcb6 (diff)
add svc_fiber circuit id field, OLT sites, and other improvements, #35260
Diffstat (limited to 'httemplate/browse')
-rw-r--r--httemplate/browse/fiber_olt.html6
-rw-r--r--httemplate/browse/olt_site.html12
2 files changed, 15 insertions, 3 deletions
diff --git a/httemplate/browse/fiber_olt.html b/httemplate/browse/fiber_olt.html
index bffd5f222..2355ec023 100644
--- a/httemplate/browse/fiber_olt.html
+++ b/httemplate/browse/fiber_olt.html
@@ -1,11 +1,11 @@
<& elements/browse-simple.html,
'table' => 'fiber_olt',
'title' => 'Fiber service OLTs',
- 'menubar' => [ ],
+ 'menubar' => [ 'View sites' => 'olt_site.html' ],
'name_singular' => 'OLT',
'acl' => 'Configuration',
# overrides
'disabled_statuspos' => 3,
- 'header' => [ '#', 'Name', 'Serial' ],
- 'fields' => [ 'oltnum', 'oltname', 'serial' ],
+ 'header' => [ '#', 'Site', 'Name', 'Serial' ],
+ 'fields' => [ 'oltnum', 'site_description', 'oltname', 'serial' ],
&>
diff --git a/httemplate/browse/olt_site.html b/httemplate/browse/olt_site.html
new file mode 100644
index 000000000..ea2e7de1f
--- /dev/null
+++ b/httemplate/browse/olt_site.html
@@ -0,0 +1,12 @@
+<& elements/browse-simple.html,
+ 'table' => 'olt_site',
+ 'title' => 'Fiber OLT markets and sites',
+ 'menubar' => [ 'View OLTs' => 'fiber_olt.html' ],
+ 'name_singular' => 'site',
+ 'acl' => 'Configuration',
+# overrides
+ 'disabled_statuspos' => '',
+ 'disableable' => 0,
+ 'header' => [ '#', 'Market', 'Site', ],
+ 'fields' => [ 'sitenum', 'market', 'site', ],
+&>