mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-21 05:24:38 -05:00
Update frontend dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a88b1e7a59
commit
37a933907f
21
Makefile
21
Makefile
@ -1,9 +1,10 @@
|
|||||||
VER_BOOTSTRAP=4.0.0
|
VER_BOOTSTRAP=4.3.1
|
||||||
VER_BOOTSWATCH=4.1.1
|
VER_BOOTSWATCH=4.3.1
|
||||||
VER_FONTAWESOME=5.0.12
|
VER_FONTAWESOME=5.8.2
|
||||||
VER_GIBBERISH_AES=1.0.0
|
VER_GIBBERISH_AES=1.0.0
|
||||||
VER_JQUERY=3.3.1
|
VER_JQUERY=3.4.1
|
||||||
VER_POPPER=1.14.1
|
VER_POPPER=1.15.0
|
||||||
|
VER_VUE=2.6.10
|
||||||
|
|
||||||
|
|
||||||
default: generate
|
default: generate
|
||||||
@ -29,16 +30,12 @@ download_libs: clean_libs fontawesome libs_js libs_css
|
|||||||
|
|
||||||
fontawesome:
|
fontawesome:
|
||||||
curl -sSfL https://github.com/FortAwesome/Font-Awesome/archive/$(VER_FONTAWESOME).tar.gz | \
|
curl -sSfL https://github.com/FortAwesome/Font-Awesome/archive/$(VER_FONTAWESOME).tar.gz | \
|
||||||
tar -C frontend -xz --strip-components=2 --wildcards '*/web-fonts-with-css/css' '*/web-fonts-with-css/webfonts'
|
tar -vC frontend -xz --strip-components=1 --wildcards --exclude='*/js-packages' '*/css' '*/webfonts'
|
||||||
|
|
||||||
libs_css:
|
libs_css:
|
||||||
mkdir -p frontend/css
|
mkdir -p frontend/css
|
||||||
curl -sSfLo frontend/css/bootstrap.min.css "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/$(VER_BOOTSTRAP)/css/bootstrap.min.css"
|
curl -sSfLo frontend/css/bundle.css "https://cdn.jsdelivr.net/combine/npm/bootstrap@$(VER_BOOTSTRAP)/dist/css/bootstrap.min.css,npm/bootswatch@$(VER_BOOTSWATCH)/dist/flatly/bootstrap.min.css"
|
||||||
curl -sSfLo frontend/css/bootswatch.min.css "https://cdnjs.cloudflare.com/ajax/libs/bootswatch/$(VER_BOOTSWATCH)/flatly/bootstrap.min.css"
|
|
||||||
|
|
||||||
libs_js:
|
libs_js:
|
||||||
mkdir -p frontend/js
|
mkdir -p frontend/js
|
||||||
curl -sSfLo frontend/js/jquery.min.js "https://cdnjs.cloudflare.com/ajax/libs/jquery/$(VER_JQUERY)/jquery.min.js"
|
curl -sSfLo frontend/js/bundle.js "https://cdn.jsdelivr.net/combine/npm/jquery@$(VER_JQUERY),npm/popper.js@$(VER_POPPER),npm/bootstrap@$(VER_BOOTSTRAP)/dist/js/bootstrap.min.js,npm/gibberish-aes@$(VER_GIBBERISH_AES)/dist/gibberish-aes-$(VER_GIBBERISH_AES).min.js,npm/vue@$(VER_VUE)"
|
||||||
curl -sSfLo frontend/js/bootstrap.min.js "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/$(VER_BOOTSTRAP)/js/bootstrap.min.js"
|
|
||||||
curl -sSfLo frontend/js/popper.min.js "https://cdnjs.cloudflare.com/ajax/libs/popper.js/$(VER_POPPER)/popper.min.js"
|
|
||||||
curl -sSfLo frontend/js/gibberish-aes.min.js "https://cdnjs.cloudflare.com/ajax/libs/gibberish-aes/$(VER_GIBBERISH_AES)/gibberish-aes.min.js"
|
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/bootstrap.min.css" integrity="{{SRIHash `/css/bootstrap.min.css`}}" />
|
<link rel="stylesheet" href="/css/bundle.css" integrity="{{SRIHash `/css/bundle.css`}}" />
|
||||||
<link rel="stylesheet" href="/css/bootswatch.min.css" integrity="{{SRIHash `/css/bootswatch.min.css`}}" />
|
<link rel="stylesheet" href="/css/all.min.css" integrity="{{SRIHash `/css/all.min.css`}}" />
|
||||||
<link rel="stylesheet" href="/css/fontawesome-all.min.css" integrity="{{SRIHash `/css/fontawesome-all.min.css`}}" />
|
|
||||||
|
|
||||||
<title>OTS - One Time Secrets</title>
|
<title>OTS - One Time Secrets</title>
|
||||||
|
|
||||||
@ -123,10 +122,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/js/jquery.min.js" integrity="{{SRIHash `/js/jquery.min.js`}}"></script>
|
<script src="/js/bundle.js" integrity="{{SRIHash `/js/bundle.js`}}"></script>
|
||||||
<script src="/js/popper.min.js" integrity="{{SRIHash `/js/popper.min.js`}}"></script>
|
|
||||||
<script src="/js/bootstrap.min.js" integrity="{{SRIHash `/js/bootstrap.min.js`}}"></script>
|
|
||||||
<script src="/js/gibberish-aes.min.js" integrity="{{SRIHash `/js/gibberish-aes.min.js`}}"></script>
|
|
||||||
<script src="app.js" integrity="{{SRIHash `app.js`}}"></script>
|
<script src="app.js" integrity="{{SRIHash `app.js`}}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -41,4 +41,4 @@
|
|||||||
"title-secret-created": {
|
"title-secret-created": {
|
||||||
"other": "Secret erstellt!"
|
"other": "Secret erstellt!"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -41,4 +41,4 @@
|
|||||||
"title-secret-created": {
|
"title-secret-created": {
|
||||||
"other": "Secret created!"
|
"other": "Secret created!"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user