Skip to content

Commit

Permalink
Css files versioning (#20)
Browse files Browse the repository at this point in the history
* Css files versioning

---------

Co-authored-by: Konrad Sroga <konradsroga@gmail.com>
  • Loading branch information
pteroca-com and ksroga authored Sep 9, 2024
1 parent f92da2d commit b14c3d3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions public/assets/css/panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ a:hover {
color: rgba(255, 255, 255, 0.4);
}

.powered-by a {
color: inherit;
}

.default-page.container {
max-width: 800px;
margin: 50px auto;
Expand Down
2 changes: 1 addition & 1 deletion templates/panel/login/login.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
{% endif %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css?v=' ~ get_app_version()) }}">
{% endblock %}

{% block head_favicon %}
Expand Down
2 changes: 1 addition & 1 deletion templates/panel/page/default.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('/assets/css/app.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css?v=' ~ get_app_version()) }}">
{% endblock %}

{% block body %}
Expand Down
2 changes: 1 addition & 1 deletion templates/panel/registration/register.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('/assets/css/app.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css?v=' ~ get_app_version()) }}">
<style>
body {
background: #f1f5f9;
Expand Down
2 changes: 1 addition & 1 deletion templates/panel/reset_password/request.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('/assets/css/app.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css?v=' ~ get_app_version()) }}">
{% endblock %}

{% block body %}
Expand Down
2 changes: 1 addition & 1 deletion templates/panel/reset_password/reset.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('/assets/css/app.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css') }}">
<link rel="stylesheet" href="{{ asset('/assets/css/panel.css?v=' ~ get_app_version()) }}">
{% endblock %}

{% block body %}
Expand Down

0 comments on commit b14c3d3

Please sign in to comment.