it/itf/templates/erang/home.html

74 lines
2.4 KiB
HTML
Raw Normal View History

2010-08-01 21:50:16 +00:00
{% extends 'base.html' %}
{% block head %}
<title>India Theatre Forum - {{ current_issue.title }}</title>
2010-11-09 19:52:52 +00:00
<script type="text/javascript" src="/static/js/utils.js"></script>
<script type="text/javascript" src="/static/js/erang/erang.js"></script>
<link rel="stylesheet" href="/static/css/erang/erang.css" />
2010-08-01 21:50:16 +00:00
{% endblock %}
{% block body %}
2010-11-09 19:52:52 +00:00
<script type="text/html" id="tmpl_issue_list">
<ul class="newsletterList">
<% for (var i=0; i<issues.length; i++) { var issue = issues[i]; %>
<li>
<a href="?issue_id=<%= issue.id %>"><%= issue.title %></a>
<br />
<span class="date"></span>
</li>
<% } %>
</ul>
<div class="navBtns" data-pagesize="<%= page_size %>" data-end="<%= end_no %>">
<% if (hasPrev) { %><span class="prevBtn">Prev</span><% } %>
<% if (hasNext) { %><span class="nextBtn">Next</span><% } %>
</div>
</script>
2010-08-01 21:50:16 +00:00
<div id="leftMenu">
<div class="homeLink">
2010-08-29 17:39:42 +00:00
<h3><img src="/static/images/favicon.ico" title="India Theatre Forum" alt="" /> <a href="/" title="India Theatre Forum Home">&nbsp;Home</a> </h3>
</div>
2010-08-01 21:50:16 +00:00
<h3>Past Issues:</h3>
2010-11-09 19:52:52 +00:00
<input id="issueSearch" data-placeholder="Search" />
<div class="issueListContainer">
</div>
2010-08-01 21:50:16 +00:00
<div id="subscribe">
2010-11-03 15:33:40 +00:00
<a name="subscribe"></>
2010-08-01 21:50:16 +00:00
<h3>Subscribe:</h3>
<form id="subscribeForm">
<input id="email" name="email" data-placeholder="E-Mail" /><br />
<button id="subscribeBtn">Subscribe!</button>
</form>
</div>
</div>
<div id="newsletterContent">
{% autoescape off %}
{{ current_issue.html }}
{% endautoescape %}
<div id="commentWrapper">
2010-08-01 22:38:56 +00:00
<h3>Comments and Feedback</h3>
2010-08-01 21:50:16 +00:00
<a name="comments"></a>
<form id="commentForm" action="">
<table id="commentTable">
<tr>
<td class="label">Name:</td>
<td><input name="commentName" id="commentName" /></td>
</tr>
<tr>
<td class="label">Email:</td>
<td><input name="commentEmail" id="commentEmail" /></td>
</tr>
<tr>
2010-08-01 22:38:56 +00:00
<td class="label">Comment:</td>
2010-08-01 21:50:16 +00:00
<td><textarea name="commentComment" id="commentComment"></textarea></td>
</tr>
<tr>
<td class="label"></td>
<td><button id="commentSubmit">Submit</button></td>
</tr>
</table>
</form>
</div>
</div>
{% endblock %}