mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
package: add jQuery sparkline plugin
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
50e00c3b6d
commit
645ff758fe
@ -324,6 +324,7 @@ endif
|
|||||||
|
|
||||||
menu "Javascript"
|
menu "Javascript"
|
||||||
source "package/jquery/Config.in"
|
source "package/jquery/Config.in"
|
||||||
|
source "package/jquery-sparkline/Config.in"
|
||||||
source "package/jquery-validation/Config.in"
|
source "package/jquery-validation/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
13
package/jquery-sparkline/Config.in
Normal file
13
package/jquery-sparkline/Config.in
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
config BR2_PACKAGE_JQUERY_SPARKLINE
|
||||||
|
bool "jQuery-Sparkline"
|
||||||
|
select BR2_PACKAGE_JQUERY
|
||||||
|
help
|
||||||
|
This jQuery plugin generates sparklines (small inline
|
||||||
|
charts) directly in the browser using data supplied either
|
||||||
|
inline in the HTML, or via javascript.
|
||||||
|
|
||||||
|
The plugin is compatible with most modern browsers and has
|
||||||
|
been tested with Firefox 2+, Safari 3+, Opera 9, Google
|
||||||
|
Chrome and Internet Explorer 6, 7 & 8.
|
||||||
|
|
||||||
|
http://www.omnipotent.net/jquery.sparkline/
|
18
package/jquery-sparkline/jquery-sparkline.mk
Normal file
18
package/jquery-sparkline/jquery-sparkline.mk
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
JQUERY_SPARKLINE_VERSION = 1.6
|
||||||
|
JQUERY_SPARKLINE_SITE = http://www.omnipotent.net/jquery.sparkline/$(JQUERY_SPARKLINE_VERSION)
|
||||||
|
JQUERY_SPARKLINE_SOURCE = jquery.sparkline.min.js
|
||||||
|
|
||||||
|
define JQUERY_SPARKLINE_EXTRACT_CMDS
|
||||||
|
cp $(DL_DIR)/$(JQUERY_SPARKLINE_SOURCE) $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define JQUERY_SPARKLINE_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -D $(@D)/$(JQUERY_SPARKLINE_SOURCE) \
|
||||||
|
$(TARGET_DIR)/var/www/jquery.sparkline.js
|
||||||
|
endef
|
||||||
|
|
||||||
|
define JQUERY_SPARKLINE_UNINSTALL_TARGET_CMDS
|
||||||
|
rm -f $(TARGET_DIR)/var/www/jquery.sparkline.js
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS))
|
Loading…
x
Reference in New Issue
Block a user