mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-07-03 23:10:22 +00:00
include jquery-3.3.1.min.js
This commit is contained in:
parent
239710aff0
commit
968a4a6d5d
11
Makefile
11
Makefile
@ -25,6 +25,9 @@ BTDATA = \
|
|||||||
${BTDIR}/js/bootstrap.min.js \
|
${BTDIR}/js/bootstrap.min.js \
|
||||||
${BTDIR}/fonts/glyphicons-halflings-regular.ttf
|
${BTDIR}/fonts/glyphicons-halflings-regular.ttf
|
||||||
|
|
||||||
|
JQVER=3.3.1
|
||||||
|
JQSRC=jquery-${JQVER}.min.js
|
||||||
|
|
||||||
all: ${DEB}
|
all: ${DEB}
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
@ -40,6 +43,11 @@ download_bootstrap:
|
|||||||
wget https://github.com/twbs/bootstrap/releases/download/v${BTVER}/${BTSRC} -O ${BTSRC}.tmp
|
wget https://github.com/twbs/bootstrap/releases/download/v${BTVER}/${BTSRC} -O ${BTSRC}.tmp
|
||||||
mv ${BTSRC}.tmp ${BTSRC}
|
mv ${BTSRC}.tmp ${BTSRC}
|
||||||
|
|
||||||
|
download_jquery:
|
||||||
|
rm -f ${JQSRC} ${JQSRC}.tmp
|
||||||
|
wget https://code.jquery.com/jquery-3.1.1.min.js -O ${JQSRC}.tmp
|
||||||
|
mv ${JQSRC}.tmp ${JQSRC}
|
||||||
|
|
||||||
${BTDATA}: ${BTSRC}
|
${BTDATA}: ${BTSRC}
|
||||||
rm -rf ${BTDIR}
|
rm -rf ${BTDIR}
|
||||||
unzip -x ${BTSRC}
|
unzip -x ${BTSRC}
|
||||||
@ -53,13 +61,14 @@ install: ${BTDATA}
|
|||||||
install -m 0644 PVE/APIServer/Formatter/Standard.pm ${PERL5DIR}/PVE/APIServer/Formatter
|
install -m 0644 PVE/APIServer/Formatter/Standard.pm ${PERL5DIR}/PVE/APIServer/Formatter
|
||||||
install -m 0644 PVE/APIServer/Formatter/Bootstrap.pm ${PERL5DIR}/PVE/APIServer/Formatter
|
install -m 0644 PVE/APIServer/Formatter/Bootstrap.pm ${PERL5DIR}/PVE/APIServer/Formatter
|
||||||
install -m 0644 PVE/APIServer/Formatter/HTML.pm ${PERL5DIR}/PVE/APIServer/Formatter
|
install -m 0644 PVE/APIServer/Formatter/HTML.pm ${PERL5DIR}/PVE/APIServer/Formatter
|
||||||
# install bootstrap
|
# install bootstrap and jquery
|
||||||
install -d -m 755 ${WWWBASEDIR}
|
install -d -m 755 ${WWWBASEDIR}
|
||||||
install -d -m 755 ${WWWCSSDIR}
|
install -d -m 755 ${WWWCSSDIR}
|
||||||
install -m 0644 -o www-data -g www-data ${BTDIR}/css/bootstrap.min.css ${WWWCSSDIR}
|
install -m 0644 -o www-data -g www-data ${BTDIR}/css/bootstrap.min.css ${WWWCSSDIR}
|
||||||
install -m 0644 -o www-data -g www-data ${BTDIR}/css/bootstrap-theme.min.css ${WWWCSSDIR}
|
install -m 0644 -o www-data -g www-data ${BTDIR}/css/bootstrap-theme.min.css ${WWWCSSDIR}
|
||||||
install -d -m 755 ${WWWJSDIR}
|
install -d -m 755 ${WWWJSDIR}
|
||||||
install -m 0644 -o www-data -g www-data ${BTDIR}/js/bootstrap.min.js ${WWWJSDIR}
|
install -m 0644 -o www-data -g www-data ${BTDIR}/js/bootstrap.min.js ${WWWJSDIR}
|
||||||
|
install -m 0644 -o www-data -g www-data ${JQSRC} ${WWWJSDIR}
|
||||||
install -d -m 755 ${WWWFONTSDIR}
|
install -d -m 755 ${WWWFONTSDIR}
|
||||||
install -m 0644 ${BTDIR}/fonts/glyphicons-halflings-regular.ttf ${WWWFONTSDIR}
|
install -m 0644 ${BTDIR}/fonts/glyphicons-halflings-regular.ttf ${WWWFONTSDIR}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ body {
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
<script src="/js/jquery-3.3.1.min.js"></script>
|
||||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||||
<script src="/js/bootstrap.min.js"></script>
|
<script src="/js/bootstrap.min.js"></script>
|
||||||
|
|
||||||
|
4
jquery-3.3.1.min.js
vendored
Normal file
4
jquery-3.3.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user