diff options
| author | asiekierka <asiekierka@gmail.com> | 2012-12-23 18:10:18 +0100 |
|---|---|---|
| committer | asiekierka <asiekierka@gmail.com> | 2012-12-23 18:10:18 +0100 |
| commit | 81e0f55b0059ed39cceb31777d3c8d8565bb8386 (patch) | |
| tree | 80c94140bc1daf5d0b2ced5547779540727dc95e | |
| parent | 595c7f3da0c102c851020cee7ec2b7da7ea72b9f (diff) | |
pasek atencji dodany do templates
| -rw-r--r-- | templates/generic_page.html | 2 | ||||
| -rw-r--r-- | templates/index.html | 3 | ||||
| -rw-r--r-- | templates/pasek_atencji.html | 9 | ||||
| -rw-r--r-- | templates/thread.html | 1 |
4 files changed, 13 insertions, 2 deletions
diff --git a/templates/generic_page.html b/templates/generic_page.html index e834aad0..da7b916d 100644 --- a/templates/generic_page.html +++ b/templates/generic_page.html @@ -47,7 +47,7 @@ </header> {% include 'post_form.html' %} - + {% include 'pasek_atencji.html' %} {% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %} <hr /> <form name="postcontrols" action="{{ config.post_url }}" method="post"> diff --git a/templates/index.html b/templates/index.html index a28724a1..ff7ff32b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -45,7 +45,8 @@ </header>
{% include 'post_form.html' %}
-
+ {% include 'pasek_atencji.html' %}
+
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">
diff --git a/templates/pasek_atencji.html b/templates/pasek_atencji.html new file mode 100644 index 00000000..d54f334d --- /dev/null +++ b/templates/pasek_atencji.html @@ -0,0 +1,9 @@ +{% if config.pasek_atencji %} +<div id="pasek_atencji" style="height: 1.5em; width: 90%; text-align: center; display: block;"> + +</div> +<form method="post" action="/atencja.php" id="pasek_atencji_forma" style="display: none;"> + <input name="tekst" style="width: 90%; text-align: center;" value="" type="text"> +</form> +<script type="text/javascript" src="/js/pasek_atencji.js"></script> +{% endif %} diff --git a/templates/thread.html b/templates/thread.html index e7c65f9b..ce6aa569 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -47,6 +47,7 @@ <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div>
{% include 'post_form.html' %}
+ {% include 'pasek_atencji.html' %}
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr />
|
