Commit 4c67029f authored by Antony Chazapis's avatar Antony Chazapis
Browse files

Drop redundant horizontal menu from pages.

parent 2de6e2d2
......@@ -6,14 +6,15 @@ $(document).ready(function(){
var PROFILE_URL = "https://accounts.cloud.grnet.gr";
var SERVICES_LINKS = window.CLOUDBAR_SERVICES_LINKS || {
'cloud': { url:'http://pithos.dev.grnet.gr/im/', name:'grnet cloud', id:'cloud', icon:'home-icon.png' },
'okeanos': { url:'http://staging.okeanos.grnet.gr/ui/', name:'~okeanos', id:'okeanos' },
'cloud': { url:'http://pithos.dev.grnet.gr/', name:'grnet cloud', id:'cloud', icon:'home-icon.png' },
'okeanos': { url:'http://pithos.dev.grnet.gr/okeanos.html', name:'~okeanos', id:'okeanos' },
'pithos': { url:'http://pithos.dev.grnet.gr/ui/', name:'pithos+', id:'pithos' }
};
var PROFILE_LINKS = window.CLOUDBAR_PROFILE_LINKS || {
'login': { url: '/im/login?next=' + window.location.toString(), auth:false, name: "login...", visible:false },
'profile': { url: '/im/profile', auth:true, name: "change your profile..." },
'profile': { url: '/im/profile', auth:true, name: "view your profile..." },
'password': { url: '/im/password', auth:true, name: "change your password..." },
'invitations': { url: '/im/invite', auth:true, name: "invite some friends..." },
'feedback': { url: '/im/feedback', auth:true, name: "feedback..." },
'logout': { url: '/im/logout', auth:true, name: "logout..." }
......
......@@ -478,7 +478,7 @@ a img {
}
.header {
position: relative;
margin-top: 88px;
margin-top: 42px;
margin-bottom: 22px;
}
.header h1 {
......@@ -547,7 +547,7 @@ ul.inline li {
.page {
zoom: 1;
margin-left: -22px;
margin-top: 132px;
margin-top: 42px;
font-size: 1.1em;
}
.page:before, .page:after {
......
......@@ -3,13 +3,13 @@
{% block page.title %}Profile{% endblock %}
{% block page.nav.classes %}{% endblock %}
{% block page.quicknav.items %}
{% comment %}{% block page.quicknav.items %}
<li class="{% block signup_class %}{% endblock %}">
<a href="{% url astakos.im.views.logout %}">LOGOUT</a>
</li>
{% endblock %}
{% endblock %}{% endcomment %}
{% block page.nav.items %}
{% comment %}{% block page.nav.items %}
<li class="{% if tab == "im/profile" %}active{% endif %}">
<a href="{% url astakos.im.views.edit_profile %}">Profile</a>
</li>
......@@ -24,7 +24,7 @@
<li class="{% if tab == "im/feedback" %}active{% endif %}">
<a href="{% url astakos.im.views.send_feedback %}">Send feedback</a>
</li>
{% endblock %}
{% endblock %}{% endcomment %}
{% block page.body %}
<div class="maincol {% block innerpage.class %}full{% endblock %}">
......
......@@ -78,22 +78,22 @@
</div>
<ul class="mainnav inline quicknav">
{% block page.quicknav.items %}
{% comment %}{% block page.quicknav.items %}
<li class="{% block signup_class %}{% endblock %}">
<a href="{% url astakos.im.views.index %}">Login</a>
</li>
<li class="{% block signin_class %}{% endblock %}">
<a href="{% url astakos.im.views.signup %}">Sign up</a>
</li>
{% endblock %}
{% endblock %}{% endcomment %}
</ul>
{% block page.nav %}
{% comment %}{% block page.nav %}
<ul class="mainnav inline">
{% block page.nav.items %}
{% endblock %}
</ul>
{% endblock %}
{% endblock %}{% endcomment %}
</div>
<div class="page">
{% if messages %}
......
......@@ -9,7 +9,7 @@ Login
<div class="section">
<img class="pic" src="{{ IM_STATIC_URL }}images/pictures/login_pic.png" />
</div>
{% include "im/services_description.html" %}
{% comment %}{% include "im/services_description.html" %}{% endcomment %}
{% endblock body %}
{% block body.right %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment