add a css file to the project

This commit is contained in:
Andreas Zweili 2017-12-25 23:54:37 +01:00
parent 1dcec8e63a
commit 5f00b2de26
3 changed files with 10 additions and 0 deletions

View File

@ -510,8 +510,10 @@ The base.html file is the basis for all other html files and gets
extended by them.
#+BEGIN_SRC html :tangle ../inventory/templates/inventory/base.html
{% load staticfiles %}
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="{% static 'css/inventory.css' %}">
</head>
<body>
<a href="{% url 'index' %}">Home</a>

View File

@ -0,0 +1,6 @@
table, th, td {
border: 1px solid black;
}
th {
text-align: left;
}

View File

@ -1,5 +1,7 @@
{% load staticfiles %}
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="{% static 'css/inventory.css' %}">
</head>
<body>
<a href="{% url 'index' %}">Home</a>