some tests, and docker fix
[cas.git] / src / cas / templates / base.html
index 1872c06..849809b 100644 (file)
@@ -1,14 +1,31 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-    <head>
-        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-        <title>{% block title %}Fundacja Nowoczesna Polska - CAS{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
-               <link rel="stylesheet" href="{{ MEDIA_URL }}static/css/main.css"/>
-        {% block extrahead %}
-        {% endblock %}
-    </head>
-    <body>
-    <div id="content_wrap"><div id="content">{% block content %} {% endblock %}</div></div>
-    </body>
+<!DOCTYPE html>
+<html>
+  {% load static %}
+  <head>
+    <meta charset="utf-8" />
+    <title>{% block title %}Logowanie{% endblock %} | Fundacja Wolne Lektury</title>
+    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
+    <link rel="stylesheet" href="{% static 'css/main.css' %}"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    {% block extrahead %}
+    {% endblock %}
+  </head>
+  <body>
+    <div id="header-wrap">
+      <header>
+        <a href="/">
+          <img title="Fundacja Wolne Lektury"
+               alt="Fundacja Wolne Lektury"
+              src="{% static 'logo.svg' %}">
+        </a>
+      </header>
+    </div>
+
+    <div id="content-wrap">
+      <div id="content">
+        {% block content %}{% endblock %}
+      </div>
+    </div>
+
+  </body>
 </html>
 </html>