Compare commits
2 Commits
089b2289c7
...
604025179c
Author | SHA1 | Date | |
---|---|---|---|
604025179c | |||
e06f3274ec |
@@ -12,7 +12,7 @@ module.exports = function (grunt) {
|
|||||||
{
|
{
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: "assets/styles",
|
cwd: "assets/styles",
|
||||||
src: ["**/*.sass"],
|
src: ["**/*.scss"],
|
||||||
dest: "public/css",
|
dest: "public/css",
|
||||||
ext: ".css",
|
ext: ".css",
|
||||||
},
|
},
|
||||||
@@ -37,7 +37,7 @@ module.exports = function (grunt) {
|
|||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
css: {
|
css: {
|
||||||
files: ["assets/styles/**/*.sass"],
|
files: ["assets/styles/**/*.scss"],
|
||||||
tasks: ["sass"],
|
tasks: ["sass"],
|
||||||
options: {
|
options: {
|
||||||
atBegin: true,
|
atBegin: true,
|
||||||
|
5
assets/styles/eye.scss
Normal file
5
assets/styles/eye.scss
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
$primary-color: teal;
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #eee;
|
||||||
|
}
|
@@ -8,6 +8,7 @@
|
|||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
|
||||||
<link rel="stylesheet" href="/css/eye.css">
|
<link rel="stylesheet" href="/css/eye.css">
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" charset="utf-8"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" charset="utf-8"></script>
|
||||||
|
{% block scripts %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include 'partials/navbar.twig' %}
|
{% include 'partials/navbar.twig' %}
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
{% block title %}Test: {{ test.title }}{% endblock %}
|
{% block title %}Test: {{ test.title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
<script src="/js/test.js" type="text/javascript"></script>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h2>Test: {{ test.title }}</h2>
|
<h2>Test: {{ test.title }}</h2>
|
||||||
@@ -81,6 +85,4 @@
|
|||||||
|
|
||||||
<p><a href="/test">Back</a></p>
|
<p><a href="/test">Back</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/js/test.js" type="text/javascript"></script>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user