move old core css dependencies, prepare for customAutoLoad assets

unused-file-cleanup
Moe 2022-08-13 19:49:59 -07:00
parent a4e0e024b7
commit db4c4a655e
24 changed files with 23 additions and 17 deletions

View File

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View File

@ -39,5 +39,4 @@
</div>
</div>
</div>
<!-- <link rel="stylesheet" href="<%-window.libURL%>libs/css/dash2.eventCounts.css"> -->
<script src="<%-window.libURL%>libs/js/dash2.eventCounts.js"></script>

View File

@ -22,14 +22,14 @@
<meta name="msapplication-square150x150logo" content="libs/img/icon/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="libs/img/icon/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="libs/img/icon/mstile-310x310.png" />
<link rel="stylesheet" href="<%-window.libURL%>libs/css/pnotify.custom.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/pnotify.custom.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap-table/bootstrap-table.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bootstrap5-theme.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/font-awesome.min.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/daterangepicker.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/gridstack.min.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/gridstack-extra.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/font-awesome/font-awesome.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/daterangepicker.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/gridstack.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/gridstack-extra.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/clock.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.liveGrid.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.regionEditor.css">
@ -71,6 +71,9 @@
<% customAutoLoad.LibsCss.forEach(function(lib){ %>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/<%-lib%>">
<% }) %>
<% customAutoLoad.AssetsCss.forEach(function(lib){ %>
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/<%-lib%>">
<% }) %>
<style id="theme">
<% details.theme = details.theme || config.defaultTheme %>
<% try{ %>

View File

@ -12,7 +12,7 @@
drawBlock(theBlock)
}) %>
</div>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/fullcalendar.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/fullcalendar.min.css">
<script src="<%-window.libURL%>libs/js/fullcalendar.min.js"></script>
<script src="<%-window.libURL%>assets/js/bs5.calendar.js"></script>
</main>

View File

@ -12,7 +12,7 @@
drawBlock(theBlock)
}) %>
</div>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/vis.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/vis.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.powerVideo.css">
<script src="<%-window.libURL%>assets/js/bs5.powerVideo.js"></script>
<script src="<%-window.libURL%>libs/js/vis.min.js" async></script>

View File

@ -2,9 +2,9 @@
details = $user.details
window.libURL = originalURL + global.s.checkCorrectPathEnding(config.webPaths.home)
%>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/bootstrap4.min.css" />
<link rel="stylesheet" href="<%-window.libURL%>libs/css/dash2.basic.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/dash2.forms.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bootstrap5-theme.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.forms.css">
<script src="<%-window.libURL%>libs/js/jquery.min.js"></script>
<script src="<%-window.libURL%>libs/js/jquery.serialize.js"></script>
<style>

View File

@ -1,6 +1,7 @@
<% include blocks/header %>
<script>var $user=<%- JSON.stringify($user) %>;</script>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bootstrap5-theme.css">
<div id="main" class="container">
<a class="btn btn-danger btn-lg" record>Stream</a>
<div>

View File

@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bootstrap5-theme.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/font-awesome.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/font-awesome/font-awesome.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/login.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/gradients.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.darktheme.css">

View File

@ -12,7 +12,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bootstrap5-theme.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/font-awesome.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/font-awesome/font-awesome.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/login.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/gradients.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.darktheme.css">

View File

@ -1,6 +1,6 @@
<% include blocks/header %>
<script>var $user=<%- JSON.stringify($user) %>;</script>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<div id="main" class="container">
<a class="btn btn-danger btn-lg" record>Stream</a>
<div>

View File

@ -8,11 +8,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!-- Fonts and icons -->
<link href="<%-window.libURL%>libs/css/font-awesome.min.css" rel="stylesheet" />
<link href="<%-window.libURL%>assets/vendor/font-awesome/font-awesome.min.css" rel="stylesheet" />
<!-- CSS Files -->
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/bootstrap5/css/bootstrap.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bootstrap5-theme.css">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/pnotify.custom.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/pnotify.custom.min.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/bs5.forms.css">
<link rel="stylesheet" href="<%-window.libURL%>assets/css/gradients.css" />
<link rel="stylesheet" href="<%-window.libURL%>assets/css/super-page.css" />
@ -32,6 +32,9 @@
<% customAutoLoad.superLibsCss.forEach(function(lib){ %>
<link rel="stylesheet" href="<%-window.libURL%>libs/css/<%-lib%>">
<% }) %>
<% customAutoLoad.superAssetsCss.forEach(function(lib){ %>
<link rel="stylesheet" href="<%-window.libURL%>assets/vendor/<%-lib%>">
<% }) %>
</head>
<script>$user=<%-JSON.stringify($user)%></script>