some spacing, if statements for erang templates
This commit is contained in:
parent
47603263d0
commit
9c896213c4
|
@ -60,7 +60,8 @@
|
||||||
<table width="600" border="0" cellspacing="6" cellpadding="1">
|
<table width="600" border="0" cellspacing="6" cellpadding="1">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width:350px;"><p style="font-size:24px; font-weight:normal; color:#ffcc00; text-transform:uppercase; font-family:'Century Gothic', Arial, Helvetica, sans-serif; margin-left:10px;margin-top:0px;margin-bottom:0px;">{{ article.title }}</p></td>
|
<td style="width:350px;"><p style="font-size:24px; font-weight:normal; color:#ffcc00; text-transform:uppercase; font-family:'Century Gothic', Arial, Helvetica, sans-serif; margin-left:10px;margin-top:0px;margin-bottom:0px;">{{ article.title }}</p></td>
|
||||||
<td style="width:250px;"><p style="font-size:12px; font-weight:normal; color:#888; font-family:'Century Gothic', Arial, Helvetica, sans-serif; text-align:right;">by: {{ article.author }}</p></td>
|
|
||||||
|
<td style="width:250px;">{% if article.author %}<p style="font-size:12px; font-weight:normal; color:#888; font-family:'Century Gothic', Arial, Helvetica, sans-serif; text-align:right;">by: {{ article.author }}</p> {% endif %} </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -79,7 +80,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="width:580px; padding:10px 16px; color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px;">
|
<td style="width:580px; padding:10px 16px; color:#888; font-family:Arial, Helvetica, sans-serif; font-size:13px; line-height:17px;">
|
||||||
|
|
||||||
<p>{{ article.text|insert_images:article.id|markdown }}</p></td>
|
<p>{{ article.text|insert_images:article.id|markdown }}</p></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -95,8 +96,8 @@
|
||||||
<td style="width:580px; margin:10px 0 10px 0;">
|
<td style="width:580px; margin:10px 0 10px 0;">
|
||||||
<p style="padding:8px; margin-left:10px; background-color:#f7bd00; color:#fff; font-size:24px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;"><a name="weblinks"></a>WEB LINKS</p>
|
<p style="padding:8px; margin-left:10px; background-color:#f7bd00; color:#fff; font-size:24px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;"><a name="weblinks"></a>WEB LINKS</p>
|
||||||
{% for weblink in weblinks %}
|
{% for weblink in weblinks %}
|
||||||
<h2 style="padding-left:10px;margin-top:0px;margin-bottom:0px;"><a href="{{weblink.url}}" target="_blank" style="color:#ff8400;text-decoration:none;font-size:16px">{{ weblink.title }}</a></h2>
|
<h2 style="padding-left:10px;margin-top:0px;margin-bottom:0px;font-weight:normal;"><a href="{{weblink.url}}" target="_blank" style="color:#ff8400;text-decoration:none;font-size:16px">{{ weblink.title }}</a></h2>
|
||||||
<div style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding-left: 10px;">{{ weblink.text|markdown }}</div>
|
<div style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:13px; padding-left: 10px;line-height:17px;">{{ weblink.text|markdown }}</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- <p style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:8px;">{{ weblinks.text|markdown }}</p> -->
|
<!-- <p style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:8px;">{{ weblinks.text|markdown }}</p> -->
|
||||||
|
@ -108,8 +109,8 @@
|
||||||
<td style="width:580px; margin:10px 0 10px 0;">
|
<td style="width:580px; margin:10px 0 10px 0;">
|
||||||
<p style="padding:8px; margin-left:10px; margin-top: 4px;background-color:#f7bd00; color:#fff; font-size:24px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;"><a name="bbitems"></a>BULLETIN BOARD</p>
|
<p style="padding:8px; margin-left:10px; margin-top: 4px;background-color:#f7bd00; color:#fff; font-size:24px; font-family:'Century Gothic', Arial, Helvetica, sans-serif;"><a name="bbitems"></a>BULLETIN BOARD</p>
|
||||||
{% for bbitem in bbitems %}
|
{% for bbitem in bbitems %}
|
||||||
<h2 style="font-family:Arial;font-size:16px;padding-left:10px;color:#888;margin-top:4px;margin-bottom:4px;">{{ bbitem.title }}</h2>
|
<h2 style="font-family:Arial;font-size:16px;padding-left:10px;color:#888;margin-top:4px;margin-bottom:4px;font-weight:normal;">{{ bbitem.title }}</h2>
|
||||||
<div style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding-left: 10px;margin-bottom:16px;">{{ bbitem.text|markdown }}</div>
|
<div style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:13px; padding-left: 10px;margin-bottom:16px;line-height:17px;">{{ bbitem.text|markdown }}</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- <p style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:8px;">{{ bulletinboard.text|markdown }}</p> -->
|
<!-- <p style="color:#888; font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:8px;">{{ bulletinboard.text|markdown }}</p> -->
|
||||||
|
@ -128,7 +129,7 @@
|
||||||
<p style="border-bottom:2px solid #f8c92d; border-top:2px solid #f8c92d; padding-top:6px; padding-bottom:6px; padding-top:6px;">A fortnightly theatre e-journal from the India Theatre Forum<br>
|
<p style="border-bottom:2px solid #f8c92d; border-top:2px solid #f8c92d; padding-top:6px; padding-bottom:6px; padding-top:6px;">A fortnightly theatre e-journal from the India Theatre Forum<br>
|
||||||
Co-Editors: Vikram Iyengar, Joyoti Roy</p>
|
Co-Editors: Vikram Iyengar, Joyoti Roy</p>
|
||||||
<p>Views expressed in the articles in e-Rang are personal.<br>e-Rang does not hold copyright of any piece.<br>Any enquiry for re-use of articles should be addressed to the authors.</p>
|
<p>Views expressed in the articles in e-Rang are personal.<br>e-Rang does not hold copyright of any piece.<br>Any enquiry for re-use of articles should be addressed to the authors.</p>
|
||||||
<p>Contribute your articles to e-Rang and become part of this theatre community! Email us at <a href="mailto@erang@theatreforum.in" style="color:#0066ff; text-decoration:none;">erang@theatreforum.in</a> to know more about how to contribute.</p>
|
<p>Contribute your articles to e-Rang and become part of this theatre community! Email us at <a href="mailto:erang@theatreforum.in" style="color:#0066ff; text-decoration:none;">erang@theatreforum.in</a> to know more about how to contribute.</p>
|
||||||
<p style="padding-bottom:6px;">The India Theatre Forum (ITF), a Prithvi Theatre initiative, was formed in 2006 as a loose association of theatre people coming together in the larger interests of theatre. For more on the ITF, please visit <a href="http://theatreforum.in/" style="color:#0066ff; text-decoration:none;">www.theatreforum.in</a>. The ITF is currently supported by HIVOS.</p>
|
<p style="padding-bottom:6px;">The India Theatre Forum (ITF), a Prithvi Theatre initiative, was formed in 2006 as a loose association of theatre people coming together in the larger interests of theatre. For more on the ITF, please visit <a href="http://theatreforum.in/" style="color:#0066ff; text-decoration:none;">www.theatreforum.in</a>. The ITF is currently supported by HIVOS.</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -56,8 +56,9 @@
|
||||||
<div class="articleEmailer">
|
<div class="articleEmailer">
|
||||||
{% for article in articles %}
|
{% for article in articles %}
|
||||||
<div class="articleTitle">{{ article.title }}</div>
|
<div class="articleTitle">{{ article.title }}</div>
|
||||||
|
{% if article.author %}
|
||||||
<div class="articleAuthor">by: {{ article.author }}</div><!-- ARTICLE TITLE CLOSING -->
|
<div class="articleAuthor">by: {{ article.author }}</div><!-- ARTICLE TITLE CLOSING -->
|
||||||
|
{% endif %}
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
|
||||||
{% if article.main_image %}
|
{% if article.main_image %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user