ntopng/httpdocs/js/Makefile
Gabriele Pappalardo 9ae15b7cf0 Sidebar (#3331)
* add sidebar, edit menu, footer pages

* fixed sidebar, responsive sidebar

* fxed effects

* dark sidebar mode, gui fixes for sidebar

* toggle theme button and add padding to menu

* fixed padding too large

* bug fixing

* navbar fixed on top

* sidebar fixing

* sidebar fixes

* add more space for menus

* fix improving

* sidebar fixes for responsive

* sidebar improving

* fix for mac os

* responsive fix

* fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes for responsive

* sidebar fixes

* sidebar.js inside makefile

* fixed padding

* fixes

* fixed sidebar scrollbar for firefox, add a little animation for the "n" inside the logo

* removed long_lived

* fixed color for bottom border

* removed bottom border when sidebar is open
2020-01-28 14:57:04 +01:00

38 lines
1.3 KiB
Makefile

JQUERY_BOOTSTRAP_MIN_JS=jquery_bootstrap.min.js
JQUERY_BOOTSTRAP_MIN_JS_SRC=jquery.js jquery-ui.js \
bootstrap-datatable.js bootstrap3-typeahead.js\
d3.v3.js jquery.peity.js sidebar.js bootstrap-slider.js datatables_sprymedia.min.js
DEP_MIN_JS=deps.min.js
DEP_MIN_JS_SRC=ie_fix.js rickshaw.js pie-chart.js gauge.js \
crossfilter.js validator.js validator.js \
dc.js cal-heatmap.js nv.d3.js jquery.are-you-sure.js \
moment.js ASAP.js binary-indicators.js
NTOP_MIN_JS=ntop.min.js
NTOP_MIN_JS_SRC=datatable_utils.js ays_utils.js ntopng_utils.js graph_utils.js \
ebpf_utils.js ntopng_validators.js plugin-script-datatable.js
minify: $(JQUERY_BOOTSTRAP_MIN_JS) $(DEP_MIN_JS) $(NTOP_MIN_JS)
UGLIFY_OPTIONS_V2=--source-map $@.map
UGLIFY_OPTIONS_V3=--source-map url=$@.map
ifeq ($(UGLIFY_VERSION),3)
UGLIFY_OPTIONS=$(UGLIFY_OPTIONS_V3)
else
UGLIFY_OPTIONS=$(UGLIFY_OPTIONS_V2)
endif
$(JQUERY_BOOTSTRAP_MIN_JS): $(JQUERY_BOOTSTRAP_MIN_JS_SRC) Makefile
uglifyjs -o $@ $(UGLIFY_OPTIONS) -- $(JQUERY_BOOTSTRAP_MIN_JS_SRC)
$(DEP_MIN_JS): $(DEP_MIN_JS_SRC) Makefile
uglifyjs -o $@ $(UGLIFY_OPTIONS) -- $(DEP_MIN_JS_SRC)
$(NTOP_MIN_JS): $(NTOP_MIN_JS_SRC) Makefile
uglifyjs -o $@ $(UGLIFY_OPTIONS) -- $(NTOP_MIN_JS_SRC)
clean:
rm -f $(JQUERY_BOOTSTRAP_MIN_JS) $(DEP_MIN_JS) $(NTOP_MIN_JS) *.map