Sfoglia il codice sorgente

add footer and content files

master
erichhasl 8 anni fa
parent
commit
f5f1218a2f
4 ha cambiato i file con 16 aggiunte e 5 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

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

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

</div>

Loading…
Annulla
Salva