ソースを参照

add footer and content files

master
erichhasl 8年前
コミット
f5f1218a2f
4個のファイルの変更16行の追加5行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

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

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

</div>

読み込み中…
キャンセル
保存