summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr-viz/root/usr/share
diff options
context:
space:
mode:
authorAyushman Tripathi <ayushmantripathi7724@gmail.com>2023-07-13 11:49:43 +0530
committerAyushman Tripathi <ayushmantripathi7724@gmail.com>2023-07-27 20:12:25 +0530
commit00cfca13b5cd01ee86194e3f859b81e1db475b8a (patch)
treee6c6631e21a4bb69be3c4ae7f15d9eb36579c0cc /applications/luci-app-olsr-viz/root/usr/share
parentff166c6a0695cff203b818bf51e19200698b1ba3 (diff)
luci-app-olsr-viz: migrate to js
Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js fix tag Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js fix var name Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js use load for script & fix bugs Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js fix script Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js fix bugs Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js fix view Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js fix script Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js fix view luci-app-olsr-viz: migrate to js luci-app-olsr-viz: migrate to js fix script Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-olsr-viz: migrate to js
Diffstat (limited to 'applications/luci-app-olsr-viz/root/usr/share')
-rw-r--r--applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json12
-rw-r--r--applications/luci-app-olsr-viz/root/usr/share/rpcd/acl.d/luci-app-olsr-viz-unauthenticated.json12
2 files changed, 19 insertions, 5 deletions
diff --git a/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json b/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json
index 02cfd6b646..ad6393b4ac 100644
--- a/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json
+++ b/applications/luci-app-olsr-viz/root/usr/share/luci/menu.d/luci-app-olsr-viz.json
@@ -1,10 +1,12 @@
{
- "admin/status/olsr/olsr-viz": {
- "title": "OLSR-Viz",
- "order": 90,
+
+ "olsr/olsr-viz": {
+ "title": "OLSR Visualization",
+ "order": 100,
"action": {
- "type": "template",
- "path": "olsr-viz/olsr-viz"
+ "type": "view",
+ "path": "olsr-viz/olsr-viz-view"
}
}
+
}
diff --git a/applications/luci-app-olsr-viz/root/usr/share/rpcd/acl.d/luci-app-olsr-viz-unauthenticated.json b/applications/luci-app-olsr-viz/root/usr/share/rpcd/acl.d/luci-app-olsr-viz-unauthenticated.json
new file mode 100644
index 0000000000..7238fd9053
--- /dev/null
+++ b/applications/luci-app-olsr-viz/root/usr/share/rpcd/acl.d/luci-app-olsr-viz-unauthenticated.json
@@ -0,0 +1,12 @@
+{
+ "unauthenticated": {
+ "description": "Grant read access for luci-app-olsr-viz",
+ "read": {
+ "ubus": {
+ "olsrvizinfo": [
+ "getolsrvizdata"
+ ]
+ }
+ }
+ }
+}