Experiments page.
authorRadek Czajka <rczajka@rczajka.pl>
Thu, 27 Oct 2022 13:57:30 +0000 (15:57 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 27 Oct 2022 13:57:30 +0000 (15:57 +0200)
src/experiments/templates/experiments/main_switch.html

index 51de634..2f866bc 100644 (file)
@@ -1,8 +1,12 @@
-{% extends "base/base.html" %}
+{% extends request.EXPERIMENTS.layout.value|yesno:"2022/base.html,base/base.html" %}
 
 
+{% block breadcrumbs %}
+  <span>Eksperymenty</span>
+{% endblock %}
 
 
+{% block main %}
 {% block body %}
 {% block body %}
-  <img src="https://upload.wikimedia.org/wikipedia/commons/c/c8/MH1Asimulator.JPG" style="width:100">
+  <img src="https://upload.wikimedia.org/wikipedia/commons/c/c8/MH1Asimulator.JPG" style="width:100%">
 
   {% for exp in request.EXPERIMENTS.values %}
     <div class="experiment" data-slug="{{ exp.slug }}">
 
   {% for exp in request.EXPERIMENTS.values %}
     <div class="experiment" data-slug="{{ exp.slug }}">
@@ -41,3 +45,4 @@
    });
   </script>
 {% endblock %}
    });
   </script>
 {% endblock %}
+{% endblock %}