From 483e5d2cb7cb2584975f845f3cf492efd9b97ef5 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 5 Oct 2013 18:06:41 +0300 Subject: [PATCH] rpi specific options are now hidden --- doc/todo.txt | 2 +- static/css/main.css | 5 +++++ static/js/main.js | 2 +- templates/main.html | 14 +++++++------- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/doc/todo.txt b/doc/todo.txt index 7c4343b..e243170 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -1,7 +1,6 @@ -> make camera frames positions configurable -> hide horrible 404 image on cameras -> prevent Request closed errors by stopping mjpg clients before stopping motion --> network server storage should only be enabled on special devices (rpi) -> camera not available background and icon design -> remove current snapshot GET logs -> add a motion running status indicator (and maybe a start/stop button) @@ -22,3 +21,4 @@ -> add a motioneye.svg icon -> other todos -> add a messaging mechanism +-> add other options applicable only to special devices (rpi): wifi settings, notifications \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index 740e641..126be74 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -286,6 +286,11 @@ input[type=text].working-schedule.number { width: 50px; } +div.rpi, +tr.rpi { + display: none; +} + /* dialogs */ diff --git a/static/js/main.js b/static/js/main.js index d1e6416..bea6c3d 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -302,7 +302,7 @@ function isSettingsOpen() { } function updateConfigUi() { - var objs = $('tr.settings-item, div.advanced-setting, table.advanced-setting, div.settings-section-title, table.settings'); + var objs = $('tr.settings-item, div.advanced-setting, table.advanced-setting, div.settings-section-title, table.settings').not('.rpi'); function markHide() { this._hide = true; diff --git a/templates/main.html b/templates/main.html index 01d24f9..21e7f56 100644 --- a/templates/main.html +++ b/templates/main.html @@ -137,7 +137,7 @@
File Storage
- + - + - + - + - + @@ -346,9 +346,9 @@
Storage Device ?
Network Server ?
Share Name ?
Share Username ?
Share Password ?
-
Motion Notifications
+
Motion Notifications
- + -- 2.39.5
Email Addresses ?