diff --git a/.gitignore b/.gitignore index 8b13789..40b878d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ - +node_modules/ \ No newline at end of file diff --git a/config/config.json b/config/config.json new file mode 100644 index 0000000..ad497e0 --- /dev/null +++ b/config/config.json @@ -0,0 +1,5 @@ +{ + "apMode": 0, + "SSID": "", + "Password": "" +} \ No newline at end of file diff --git a/data/favicon-16x16.png b/data/favicon-16x16.png new file mode 100644 index 0000000..806956c Binary files /dev/null and b/data/favicon-16x16.png differ diff --git a/data/favicon-32x32.png b/data/favicon-32x32.png new file mode 100644 index 0000000..0e5d4f6 Binary files /dev/null and b/data/favicon-32x32.png differ diff --git a/data/favicon-96x96.png b/data/favicon-96x96.png new file mode 100644 index 0000000..f4bffd8 Binary files /dev/null and b/data/favicon-96x96.png differ diff --git a/data/favicon.ico b/data/favicon.ico index 71b25fe..4b46de8 100644 Binary files a/data/favicon.ico and b/data/favicon.ico differ diff --git a/data/index.html b/data/index.html index 0b28721..5541332 100644 --- a/data/index.html +++ b/data/index.html @@ -3,7 +3,11 @@ Esp8266 laserspiro controller - + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Laserspiro controller + + +
+ +
+ some tests: + +
+
+ last uri: +
+ last respone: +
+
+
+
+
+
+ + \ No newline at end of file diff --git a/data/style.css b/frontend/styles/main.less similarity index 98% rename from data/style.css rename to frontend/styles/main.less index 9d6417f..1fcd08c 100644 --- a/data/style.css +++ b/frontend/styles/main.less @@ -9,9 +9,6 @@ body { margin: 5px 3px 3px 12px; } - -@import "compass/css3"; - text#titleGlitch { fill: #006666; font-weight: bold; diff --git a/package.json b/package.json new file mode 100644 index 0000000..fba1e33 --- /dev/null +++ b/package.json @@ -0,0 +1,35 @@ +{ + "name": "esp8266-laser", + "version": "1.0.0", + "description": "Wifi Host for the Arduino-Laser-Spirograph", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "clear": "rm -rf data/*", + "cp:config": "cp config/* data/", + "build:css": "lessc frontend/styles/main.less data/styles.css", + "build:html": "cp -r frontend/pages/* data/", + "build": "npm run build:css && npm run build:html", + "watch:html": "nodemon -q -w frontend/pages/ --ext \".\" --exec \"npm run build:html\"", + "watch:css": "nodemon -q -w frontend/styles --ext \".\" --exec \"npm run build:css\"", + "watch:config": "nodemon -q -w config --ext \".\" --exec \"npm run cp:config\"", + "watch:livereload": "cd data && live-server", + "dev": "npm run clear && npm run build && npm-run-all --parallel watch:*" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/0x1d/esp8266-laser.git" + }, + "author": "", + "license": "SEE LICENSE FILE", + "bugs": { + "url": "https://github.com/0x1d/esp8266-laser/issues" + }, + "homepage": "https://github.com/0x1d/esp8266-laser#readme", + "devDependencies": { + "less": "^3.0.0-alpha.3", + "live-server": "^1.2.0", + "nodemon": "^1.12.1", + "npm-run-all": "^4.1.1" + } +}