瀏覽代碼

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>

Loading…
取消
儲存