pasek atencji dodany do templates

This commit is contained in:
asiekierka 2012-12-23 18:10:18 +01:00
parent 595c7f3da0
commit 81e0f55b00
4 changed files with 13 additions and 2 deletions

View File

@ -47,7 +47,7 @@
</header> </header>
{% include 'post_form.html' %} {% include 'post_form.html' %}
{% include 'pasek_atencji.html' %}
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %} {% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr /> <hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post"> <form name="postcontrols" action="{{ config.post_url }}" method="post">

View File

@ -45,6 +45,7 @@
</header> </header>
{% include 'post_form.html' %} {% include 'post_form.html' %}
{% include 'pasek_atencji.html' %}
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %} {% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr /> <hr />

View File

@ -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 %}

View File

@ -47,6 +47,7 @@
<div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div> <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div>
{% include 'post_form.html' %} {% include 'post_form.html' %}
{% include 'pasek_atencji.html' %}
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %} {% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr /> <hr />