<title>GRNET's FoD :: {% block title %}{% endblock %} </title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
-
+<link REL="SHORTCUT ICON" HREF="/fodstatic/favicon.ico">
<script src="/fodstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="/fodstatic/js/jquery_csrf_protect.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/fodstatic/css/bootstrap.css">
+<link rel="stylesheet" type="text/css" href="/fodstatic/css/bootstrap-responsive.css">
<link rel="stylesheet" type="text/css" href="/fodstatic/css/smoothness/jquery-ui-1.8.13.custom.css">
<link rel="stylesheet" type="text/css" href="/fodstatic/css/base.css">
}
</script>
+<style>
+body {
+ background-color: #EEEEEE;
+ height: 100%;
+ overflow-y: scroll;
+}
+#content {
+ background-color: #FFFFFF;
+ min-height: 100%;
+ padding: 20px;
+ padding-top: 90px;
+ position: relative;
+}
+</style>
{% block extrahead %}{% endblock %}
</head>
<body>
- <div id="main">
+ {% comment %}
<div id="header">
<a class="grnetlogo" href="{% url group-routes %}">
<img class="logoimg" src="/fodstatic/logo.png">
</div>
</div>
+ {% endcomment %}
+ <div class="navbar navbar-fixed-top">
+
+ <div class="navbar-inner">
+ <div class="container">
+
+ {% block topmenu %}
+ <a class="brand brandimg" href="{% url group-routes %}"><img src="/fodstatic/img/fod_logo.png" /></a>
+ <ul class="nav">
+ {% if user.is_authenticated %}
+
+ {% if user.get_profile.peer %}
+ <li>
+ <a href="{% url user-profile %}">{% trans "My profile" %}</a>
+ </li>
+ {% endif %}
+
+ {% if perms.accounts.overview %}<li>
+ <a href="{% url overview %}">{% trans "Overview" %}</a>
+ </li>{% endif %}
+ {% if user.is_superuser %}
+ <li {% block hometop %}{% endblock %}>
+ <a href="{% url admin:index %}">{% trans "Admin" %}</a>
+ </li>
+ {% endif %}
+ {% else %}
+ <li {% block faqtop %}{% endblock %}>
+
+ </li>
+ {% endif %}
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Language" %}: {% for lang in LANGUAGES %}{% ifequal LANGUAGE_CODE lang.0 %}{% trans lang.1 %}{% endifequal %}{% endfor %}<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
+ {% csrf_token %}
+ <input name="next" type="hidden" value="{{ next }}" />
+ <input id="langsel" name="language" type="hidden" value="" />
+ </form>
+ {% for lang in LANGUAGES %}
+ <li>
+ <a class="select_lang" href="#" onclick="setlang('{{ lang.0 }}'); return false;" title="{{lang.1}}">{% trans lang.1 %}{% ifequal LANGUAGE_CODE lang.0 %} <i class="icon-ok"></i>{% endifequal %}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </li>
+
+ </ul>
+ {% endblock %}
+ <ul class="nav pull-right">
+ {% if user.is_authenticated %}
+ <li><span><strong>{{user}}</strong></span></li>
+ <li>
+ <a href="{% url logout %}">{% trans "Logout" %}</a>
+ </li>
+ {% else %}
+ {% if error %}
+ {% if inactive %}
+ <li><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></li>
+ {% else %}
+ <li>
+ <a id='ttip' data-placement="bottom" rel="tooltip" href="{% url logout %}" data-original-title="{% trans 'After clicking Retry Login, it is strongly suggested to close your browser and visit the page again' %}">{% trans "Retry Login" %}</a>
+ </li>{% endif %}
+ {% else %}
+ <li><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></li>
+ {% endif %}
+ {% endif %}
+ </ul>
+
+ </div>
+ </div>
+ </div>
+ {% block contentplaceholder %}
<div id="content" class="container">
{% block brcrmb_container %}
- <ul class="breadcrumb">{% if user.is_authenticated %}<li><a href="{% url group-routes %}">{% trans "My rules" %}</a></li>{% endif %}
+ <ul class="breadcrumb">{% if user.is_authenticated %}<li><a href="{% url group-routes %}">{% trans "My rules" %}</a></li>{% else %}<li><a href="{% url welcome %}">{% trans "Welcome" %}</a></li>{% endif %}
{% block breadcrumbs %}{% endblock %}
</ul>
+ {% endblock %}
{% if messages %}
<div id="messages">
{% for message in messages %}
{% endfor %}
</div>
{% endif %}
- {% endblock %}
+
+
{% block content %}
{% endblock %}
</div>
+ {% endblock %}
{% block footerblock %}
{% include "footer.html" %}
{% endblock %}
- </div>
+
</body>
</html>