summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ttyd/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ttyd/root/usr')
-rw-r--r--applications/luci-app-ttyd/root/usr/share/luci/menu.d/luci-app-ttyd.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/applications/luci-app-ttyd/root/usr/share/luci/menu.d/luci-app-ttyd.json b/applications/luci-app-ttyd/root/usr/share/luci/menu.d/luci-app-ttyd.json
new file mode 100644
index 0000000000..cc8b3f1462
--- /dev/null
+++ b/applications/luci-app-ttyd/root/usr/share/luci/menu.d/luci-app-ttyd.json
@@ -0,0 +1,29 @@
+{
+ "admin/services/ttyd": {
+ "title": "ttyd",
+ "action": {
+ "type": "firstchild"
+ },
+ "depends": {
+ "uci": { "ttyd": true }
+ }
+ },
+
+ "admin/services/ttyd/ttyd": {
+ "title": "Terminal",
+ "order": 1,
+ "action": {
+ "type": "view",
+ "path": "ttyd/term"
+ }
+ },
+
+ "admin/services/ttyd/config": {
+ "title": "Config",
+ "order": 2,
+ "action": {
+ "type": "view",
+ "path": "ttyd/config"
+ }
+ }
+}