mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-11 20:57:49 +02:00
Add SASS preprocessing
This commit is contained in:
1
bookmarks/styles/base.scss
Normal file
1
bookmarks/styles/base.scss
Normal file
@@ -0,0 +1 @@
|
||||
@import "../../node_modules/spectre.css/src/spectre";
|
@@ -4,12 +4,14 @@
|
||||
{% block content %}
|
||||
<div>
|
||||
<h2>Bookmarks</h2>
|
||||
<a href="{% url 'bookmarks:new' %}">Add</a>
|
||||
<a href="{% url 'bookmarks:new' %}" class="btn btn-primary">Add</a>
|
||||
</div>
|
||||
<div>
|
||||
<form method="get">
|
||||
<input type="search" name="q" placeholder="Search..." value="{{ query }}">
|
||||
<input type="submit" value="Search">
|
||||
<div class="input-group">
|
||||
<input type="search" name="q" placeholder="Search..." value="{{ query }}">
|
||||
<input type="submit" value="Search" class="btn input-group-btn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<ul class="bookmark-list">
|
||||
|
@@ -1,8 +1,13 @@
|
||||
{% load static %}
|
||||
{% load sass_tags %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>linkdings</title>
|
||||
{# Include SASS styles, files are resolved from bookmarks/styles #}
|
||||
<link href="{% sass_src 'base.scss' %}" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
Reference in New Issue
Block a user