From 5fad8b798da3e2f5bf85dc9ed6dd5e236934018f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Sat, 29 Jun 2019 14:03:29 +0200 Subject: [PATCH] Add SASS preprocessing --- .gitignore | 64 +++++++++++++++++++++++ .idea/watcherTasks.xml | 4 ++ bookmarks/styles/base.scss | 1 + bookmarks/templates/bookmarks/index.html | 8 +-- bookmarks/templates/bookmarks/layout.html | 5 ++ package-lock.json | 13 +++++ package.json | 23 ++++++++ requirements.txt | 7 +++ siteroot/settings.py | 23 +++++--- 9 files changed, 139 insertions(+), 9 deletions(-) create mode 100644 .idea/watcherTasks.xml create mode 100644 bookmarks/styles/base.scss create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore index 620cdae..918ee2a 100644 --- a/.gitignore +++ b/.gitignore @@ -158,5 +158,69 @@ venv.bak/ # mypy .mypy_cache/ +### Node template +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# next.js build output +.next + +### Custom polls tmp diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml new file mode 100644 index 0000000..fb0d65a --- /dev/null +++ b/.idea/watcherTasks.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/bookmarks/styles/base.scss b/bookmarks/styles/base.scss new file mode 100644 index 0000000..4f21edc --- /dev/null +++ b/bookmarks/styles/base.scss @@ -0,0 +1 @@ +@import "../../node_modules/spectre.css/src/spectre"; diff --git a/bookmarks/templates/bookmarks/index.html b/bookmarks/templates/bookmarks/index.html index 05c2e87..6f3d80f 100644 --- a/bookmarks/templates/bookmarks/index.html +++ b/bookmarks/templates/bookmarks/index.html @@ -4,12 +4,14 @@ {% block content %}

Bookmarks

- Add + Add
- - +
+ + +