mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:30:01 +00:00
Switch to CDN for bootstrap-select and font-awesome css
Remove superfluous static files
This commit is contained in:
parent
35f6c8b202
commit
375dcf15ef
BIN
nyaa/static/css/bootstrap-select.min.css
vendored
BIN
nyaa/static/css/bootstrap-select.min.css
vendored
Binary file not shown.
BIN
nyaa/static/css/bootstrap-theme.min.css
vendored
BIN
nyaa/static/css/bootstrap-theme.min.css
vendored
Binary file not shown.
BIN
nyaa/static/css/font-awesome.min.css
vendored
BIN
nyaa/static/css/font-awesome.min.css
vendored
Binary file not shown.
BIN
nyaa/static/js/bootstrap.min.js
vendored
BIN
nyaa/static/js/bootstrap.min.js
vendored
Binary file not shown.
BIN
nyaa/static/js/jquery.min.js
vendored
BIN
nyaa/static/js/jquery.min.js
vendored
Binary file not shown.
|
@ -27,7 +27,7 @@ $(document).ready(function() {
|
||||||
$(':file').on('fileselect', function(event, numFiles, label) {
|
$(':file').on('fileselect', function(event, numFiles, label) {
|
||||||
var input = $(this).parent().prev().find(':text'),
|
var input = $(this).parent().prev().find(':text'),
|
||||||
log = numFiles > 1 ? numFiles + ' files selected' : label;
|
log = numFiles > 1 ? numFiles + ' files selected' : label;
|
||||||
|
|
||||||
if (label.endsWith('.torrent')) {
|
if (label.endsWith('.torrent')) {
|
||||||
fileWarning.fadeOut('fast');
|
fileWarning.fadeOut('fast');
|
||||||
} else {
|
} else {
|
||||||
|
@ -149,7 +149,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
//
|
//
|
||||||
// This is the unminified version of the theme changer script in the layout.html @ line: 21
|
// This is the unminified version of the theme changer script in the layout.html @ line: 21
|
||||||
// ===========================================================
|
// ===========================================================
|
||||||
// if (typeof(Storage) !== 'undefined') {
|
// if (typeof(Storage) !== 'undefined') {
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
|
|
||||||
require('../../js/transition.js')
|
|
||||||
require('../../js/alert.js')
|
|
||||||
require('../../js/button.js')
|
|
||||||
require('../../js/carousel.js')
|
|
||||||
require('../../js/collapse.js')
|
|
||||||
require('../../js/dropdown.js')
|
|
||||||
require('../../js/modal.js')
|
|
||||||
require('../../js/tooltip.js')
|
|
||||||
require('../../js/popover.js')
|
|
||||||
require('../../js/scrollspy.js')
|
|
||||||
require('../../js/tab.js')
|
|
||||||
require('../../js/affix.js')
|
|
|
@ -23,8 +23,8 @@
|
||||||
Development version is commented out in static/js/main.js at the bottom of the file
|
Development version is commented out in static/js/main.js at the bottom of the file
|
||||||
-->
|
-->
|
||||||
<script>function toggleDarkMode(){"dark"===localStorage.getItem("theme")?setThemeLight():setThemeDark()}function setThemeDark(){bsThemeLink.href="/static/css/bootstrap-dark.min.css",localStorage.setItem("theme","dark")}function setThemeLight(){bsThemeLink.href="/static/css/bootstrap.min.css",localStorage.setItem("theme","light")}if("undefined"!=typeof Storage){var bsThemeLink=document.getElementById("bsThemeLink");"dark"===localStorage.getItem("theme")&&setThemeDark()}</script>
|
<script>function toggleDarkMode(){"dark"===localStorage.getItem("theme")?setThemeLight():setThemeDark()}function setThemeDark(){bsThemeLink.href="/static/css/bootstrap-dark.min.css",localStorage.setItem("theme","dark")}function setThemeLight(){bsThemeLink.href="/static/css/bootstrap.min.css",localStorage.setItem("theme","light")}if("undefined"!=typeof Storage){var bsThemeLink=document.getElementById("bsThemeLink");"dark"===localStorage.getItem("theme")&&setThemeDark()}</script>
|
||||||
<link href="/static/css/bootstrap-select.min.css" rel="stylesheet">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/css/bootstrap-select.min.css" integrity="sha256-an4uqLnVJ2flr7w0U74xiF4PJjO2N5Df91R2CUmCLCA=" crossorigin="anonymous" />
|
||||||
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
<!-- Custom styles for this template -->
|
||||||
<link href="/static/css/main.css" rel="stylesheet">
|
<link href="/static/css/main.css" rel="stylesheet">
|
||||||
|
|
Loading…
Reference in a new issue