Commit 33a7c6a2 authored by Chris Molozian's avatar Chris Molozian
Browse files

Rework embedded dashboard. (#58)

parent 19156e4b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p
- Improve user email storage and comparison.
- Allow group batch fetch by both ID and name.
- Increase heartbeat server time precision.
- Rework the embedded dashboard.

### Fixed
- Fix Facebook unlink operation.
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ run: $(BINNAME)
.PHONY: dashboard
dashboard: build/generated/dashboard/embedded.go

build/generated/dashboard/embedded.go: $(shell find dashboard/src dashboard/static -type f) dashboard/index.html
build/generated/dashboard/embedded.go: $(shell find dashboard/src -type f) dashboard/index.html
	cd dashboard; npm run build
	${GOBINDATA} -pkg dashboard -prefix dashboard/dist -o ${BUILDDIR}/generated/dashboard/embedded.go dashboard/dist/...

dashboard/.babelrc

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
{
  "presets": ["es2015", "stage-2"],
  "plugins": ["transform-runtime"],
  "comments": false
}

dashboard/.editorconfig

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

dashboard/.eslintignore

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
build/*.js
config/*.js
Loading