forked from I2P_Developers/i2p.www
Put papers nav into sidebar
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{% block headextra %}
|
{% block headextra %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/pubs.css') }}" />
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/pubs.css') }}" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content_nav %}
|
||||||
<div class="biblinks">
|
<div class="biblinks">
|
||||||
<p align="center">
|
<p align="center">
|
||||||
{%- if bib.tag|length %}<a href='{% if bib.field != 'date' -%}
|
{%- if bib.tag|length %}<a href='{% if bib.field != 'date' -%}
|
||||||
@@ -41,14 +41,8 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</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 2: The sidebar-->
|
||||||
<table align="right" cellspacing="0" cellpadding="5" width="100"
|
<table align="right" cellspacing="0" cellpadding="5" width="100%">
|
||||||
class="sidebar">
|
|
||||||
<tr valign="top"><td><p class="l1"><strong>{{ bib.sectiontypes }}:</strong><br /></p>
|
<tr valign="top"><td><p class="l1"><strong>{{ bib.sectiontypes }}:</strong><br /></p>
|
||||||
{% for section in bib.sections %}
|
{% for section in bib.sections %}
|
||||||
<p class="l2"><a href="#{{ section.slug }}">{{ section.name }}</a></p>
|
<p class="l2"><a href="#{{ section.slug }}">{{ section.name }}</a></p>
|
||||||
@@ -56,10 +50,9 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table><!-- End of table 2 -->
|
</table><!-- End of table 2 -->
|
||||||
</td>
|
{% endblock %}
|
||||||
|
|
||||||
<td width="85%%">
|
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
<h2>Publications by {{ bib.field }}</h2>
|
<h2>Publications by {{ bib.field }}</h2>
|
||||||
|
|
||||||
<ul class="sections">
|
<ul class="sections">
|
||||||
@@ -73,13 +66,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td width="5%%"><br /></td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
</table><!-- End of table 1 -->
|
|
||||||
|
|
||||||
<p class="contact">{% trans email="press@i2<!-- -->p2.de"|safe,
|
<p class="contact">{% trans email="press@i2<!-- -->p2.de"|safe,
|
||||||
bibtex = get_url('papers_bibtex', tag=bib.tag) if bib.tag else get_url('papers_bibtex'),
|
bibtex = get_url('papers_bibtex', tag=bib.tag) if bib.tag else get_url('papers_bibtex'),
|
||||||
citeseer = 'http://citeseer.ist.psu.edu/online-nature01/' -%}
|
citeseer = 'http://citeseer.ist.psu.edu/online-nature01/' -%}
|
||||||
|
@@ -418,6 +418,15 @@ div#content .inner ul.DREAD {
|
|||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Papers
|
||||||
|
*/
|
||||||
|
|
||||||
|
.biblinks {
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Footer
|
* Footer
|
||||||
*/
|
*/
|
||||||
|
@@ -300,13 +300,6 @@ div#content .title {
|
|||||||
|
|
||||||
/* End of downloads list CSS */
|
/* End of downloads list CSS */
|
||||||
|
|
||||||
.biblinks {
|
|
||||||
left: auto;
|
|
||||||
position: absolute;
|
|
||||||
right: 10%;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#global-footer .aside {
|
#global-footer .aside {
|
||||||
width: 15%;
|
width: 15%;
|
||||||
margin-left: 1%;
|
margin-left: 1%;
|
||||||
|
Reference in New Issue
Block a user