16 changed files with 148 additions and 50 deletions
@ -1,19 +1,18 @@ |
|||||
<html lang="en"> |
<html lang="en"> |
||||
<head> |
|
||||
<meta charset="UTF-8"> |
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
||||
|
|
||||
<link rel="stylesheet" href="{{ config.cssUrl }}"> |
{{> layouts/partials/head }} |
||||
<link rel="stylesheet" href="styles/template.min.css"> |
|
||||
</head> |
|
||||
|
|
||||
<body> |
<body> |
||||
|
|
||||
<div class="container"> |
{{> layouts/partials/toolbar }} |
||||
|
|
||||
|
<main> |
||||
|
<div class="container"> |
||||
{{> src/template }} |
{{> src/template }} |
||||
</div> |
</div> |
||||
|
</main> |
||||
|
|
||||
|
{{> layouts/partials/scripts }} |
||||
|
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script> |
|
||||
<script src="scripts/template.min.js"></script> |
|
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
|
|||||
@ -1,17 +1,16 @@ |
|||||
<html lang="en"> |
<html lang="en"> |
||||
<head> |
|
||||
<meta charset="UTF-8"> |
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
||||
|
|
||||
<link rel="stylesheet" href="{{ config.cssUrl }}"> |
{{> layouts/partials/head }} |
||||
<link rel="stylesheet" href="styles/template.min.css"> |
|
||||
</head> |
|
||||
|
|
||||
<body> |
<body> |
||||
|
|
||||
{{> src/template }} |
{{> layouts/partials/toolbar }} |
||||
|
|
||||
|
<main> |
||||
|
{{> src/template }} |
||||
|
</main> |
||||
|
|
||||
|
{{> layouts/partials/scripts }} |
||||
|
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script> |
|
||||
<script src="scripts/template.min.js"></script> |
|
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
|
|||||
@ -0,0 +1,9 @@ |
|||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
|
||||
|
<link rel="stylesheet" href="{{ config.cssUrl }}"> |
||||
|
<link rel="stylesheet" href="styles/page--main.css"> |
||||
|
<link rel="stylesheet" href="styles/template.min.css"> |
||||
|
<link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css"/> |
||||
|
</head> |
||||
@ -0,0 +1,4 @@ |
|||||
|
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script> |
||||
|
<script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script> |
||||
|
<script src="scripts/page--toolbar.js"></script> |
||||
|
<script src="scripts/template.min.js"></script> |
||||
@ -0,0 +1,11 @@ |
|||||
|
<header class="page_toolbar"> |
||||
|
<div> |
||||
|
<label for="data-options">Data Options: </label> |
||||
|
|
||||
|
<select name="data" id="data-options"> |
||||
|
{{#each config.dataFiles }} |
||||
|
<option value="{{ name }}" {{#if active }}selected="selected"{{/if}}>{{ name }}</option> |
||||
|
{{/each}} |
||||
|
</select> |
||||
|
</div> |
||||
|
</header> |
||||
@ -0,0 +1,13 @@ |
|||||
|
(function () { |
||||
|
|
||||
|
const dataOptionsSelect = document.getElementById('data-options'); |
||||
|
if (!dataOptionsSelect) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
dataOptionsSelect.addEventListener('change', function () { |
||||
|
console.log(this.value) |
||||
|
window.location = '?data=' + this.value; |
||||
|
}) |
||||
|
|
||||
|
})(); |
||||
@ -0,0 +1,20 @@ |
|||||
|
body { |
||||
|
margin: 0; |
||||
|
font-size: 1rem; |
||||
|
} |
||||
|
|
||||
|
header.page_toolbar { |
||||
|
font-family: Arial, sans-serif; |
||||
|
background-color: #ccc; |
||||
|
padding: 1rem; |
||||
|
|
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
margin-bottom: 2rem; |
||||
|
} |
||||
|
|
||||
|
header.page_toolbar select { |
||||
|
font-size: 0.85rem; |
||||
|
padding: 0.25rem; |
||||
|
} |
||||
@ -1,2 +1,2 @@ |
|||||
!function(o){console.log("Ready!",o)}(window.jQuery); |
!function(o){console.log("Ready!"),console.log("jQuery =",o),console.log("Swiper =",window.Swiper)}(window.jQuery); |
||||
//# sourceMappingURL=template.min.js.map
|
//# sourceMappingURL=template.min.js.map
|
||||
|
|||||
@ -1 +1 @@ |
|||||
{"version":3,"sources":["scripts/template.mjs"],"names":["$","console","log","window","jQuery"],"mappings":"CAAA,SAAWA,GAEPC,QAAQC,IAAI,SAAUF,GAF1B,CAIGG,OAAOC","file":"template.min.js","sourcesContent":["(function ($) {\n\n console.log('Ready!', $);\n\n})(window.jQuery);"]} |
{"version":3,"sources":["scripts/template.mjs"],"names":["$","console","log","window","Swiper","jQuery"],"mappings":"CAAA,SAAWA,GAEPC,QAAQC,IAAI,UACZD,QAAQC,IAAI,WAAYF,GACxBC,QAAQC,IAAI,WAAYC,OAAOC,QAJnC,CAMGD,OAAOE","file":"template.min.js","sourcesContent":["(function ($) {\n\n console.log('Ready!');\n console.log('jQuery =', $);\n console.log('Swiper =', window.Swiper);\n\n})(window.jQuery);"]} |
||||
@ -1,5 +1,7 @@ |
|||||
(function ($) { |
(function ($) { |
||||
|
|
||||
console.log('Ready!', $); |
console.log('Ready!'); |
||||
|
console.log('jQuery =', $); |
||||
|
console.log('Swiper =', window.Swiper); |
||||
|
|
||||
})(window.jQuery); |
})(window.jQuery); |
||||
@ -1 +1 @@ |
|||||
{"version":3,"sources":["styles/template.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA;EACE","file":"template.min.css","sourcesContent":["/**\n * Use \"rem\" instead of pixels. 1rem = 16pixels\n * No need to use rem in situations of \"1px\". (usually used for borders width).\n *\n * Use BEM naming system for class names: http://getbem.com/naming/\n *\n * Use Mobile First approach.\n *\n */\n\n.clients {\n background-color: red;\n //color: white;\n\n &__sub_level {\n // EXAMPLE OF BREAKPOINTS\n\n @media (min-width: 600px) {\n // Tablet\n }\n\n @media (min-width: 980px) {\n // Large Tablet\n }\n\n @media (min-width: 1024px) {\n // Laptop & Tablet\n }\n\n @media (min-width: 1336px) {\n // Laptop\n }\n\n @media (min-width: 1680px) {\n // Desktop\n }\n\n }\n\n &__sub_level_two {\n //\n }\n}"]} |
{"version":3,"sources":["styles/template.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA;EACE;;AAwBA;EACE","file":"template.min.css","sourcesContent":["/**\n * Use \"rem\" instead of pixels. 1rem = 16pixels\n * No need to use rem in situations of \"1px\". (usually used for borders width).\n *\n * Use BEM naming system for class names: http://getbem.com/naming/\n *\n * Use Mobile First approach.\n * Start with mobile device styling and then focus on other screen sizes by using @media (min-width: ...px).\n *\n */\n\n.template {\n padding: 1rem;\n\n // EXAMPLE OF BREAKPOINTS\n\n @media (min-width: 600px) {\n // Tablet\n }\n\n @media (min-width: 980px) {\n // Large Tablet\n }\n\n @media (min-width: 1024px) {\n // Laptop & Tablet\n }\n\n @media (min-width: 1336px) {\n // Laptop\n }\n\n @media (min-width: 1680px) {\n // Desktop\n }\n\n &__header {\n border-bottom: 2px solid green;\n\n &-heading {\n // Heading\n }\n }\n\n &__content {\n // Content\n }\n}"]} |
||||
Loading…
Reference in new issue