-> group @config rules to top
--> what do we do with working schedule
-> browser compatibility test
-> hint text next to section titles
+-> clickable hints
-> authentication
+-> better ajax error handling
-> proxy for slave motioneyes
-> add a view log functionality
-> click to zoom on cameras
}
div.apply-button.progress {
- background-color: #FF9340;
+ background-color: #FF6F00;
+}
+
+img.apply-progress {
+ margin-top: 3px;
}
div.settings-top-bar.open select.video-device {
data: data,
cache: false,
success: callback,
- failure: function (request, options, error) {
+ error: function (request, options, error) {
alert('Request failed with code: ' + request.status);
if (callback) {
callback();
return; /* progress already visible */
}
- applyButton.html('<img src="' + staticUrl + 'img/progress.gif">');
+ applyButton.html('<img class="apply-progress" src="' + staticUrl + 'img/progress.gif">');
applyButton.css('display', 'inline-block');
applyButton.animate({'opacity': '1'}, 100);
applyButton.addClass('progress');
finishedCount++;
testReady();
});
+
+ /* update the camera name in the device select */
+ if (config.key !== 'main') {
+ $('#videoDeviceSelect').find('option[value=' + config.key + ']').html(config.config.name);
+ }
}
pushConfigs = {};