Deme Layout

Layout None
Override default layout True
{% extends "base_layout.html" %}{% load item_tags %}

{% block banner-section %}
<div class="banner-section">
<!-- add content to be shown above the main content area here -->
</div>
{% endblock banner-section %}

{% block tabs-section %}
<div class="tabs-section">
<!-- Sample navigation tabs: -->
<ul class="nav nav-tabs">
<li><a href="/">Home</a></li>
<li><a href="/viewing/htmldocument/25">Sample Page</a></li>
</ul>
</div>
{% endblock tabs-section %}

{% block sidebar-section %}
<div class="sidebar-section">
<div class="panel">
<div class="panel-heading">
Side Menu
</div>
<ul>
<li><a href="/">Home</a></li>
<li><a href="{% url 'item_type_url' viewer="item" %}">Items</a></li>
</ul>
</div>
<div class="panel recently-viewed">
<div class="panel-heading">
Recently Viewed
</div>
{% recently_viewed %}
</div>
</div>
{% endblock sidebar-section %}

{% block chat %}
<!-- delete this block to allow chat -->
{% endblock chat %}

{% block footer %}
<p>
<b>Desktop Browser</b>
{% if item %}
|
<a href="{% url 'item_url' viewer=viewer_name action="show" noun=item.pk format="rss" %}">RSS</a>
{% endif %}
{% ifequal action 'list' %}
|
<a href="{% url 'item_type_url' viewer=viewer_name action="list" format="rss" %}?{{ query_string }}">RSS</a>
{% endifequal %}
|
<a href="#" id="showhidetrigger">Fullscreen</a>
|
<a href="javascript:function Sel(w){var s = '',i=0; try{if (w.getSelection) s = w.getSelection(); else s = w.document.getSelection(); i=w.frames.length; }catch(e){} while (((s == '')||(s == null)) && i--){s=Sel(w.frames[i]);}if (s == null) s='';return ''+s;};function Pop(url,title){win=window.open(url,title,'toolbar=no,width=800,height=600,scrollbars=yes,resizable=yes'); win.focus();};var s=Sel(this);if (s=='') void(s=prompt('Type a word for look up',''));if(s!=null) void(Pop('http://www.wordsmyth.net/?level=3&m=wn&ent='+escape(s), 'w_mini'));" class="wedt"><span>Dictionary/Thesaurus</span></a>
|
<a href="#" onclick="$('#google_translate_dialog').dialog({close: function(event, ui) {$('#google_translate_dialog').dialog('destroy')}}); return false;">Translate</a>
<div id="google_translate_dialog" title="Translate" style="display: none;">
<div id="google_translate_element">
</div>
</div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" async="true"></script>
</p>
<p>Copyright &copy;2008-{% now "Y" %} to Deme | <a href="http://github.com/mikemintz/deme/tree/master">Source Code</a> | <a href="http://deme.stanford.edu/viewing/group/23">Authors</a> | {% ifagentcanglobal 'do_anything' %}<a href="{% url 'item_type_url' viewer="item" action="admin" %}">Admin</a> | {% endifagentcanglobal %}<a href="{% url 'item_type_url' viewer="item" action="recentchanges" %}">Recent Changes</a></p>
{% endblock footer %}

For Internet Explorer users: Click on the Tools menu, located at the top of your browser window. When the drop-down menu appears, select the option labeled Full Screen.

For Chrome users:Click on the Chrome "wrench" icon, located in the upper right hand corner of your browser window. When the drop-down menu appears, select the choice labeled Full Screen.

For Firefox user:Click on the View menu, located at the top of your browser window. When the drop-down menu appears, select the option labeled Full Screen.

For Safari users: Safari currently does not support the ability to go fullscreen.