Skip to content

Commit

Permalink
Fix assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Jun 11, 2022
1 parent 9644fa9 commit 5e04510
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions apps/templates/accounts/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

{% block content %}

<div class="d-n@sm- peer peer-greed h-100 pos-r bgr-n bgpX-c bgpY-c bgsz-cv" style='background-image: url("{{ ASSETS_ROOT }}/static/images/bg.jpg")'>
<div class="d-n@sm- peer peer-greed h-100 pos-r bgr-n bgpX-c bgpY-c bgsz-cv" style='background-image: url("{{ config.ASSETS_ROOT }}/static/images/bg.jpg")'>
<div class="pos-a centerXY">
<div class="bgc-white bdrs-50p pos-r" style="width: 120px; height: 120px;">
<img class="pos-a centerXY" src="{{ ASSETS_ROOT }}/static/images/logo.png" alt="">
<img class="pos-a centerXY" src="{{ config.ASSETS_ROOT }}/static/images/logo.png" alt="">
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/templates/accounts/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

{% block content %}

<div class="peer peer-greed h-100 pos-r bgr-n bgpX-c bgpY-c bgsz-cv" style='background-image: url("{{ ASSETS_ROOT }}/static/images/bg.jpg")'>
<div class="peer peer-greed h-100 pos-r bgr-n bgpX-c bgpY-c bgsz-cv" style='background-image: url("{{ config.ASSETS_ROOT }}/static/images/bg.jpg")'>
<div class="pos-a centerXY">
<div class="bgc-white bdrs-50p pos-r" style="width: 120px; height: 120px;">
<img class="pos-a centerXY" src="{{ ASSETS_ROOT }}/static/images/logo.png" alt="">
<img class="pos-a centerXY" src="{{ config.ASSETS_ROOT }}/static/images/logo.png" alt="">
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/templates/home/page-403.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="pos-a t-0 l-0 bgc-white w-100 h-100 d-f fxd-r fxw-w ai-c jc-c pos-r p-30">
<div class="mR-60">
<img alt="#" src="{{ ASSETS_ROOT }}/static/images/404.png">
<img alt="#" src="{{ config.ASSETS_ROOT }}/static/images/404.png">
</div>

<div class="d-f jc-c fxd-c">
Expand Down
2 changes: 1 addition & 1 deletion apps/templates/home/page-404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="pos-a t-0 l-0 bgc-white w-100 h-100 d-f fxd-r fxw-w ai-c jc-c pos-r p-30">
<div class="mR-60">
<img alt="#" src="{{ ASSETS_ROOT }}/static/images/404.png">
<img alt="#" src="{{ config.ASSETS_ROOT }}/static/images/404.png">
</div>

<div class="d-f jc-c fxd-c">
Expand Down
2 changes: 1 addition & 1 deletion apps/templates/home/page-500.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="pos-a t-0 l-0 bgc-white w-100 h-100 d-f fxd-r fxw-w ai-c jc-c pos-r p-30">
<div class="mR-60">
<img alt="#" src="{{ ASSETS_ROOT }}/static/images/500.png">
<img alt="#" src="{{ config.ASSETS_ROOT }}/static/images/500.png">
</div>

<div class="d-f jc-c fxd-c">
Expand Down
2 changes: 1 addition & 1 deletion apps/templates/includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="peers ai-c fxw-nw">
<div class="peer">
<div class="logo">
<img src="{{ ASSETS_ROOT }}/static/images/logo.png" alt="">
<img src="{{ config.ASSETS_ROOT }}/static/images/logo.png" alt="">
</div>
</div>
<div class="peer peer-greed">
Expand Down
6 changes: 3 additions & 3 deletions apps/templates/layouts/base-error.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
Flask Adminator - {% block title %}{% endblock %} | AppSeed
</title>

<link href="{{ ASSETS_ROOT }}/style.css" rel="stylesheet">
<link href="{{ config.ASSETS_ROOT }}/style.css" rel="stylesheet">

</head>
<body class="app">

{% block content %}{% endblock content %}

<script type="text/javascript" src="{{ ASSETS_ROOT }}/vendor.js"></script>
<script type="text/javascript" src="{{ ASSETS_ROOT }}/bundle.js"></script>
<script type="text/javascript" src="{{ config.ASSETS_ROOT }}/vendor.js"></script>
<script type="text/javascript" src="{{ config.ASSETS_ROOT }}/bundle.js"></script>

</body>
</html>
6 changes: 3 additions & 3 deletions apps/templates/layouts/base-fullscreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
</style>

<link href="{{ ASSETS_ROOT }}/style.css" rel="stylesheet">
<link href="{{ config.ASSETS_ROOT }}/style.css" rel="stylesheet">

<!-- Specific Page CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}
Expand All @@ -83,8 +83,8 @@

</div>

<script type="text/javascript" src="{{ ASSETS_ROOT }}/vendor.js"></script>
<script type="text/javascript" src="{{ ASSETS_ROOT }}/bundle.js"></script>
<script type="text/javascript" src="{{ config.ASSETS_ROOT }}/vendor.js"></script>
<script type="text/javascript" src="{{ config.ASSETS_ROOT }}/bundle.js"></script>

<!-- Specific Page JS goes HERE -->
{% block javascripts %}{% endblock javascripts %}
Expand Down
6 changes: 3 additions & 3 deletions apps/templates/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}
}
</style>
<link href="{{ ASSETS_ROOT }}/style.css" rel="stylesheet">
<link href="{{ config.ASSETS_ROOT }}/style.css" rel="stylesheet">

<!-- Specific Page CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}
Expand Down Expand Up @@ -115,8 +115,8 @@

</div>

<script type="text/javascript" src="{{ ASSETS_ROOT }}/vendor.js"></script>
<script type="text/javascript" src="{{ ASSETS_ROOT }}/bundle.js"></script>
<script type="text/javascript" src="{{ config.ASSETS_ROOT }}/vendor.js"></script>
<script type="text/javascript" src="{{ config.ASSETS_ROOT }}/bundle.js"></script>

<!-- Specific Page JS goes HERE -->
{% block javascripts %}{% endblock javascripts %}
Expand Down

0 comments on commit 5e04510

Please sign in to comment.