Settings can now be taken from separate file with local override.

* Various settings in settings-nvr.js module
* settings-nvr-local.js can override settings-nvr.js
* settings-nvr-local is unchecked file
* Both files can be straight maps, or functions returning maps
* webpack env and args available to those functions
This commit is contained in:
Dolf Starreveld
2018-03-07 13:09:43 -08:00
parent 678fb54b21
commit 5727adf3df
12 changed files with 792 additions and 84 deletions

View File

@@ -2,16 +2,14 @@
<!-- vim: set et: -->
<html lang="en">
<head>
<title>moonfire ui</title>
<script src="bundle.js"></script>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title><%= htmlWebpackPlugin.options.title %></title>
<style type="text/css">
#nav {
position: fixed;
left: 0px;
top: 0px;
float: left;
width: 17em;
}
.ui-datepicker { width: 100%; }
#nav .ui-datepicker { width: 100%; }
#videos {
margin-left: 18em;