Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86803369
header.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Oct 8, 17:11
Size
3 KB
Mime Type
text/html
Expires
Thu, Oct 10, 17:11 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21484725
Attached To
R3600 invenio-infoscience
header.html
View Options
{#
## This file is part of Invenio.
## Copyright (C) 2012 CERN.
##
## Invenio is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option) any later version.
##
## Invenio is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Invenio; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#}
{#
## This file contains header part of main page template.
##
## Usage:
## {% include 'header.html' %}
#}
<style>
ul.nav li.dropdown:hover ul.dropdown-menu{
display: block;
margin-top: 0px;
}
.brand img {
height: 20px;
width: auto!important;
max-width: 200%!important;
opacity: 0.6;
}
.brand:hover img {
opacity: 0.95;
}
</style>
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="{{ url_for('search.index') }}">
<img src="{{ url_for('static', filename='img/logo_white.png') }}" alt="{{ config.CFG_SITE_NAME_INTL[g.ln] }}" />
</a>
<ul class="nav pull-right">
<li>
{% if current_user.is_guest %}
<a href="{{ url_for('youraccount.login', referer=request.url) }}">
<i class="icon icon-white icon-user"></i> {{ _("guest") }}
</a>
{% else %}
<a href="{{ url_for('youraccount.display') }}">
<i class="icon icon-white icon-user"></i> {{ current_user.nickname|default(current_user.email) }}
</a>
{% endif %}
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span> </a>
<ul class="dropdown-menu">
<li><a href="{{ url_for('youraccount.display') }}">{{ _("Personalize") }}</a></li>
<li class="divider"></li>
{% if current_user.is_guest %}
<li><a href="{{ url_for('youraccount.login', referer=request.url) }}">
<i class="icon icon-lock"></i> {{ _("Login") }}
</a></li>
{% else %}
<li><a href="{{ url_for('youraccount.logout') }}">
<i class="icon icon-off"></i> {{ _("Logout") }}
</a></li>
{% endif %}
</ul>
</li>
</ul>
<div class="nav-collapse collapse">
<ul class="nav">
{%- for item in menu|sort(attribute='order') recursive %}
{%- if item.children -%}
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="{{ url_for(item.url) }}">
{{ item.title|safe }}
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
{{ loop(item.children.itervalues()) }}
</ul>
</li>
{%- else -%}
<li><a href="{{ url_for(item.url) }}">{{ item.title|safe }}</a></li>
{%- endif %}
{%- endfor %}
</ul>
</div>
</div>
</div>
</div>
<div class="visible-desktop" style="clear:both; height: 60px;"></div>
Event Timeline
Log In to Comment