Skip to content

Commit

Permalink
Minify CSS and JS files (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoonui authored Mar 4, 2024
1 parent 8d16691 commit 85785ca
Show file tree
Hide file tree
Showing 14 changed files with 120 additions and 70 deletions.
22 changes: 22 additions & 0 deletions backend/static/css/halfmoon.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/static/css/halfmoon.min.css.map

Large diffs are not rendered by default.

125 changes: 72 additions & 53 deletions backend/static/js/bootstrap.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/static/js/bootstrap.bundle.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions backend/static/js/bootstrap.bundle.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/static/js/bootstrap.bundle.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions backend/templates/account/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="icon" href="{% static 'images/SocialPass-Icon.svg' %}">

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -110,7 +110,7 @@
<!-- Footer end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/checkout/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -326,7 +326,7 @@
<!-- Content end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/checkout/tickets_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -124,7 +124,7 @@
<!-- Main container end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/dashboard_organizer/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="icon" href="{% static 'images/SocialPass-Icon.svg' %}">

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -303,7 +303,7 @@ <h6>
<!-- Content end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/dashboard_organizer/base_simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="icon" href="{% static 'images/SocialPass-Icon.svg' %}">

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -95,7 +95,7 @@
<!-- Content end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/dashboard_staff/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="icon" href="{% static 'images/SocialPass-Icon.svg' %}">

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -77,7 +77,7 @@
<!-- Footer end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/landing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="icon" href="{% static 'images/SocialPass-Icon.svg' %}">

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -556,7 +556,7 @@ <h2 class="text-primary-emphasis">
<!-- Footer end -->

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down
4 changes: 2 additions & 2 deletions backend/templates/scanner/base_scanner.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="icon" href="{% static 'images/SocialPass-Icon.svg' %}">

<!-- Halfmoon CSS -->
<link href="{% static 'css/halfmoon.css' %}" rel="stylesheet" />
<link href="{% static 'css/halfmoon.min.css' %}" rel="stylesheet" />

<!-- SocialPass CSS theme -->
<link href="{% static 'css/sp-theme.css' %}" rel="stylesheet" />
Expand Down Expand Up @@ -81,7 +81,7 @@
{% endblock body %}

<!-- Bootstrap bundle JS -->
<script src="{% static 'js/bootstrap.bundle.js' %}"></script>
<script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>

<script type="text/javascript">
/* Enable all tooltips */
Expand Down

0 comments on commit 85785ca

Please sign in to comment.