Put papers nav into sidebar

This commit is contained in:
str4d
2015-05-30 00:29:55 +00:00
parent 526c56cd26
commit 4c273e17c6
3 changed files with 13 additions and 25 deletions

View File

@@ -3,7 +3,7 @@
{% block headextra %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/pubs.css') }}" />
{% endblock %}
{% block content %}
{% block content_nav %}
<div class="biblinks">
<p align="center">
{%- if bib.tag|length %}<a href='{% if bib.field != 'date' -%}
@@ -41,14 +41,8 @@
</p>
</div>
<!-- Table 1: contains the sidebar and the body. -->
<table cellspacing="3" cellpadding="0" border="0" align="center" width="100%%">
<tr valign="top">
<td>
<!-- Table 2: The sidebar-->
<table align="right" cellspacing="0" cellpadding="5" width="100"
class="sidebar">
<table align="right" cellspacing="0" cellpadding="5" width="100%">
<tr valign="top"><td><p class="l1"><strong>{{ bib.sectiontypes }}:</strong><br /></p>
{% for section in bib.sections %}
<p class="l2"><a href="#{{ section.slug }}">{{ section.name }}</a></p>
@@ -56,10 +50,9 @@
</td>
</tr>
</table><!-- End of table 2 -->
</td>
<td width="85%%">
{% endblock %}
{% block content %}
<h2>Publications by {{ bib.field }}</h2>
<ul class="sections">
@@ -73,13 +66,6 @@
{% endfor %}
</ul>
</td>
<td width="5%%"><br /></td>
</tr>
</table><!-- End of table 1 -->
<p class="contact">{% trans email="press&#64;i2<!-- -->p2.de"|safe,
bibtex = get_url('papers_bibtex', tag=bib.tag) if bib.tag else get_url('papers_bibtex'),
citeseer = 'http://citeseer.ist.psu.edu/online-nature01/' -%}