-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpub_item.html
62 lines (59 loc) · 1.76 KB
/
pub_item.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<div class="row">
<div class="small-4 column">
<script type="text/javascript">
function mouseOver()
{
document.getElementById('b1').src ="/i/eg_mouse.jpg"
}
function mouseOut()
{
document.getElementById('b1').src ="/i/eg_mouse2.jpg"
}
</script>
{% if include.img_path1 and include.img_path2 %}
<a href="{{ include.pdf_url }}">
<img alt="" src="../images/images_for_pub/{{ include.img_path1 }}" style="width:100%" onMouseOver="this.src='../images/images_for_pub/{{ include.img_path2 }}'" onMouseOut="this.src='../images/images_for_pub/{{ include.img_path1 }}'">
</a>
{% elsif include.img_path1 %}
<a href="{{ include.pdf_url }}">
<img src="../images/images_for_pub/{{ include.img_path1 }}" style="width: 100%">
</a>
{% else %}
<a href="{{ include.pdf_url }}">
<img src="../images/images_for_pub/default.jpg" style="width: 100%">
</a>
{% endif %}
</div>
<div class="small-8 column">
<p>
<b>{{ include.title }}</b>
<br>
{{ include.author_list }}
<br>
{{ include.pub_in }}
{% if include.oral %}
<span style="color: #f15a51">{{ include.oral }}</span>
{% endif %}
<br>
{% if include.pdf_url %}
<a href="{{ include.pdf_url }}" target="_blank"> [PDF]</a>
{% endif %}
{% if include.website %}
<a href="{{ include.website }}" target="_blank"> [Website]</a>
{% endif %}
{% if include.bib %}
<a href="{{ include.bib }}" target="_blank"> [Bibtex]</a>
{% endif %}
{% if include.code_url %}
<a href="{{ include.code_url }}" target="_blank"> [Code]</a>
{% endif %}
{% if include.blog_post %}
<a href="{{ include.blog_post }}" target="_blank"> [Blog Post]</a>
{% endif %}
{% if include.grant == 'MURI' %}
| {{ include.grant }}
{% endif %}
</p>
</div>
</div>
<br>