diff --git a/.gitignore b/.gitignore index 27f429479..d35ddc5f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ debug.log pkg node_modules/ +build diff --git a/build.sh b/build.sh new file mode 100755 index 000000000..9158f34ca --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +mkdir build 2> /dev/null +browserify js/menu.jsx > build/menu.js +browserify js/initialize.jsx > build/initialize.js diff --git a/wizard/css/wizard.css b/css/common.css similarity index 61% rename from wizard/css/wizard.css rename to css/common.css index 4e5a6c584..9d775005f 100644 --- a/wizard/css/wizard.css +++ b/css/common.css @@ -10,6 +10,10 @@ height: 50; } +#error_row { + display: none; +} + #header h3 { color: white; margin-top: 15px; @@ -23,4 +27,21 @@ h3 { .panel-heading { text-transform: uppercase; font-weight: bold; +} + +label { + padding-top: 8px; +} + +.nomargin { + margin: 0; +} + +.top-buffer { + margin-top: 10px; +} + +.loaderanimation { + margin-right: 10px; + margin-top: 2px; } \ No newline at end of file diff --git a/css/menu.css b/css/menu.css new file mode 100644 index 000000000..9cfb2ac35 --- /dev/null +++ b/css/menu.css @@ -0,0 +1,53 @@ +html { + width: 240px; + overflow: hidden; +} + +.padding { + padding: 8px; +} + +.status { + text-align: right; +} + +.value { + text-align: right; +} + +.panel { + padding: 4px; + margin-top: 10px; + margin-bottom: 0; +} + +#logo { + display: table; + width: 100%; +} + +.control { + display: block; + margin-top: 6px; +} + +.toggle { + height: 32px !important; + width: 64px !important; +} + +.cell { + width: 33%; + display: table-cell; + text-align: center; + padding-bottom: 6px; +} + +.version { + text-align: center; + margin-bottom: 4px; +} + +.nomarginbottom { + margin-bottom: 0; +} \ No newline at end of file diff --git a/html/help.html b/html/help.html new file mode 100644 index 000000000..36228c1a2 --- /dev/null +++ b/html/help.html @@ -0,0 +1,30 @@ + + + IPFS Setup + + + + + + +
+
+
+
+
+ Error +
+
+
+
+
+
+ + + diff --git a/html/initialize.html b/html/initialize.html new file mode 100644 index 000000000..7114b947d --- /dev/null +++ b/html/initialize.html @@ -0,0 +1,20 @@ + + + IPFS Setup + + + + + + + +
+
+ + diff --git a/html/menu.html b/html/menu.html new file mode 100644 index 000000000..f5568b9d4 --- /dev/null +++ b/html/menu.html @@ -0,0 +1,13 @@ + + + + Example App + + + + + + +