Skip to content

Commit

Permalink
Include additional css and js files to be loaded for UI development
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed May 18, 2024
1 parent df4a97d commit 1e5b782
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 11 deletions.
3 changes: 3 additions & 0 deletions core/src/main/resources/static/css/additional.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*
Can be extended for local UI development. Will not be overwritten by gulp
*/
2 changes: 1 addition & 1 deletion core/src/main/resources/static/css/bright.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/src/main/resources/static/css/dark.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/src/main/resources/static/css/grey.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions core/src/main/resources/static/js/additional.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Can be extended for local UI development. Will not be overwritten by gulp
54 changes: 54 additions & 0 deletions core/src/main/resources/static/js/alllibs.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions core/src/main/resources/static/js/templates.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions core/src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="static/css/alllibs.css" rel="stylesheet"/>
<link th:href="${session.cssUrl}" rel="stylesheet">
<link href="static/css/additional.css" rel="stylesheet"/>
<link rel="shortcut icon" type="image/x-icon" href="static/img/favicon.ico"/>
<link rel="icon" type="image/png" href="static/img/favicon32.png" sizes="32x32">
<link rel="icon" type="image/png" href="static/img/favicon48.png" sizes="48x48">
Expand Down Expand Up @@ -39,6 +40,7 @@
<script charset="utf-8" src="static/js/alllibs.js"></script>
<script charset="utf-8" src="static/js/nzbhydra.js"></script>
<script charset="utf-8" src="static/js/templates.js"></script>
<script charset="utf-8" src="static/js/additional.js"></script>

<script type="application/javascript">
apiCheck.globalConfig.disabled = true;
Expand Down
1 change: 0 additions & 1 deletion core/ui-src/less/nzbhydra.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import "../../bower_components/bootstrap-less/less/bootstrap.less";
@import "../../bower_components/bootstrap-switch/src/less/bootstrap3/bootstrap-switch.less";


@grid-columns: 20;

@font-family-sans-serif: "Roboto", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
Expand Down

0 comments on commit 1e5b782

Please sign in to comment.