it/itf/templates/noel/insidepage.html

223 lines
9.5 KiB
HTML
Raw Normal View History

2011-08-24 16:19:26 +05:30
{% extends 'noel/base.html' %}
2011-12-27 18:35:42 +05:30
{% block title %} ITF: {{ title }} {% endblock %}
2011-08-24 16:19:26 +05:30
{% block extra_head %}
<link rel="stylesheet" href="/static/css/noel/inner.css" type="text/css" />
2011-09-10 09:33:04 +05:30
<link rel="stylesheet" href="/static/css/noel/inner-details.css" type="text/css" />
2012-04-21 16:31:12 +05:30
<link type="text/css" rel="stylesheet" href="/static/css/jquery.tooltip.css" />
<script type="text/javascript" src="/static/js/history/history.js"></script>
<script type="text/javascript" src="/static/js/history/amplify.store.js"></script>
<script type="text/javascript" src="/static/js/history/history.html4.js"></script>
<script type="text/javascript" src="/static/js/history/history.adapter.jquery.js"></script>
<script type="text/javascript" src="/static/js/query_parser.js"></script>
2012-04-21 16:31:12 +05:30
<script type="text/javascript" src="/static/js/jquery.tooltip.js"></script>
2011-08-25 15:09:15 +05:30
<script type="text/javascript" src="/static/js/insidepage.js"></script>
2012-05-15 02:22:57 +05:30
<script type="text/javascript" src="/static/js/jquery.pandoravideo.js"></script>
2012-04-21 16:31:12 +05:30
2011-08-24 16:19:26 +05:30
{% endblock %}
{% block content %}
<!--
2011-10-24 01:37:50 +01:00
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
-->
2011-10-06 16:57:43 +05:30
<div id="lightboxPanel">
2011-10-25 22:50:23 +01:00
<div id="lightboxContent">
2011-10-06 16:42:20 +05:30
2011-10-25 22:50:23 +01:00
</div>
<div id="lightboxClose">
<img src="/static/images/noel/close.jpg" width="12" height="16" id="closeImg" alt="close" /></div>
2011-10-06 16:42:20 +05:30
</div>
2011-10-06 16:48:42 +05:30
<div id="lightbox"></div>
<div id="moduleAbout" class="hidden">
<div class="lightboxStyling">
2011-12-27 18:35:42 +05:30
<h1>{{ title }}</h1>
<!-- <h2>Dummy sub-title</h2> -->
2011-12-27 18:35:42 +05:30
<p> {{ about|linebreaksbr }} </p>
<!--
<div class="lightboxImg">
<img src="/static/images/noel/events-tab.jpg" width="230" height="233" alt="close" />
<p class="imgCaptionLightbox">Some Image Caption here</p>
</div>
<p>Some text here</p>
2011-12-27 18:35:42 +05:30
-->
</div>
</div>
<div id="moduleAdd" class="hidden">
<form id="addForm" action="" method="POST" data-id="{{ default_tab.id }}">
<table>
{{ add_form.as_table }}
2011-10-14 01:05:45 +05:30
<tr>
<td>
</td>
<td>
<input type="submit" />
</td>
</tr>
</table>
</form>
</div>
2011-08-24 16:19:26 +05:30
<div id="centerInner">
<!--<div id="woodPng">
</div>-->
2011-08-24 16:19:26 +05:30
<div id="shadow">
</div>
2011-10-25 16:01:59 +05:30
<div class="centerInnerContent">
2011-08-24 16:19:26 +05:30
<div id="leftColumn">
2011-10-08 06:09:33 +05:30
{% load itftags %}
2011-10-25 15:16:53 +01:00
<h3 id="topText" class="tabHeader">{{ title|format_title|safe }}</h3>
2011-10-08 06:09:33 +05:30
2011-09-28 20:15:50 +05:30
<div id="searchInnerDiv">
2011-10-26 02:52:55 +05:30
<!--<img src="/static/images/noel/search-inner.png" width="22" height="18" alt="search" class="searchInner">-->
2011-10-25 16:01:59 +05:30
<img src="/static/images/noel/about.png" width="22" height="22" id="aboutBtn" alt="About" title="About">
{% comment %}
{% if has_add %}
2011-10-25 22:47:11 +05:30
<img src="/static/images/noel/add.png" width="28" height="20" id="addBtn" alt="About" title="Add">
2011-10-14 01:05:45 +05:30
{% endif %}
{% endcomment %}
{% ifequal title "Best Practices" %} <!-- FIXME!!! -->
<a target="_blank" href="/static/upload/bestpractices_downloads/INDIA_THEATRE_FORUM_BOOK-rev-4-4-11.pdf">
<img src="/static/images/noel/Download-Icon.gif" width="29" height="20" id="downloadBtn" alt="Download" title="Download">
</a>
{% endifequal %}
2011-09-28 22:36:20 +05:30
<!--
2011-09-28 20:15:50 +05:30
<img src="/static/images/noel/search-inner.png" width="22" height="18" alt="search" class="searchInner">
<img src="/static/images/noel/search-inner.png" width="22" height="18" alt="search" class="searchInner">
2011-09-28 22:36:20 +05:30
-->
2011-09-28 20:15:50 +05:30
</div>
<form action="" method="get">
<input type="text" placeholder="search" name="field" class="searchInnerField"/>
</form>
2011-08-24 16:19:26 +05:30
<div id="tabsInner">
<ul id="selection">
<!--
<li class="tabCategory innerSelected">Info</li>
<li class="tabCategory innerSelected">Stories</li>
<li class="tabCategory innerSelected">FAQs</li>
<li class="tabCategory innerSelected">Guidelines</li>
-->
<li class="tabCategory defaultTab" data-id="{{ default_tab.id }}" id="tab_{{default_tab.slug}}" data-slug="{{ default_tab.slug }}">{{ default_tab.title }}</li>
2011-08-24 16:19:26 +05:30
{% for t in tabs %}
<li class="tabCategory" data-id="{{ t.id }}" id="tab_{{ t.slug }}" data-slug="{{ t.slug }}">{{ t.title }}</li>
2011-08-24 16:19:26 +05:30
{% endfor %}
</ul>
2011-08-25 23:25:56 +05:30
2011-08-24 16:19:26 +05:30
<div id="contentTabsInner">
2011-08-25 15:09:15 +05:30
<div id="tabText_{{default_tab.id}}" class="tabText displayedTab">
{{ default_tab.text }}
</div>
{% for t in tabs %}
<div id="tabText_{{t.id}}" class="tabText">
{{ t.text }}
</div>
{% endfor %}
2011-09-28 22:18:29 +05:30
<!--is this select okay, my forms are a bit weak, do we need action and method here?--><form class="selectMenu" id="listForm" method="post" action="">
2011-10-21 03:01:11 +01:00
2011-10-21 02:57:31 +01:00
<span>Sort:</span><!--Can i avoid a p tag here to keep it inline -->
2011-09-10 07:10:47 +05:30
<select id="orderBySelect">Select
2011-09-10 07:27:41 +05:30
{% for s in default_sorts %}
<option value="{{s.operator}}{{s.field_name}}">{{s.friendly_name}}</option>
{% endfor %}
<!--
2011-08-25 23:25:56 +05:30
<option value="atoz">A-Z</option>
<option value="ztoa">Z-A</option>
<option value="title">Title</option>
<option value="mostpopular">Most popular</option>
2011-09-10 07:27:41 +05:30
-->
2011-10-26 02:52:55 +05:30
</select>
2011-10-21 03:01:11 +01:00
<input id="page_no" name="page_no" type="hidden" value="1" />
2011-10-10 16:00:18 +05:30
<input id="object_id" name="object_id" type="hidden" value="" />
2011-10-25 16:01:59 +05:30
<input type="text" placeholder="Filter by keyword" id="searchList" name="field" class="searchListField"/>
<!--<img src="/static/images/noel/search-icon.png" width="18" height="14" alt="search-icon" id="searchListIcon">-->
2011-09-28 22:53:02 +05:30
<span id="pageDisplay" style="display:none;">Page <span id="currPageNo">1</span> of <span id="totalPages">10</span></span>
2011-08-25 23:25:56 +05:30
</form>
2011-09-28 22:30:25 +05:30
2011-08-25 23:25:56 +05:30
</div>
2011-08-24 16:19:26 +05:30
</div>
2011-10-25 16:01:59 +05:30
<div id="triangleUp">prev</div>
<div id="triangleDown">next</div>
<div class="clear"></div>
2011-08-24 16:19:26 +05:30
<div id="listLeft">
<ul>
2011-08-25 15:09:15 +05:30
<li id="loadingList">Loading...</li>
<!--
2011-09-10 07:27:41 +05:30
{% for l in default_list.items %}
<li class="tabListItem"><a href="{{ l.url }}" data-id="{{ l.id }}""><span>{{ l.title }}</span></a></li>
2011-08-24 16:19:26 +05:30
{% endfor %}
-->
2011-08-24 16:19:26 +05:30
<!-- <li><a href=""><span>The Mystery of vanishing rights<span></a></li> -->
</ul>
</div>
2011-09-10 07:10:47 +05:30
<div id="pagination" style="display:none;"> <!-- Please, please let me display pagination info -->
<span id="currPageNo">1</span>
<span id="totalPages"></span>
</div>
2011-08-24 16:19:26 +05:30
</div>
<div id="rightColumn">
2011-09-10 09:33:04 +05:30
2011-08-24 16:19:26 +05:30
<div id="topRight">
2011-09-10 09:33:04 +05:30
<img src="/static/images/noel/pin.png" width="46" height="58" alt="pin" id="pin">
2011-08-24 16:19:26 +05:30
<div id="imageLeft">
2011-09-10 09:33:04 +05:30
<div id="imageInside">
2011-10-05 21:05:19 +05:30
2011-09-10 09:33:04 +05:30
</div>
2011-08-24 16:19:26 +05:30
</div>
<p id="textRight">
2011-08-25 15:09:15 +05:30
2011-08-24 16:19:26 +05:30
</p>
2011-09-10 09:33:04 +05:30
<div class="socialIcons">
<a href="" target="_blank" id="twitterBtn" title="Tweet this!"><img src="/static/images/noel/tweet.png" width="18" height="18" alt="twitter" class="iconImages"> </a>
<!--<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-via="http://twitter.com/#!/indtheatreforum">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>-->
2011-12-21 20:43:49 +05:30
<!-- <div id="fb_like" class="fb-like" data-href="http://theatreforum.in/m/bestpractices/?tab=cases&amp;object_id=16" data-send="false" data-width="90" data-show-faces="false" data-layout="button_count"></div> -->
2011-10-24 01:37:50 +01:00
<!-- <img src="/static/images/noel/facebook.png" width="18" height="18" alt="facebook" class="iconImages"> -->
<!-- <iframe src="http://www.facebook.com/plugins/like.php?href=www.theatreforum.in&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>-->
2011-10-26 01:05:59 +01:00
<a href="" id="permalinkBtn" title="Permalink"><img src="/static/images/noel/download.jpg" width="18" height="18" alt="permalink" title="Permalink" class="iconImages"></a>
2011-09-10 09:33:04 +05:30
</div>
2011-08-24 16:19:26 +05:30
</div>
<div id="bottomRight">
Loading...
2011-08-24 16:19:26 +05:30
</div>
</div>
<div id="clearBoth"></div>
</div>
</div>
{% endblock %}