Bladeren bron

add footer and content files

master
erichhasl 8 jaren geleden
bovenliggende
commit
f5f1218a2f
4 gewijzigde bestanden met toevoegingen van 16 en 5 verwijderingen
  1. +1
    -1
      web_dev/sas_web/startpage/templates/startpage/index.html
  2. +2
    -4
      web_dev/sas_web/templates/public/base.html
  3. +8
    -0
      web_dev/sas_web/templates/public/default.html
  4. +5
    -0
      web_dev/sas_web/templates/public/footer.html

+ 1
- 1
web_dev/sas_web/startpage/templates/startpage/index.html Bestand weergeven

@@ -1,4 +1,4 @@
{% extends "public/base.html" %}
{% extends "public/default.html" %}

{% block content %}
<h2>Hi</h2>


+ 2
- 4
web_dev/sas_web/templates/public/base.html Bestand weergeven

@@ -4,11 +4,9 @@
<body>
{% include "public/header.html" %}

{% block content %}
{% block raw_content %}
{% endblock %}

<p>Ende Gelände!</p>
{% include "public/footer.html" %}

</body>



+ 8
- 0
web_dev/sas_web/templates/public/default.html Bestand weergeven

@@ -0,0 +1,8 @@
{% extends "public/base.html" %}

{% block raw_content %}
<div id="content">
{% block content %}
{% endblock %}
</div>
{% endblock %}

+ 5
- 0
web_dev/sas_web/templates/public/footer.html Bestand weergeven

@@ -0,0 +1,5 @@
<div id="footer">

<p>(C) N.H. und C.M.</p>

</div>

Laden…
Annuleren
Opslaan