Bug fix for invalid CSS and JavaScript file references for pages

This commit is contained in:
2024-09-10 16:44:14 +01:00
parent b70401e3dc
commit da880da90f
11 changed files with 15 additions and 178 deletions

View File

@@ -1,25 +0,0 @@
.page-body > * {
height: 100%;
}
#pageBody > * :first-child{
margin-top: 25vh;
}
#pageBody > * :last-child {
margin-bottom: 35vh;
}
.img-demo {
max-width: 50%;
min-width: 500px;
}
.img-featured {
width: 100%;
}
/*
img {
background-image: url("/static/images/Tag_Molly1.png");
}
*/

View File

@@ -1,52 +0,0 @@
.img-product {
max-width: 20vh;
max-height: 20vh;
border-radius: 3vh;
justify-self: left;
}
.img-thumbnail {
max-width: 10vh;
max-height: 10vh;
border-radius: 3vh;
justify-self: left;
}
.buttonAdd2Basket {
background-color: var(--c_blue_pastel);
color: var(--c_blue_dark);
border-color: var(--c_blue_dark);
}
#buttonCheckout, .buttonBuyNow {
background-color: var(--c_purple_pastel);
color: var(--c_purple_dark);
border-color: var(--c_purple_dark);
}
.button-increment, .button-decrement {
border: 2px solid darkgrey;
background-color: lightgray;
margin: 1vh 1vh;
width: 2.5vh;
height: 2.5vh;
border-radius: 1.25vh;
font-size: 2vh;
}
.container-input > input {
padding: 0vh 1vh;
border-radius: 0.5vh;
max-width: 7vh;
}
#basket {
max-width: 100%;
}
/* Right column */
.rightcolumn {
min-width: fit-content;
}

View File

@@ -1,86 +0,0 @@
* {
box-sizing: border-box;
}
body {
padding: 10px;
display: block;
background-color: grey;
}
.banner {
background-color: black;
color: white;
width: 100%;
position: fixed;
padding-top: 5vh;
padding-bottom: 10vh;
}
.banner.top {
background-color: black;
color: white;
}
.banner.bottom {
background-color: black;
color: white;
bottom: 0;
}
.row:after {
content: "";
display: table;
clear: both;
}
.column {
float: left;
padding: 5vw;
}
.column.side {
width: 25%;
}
.column.middle {
width: 50%;
}
.midbod {
background-color: white;
color: black;
}
.panel {
float: left;
}
img {
height: 100px;
width: 100px;
}
.panel.labelcontainer {
background-color: black;
color: white;
text-align: center;
}
.label {
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
}
.label.bodytext {
background-color: black;
color: white;
text-decoration: none;
font-style: normal;
font-size: 12;
}
.label.title {
font-style: bold;
font-size: 18;
}

View File

@@ -5,7 +5,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/core.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/contact.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/core/contact.css') }}">
<script src="https://www.google.com/recaptcha/enterprise.js?render=6Lf8Q8cpAAAAAFAawGu4-ma60bvbEixNVTVvRzKe"></script> <!-- reCaptcha Integration -->
@@ -88,7 +88,7 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/core.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/contact.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/core/contact.js') }}"></script>
<script>
var idEmail = "#{{ model.ID_EMAIL }}";

View File

@@ -5,7 +5,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/core.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/home.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/core/home.css') }}" />
<!-- HTML content -->
<div>
@@ -16,7 +16,7 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/core.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/home.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/core/home.js') }}"></script>
<!--
<script>

View File

@@ -7,7 +7,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/core.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/services.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/core/services.css') }}" />
<!-- HTML content -->
<div class="{{ model.FLAG_CARD }}">
@@ -103,7 +103,7 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/core.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/services.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/core/services.js') }}"></script>
<!--
<script>

View File

@@ -5,7 +5,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/legal.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/accessibility_statement.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/legal/accessibility_statement.css') }}">
<!-- HTML content -->
<div class="{{ model.FLAG_CARD }} {{ model.FLAG_COLUMN }}">
@@ -204,5 +204,5 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/legal.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/accessibility_statement.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/legal/accessibility_statement.js') }}"></script>
{% endblock %}

View File

@@ -5,7 +5,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/legal.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/license.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/legal/license.css') }}">
<!-- HTML content -->
<div class="{{ model.FLAG_CARD }} {{ model.FLAG_COLUMN }}">
@@ -23,7 +23,7 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/legal.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/license.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/legal/license.js') }}"></script>
<!--
<script>

View File

@@ -5,7 +5,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/legal.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/privacy_notice.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/legal/privacy_notice.css') }}">
<!-- HTML content -->
<div class="{{ model.FLAG_CARD }} {{ model.FLAG_COLUMN }}">
@@ -82,7 +82,7 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/legal.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/privacy_notice.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/legal/privacy_notice.js') }}"></script>
<!--
<script>

View File

@@ -5,7 +5,7 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/legal.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/services.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/legal/services.css') }}">
<!-- HTML content -->
<div class="{{ model.FLAG_CARD }} {{ model.FLAG_COLUMN }}">
@@ -1948,7 +1948,7 @@
<!-- Include JavaScript -->
<script type="module" src="{{ url_for('static', filename='js/sections/legal.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/retention_schedule.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/pages/legal/retention_schedule.js') }}"></script>
<!--
<script>

View File

@@ -8,7 +8,7 @@
{% include 'layouts/_shared_store.html' %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/sections/store.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/page_store_supplier.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/pages/store/supplier.css') }}">
<!-- HTML content -->
<div class="card">