Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Issue ONEPLUS-206
Browse files Browse the repository at this point in the history
Rearranged the menu items
Updated the colour of the menu items and the respective page headers as requested.
  • Loading branch information
msinovcic committed Mar 13, 2015
1 parent 1e6cb56 commit ee4804f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion oneplus/templates/com/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="menu">
<a href="/blog"><div class="text heading purple-back darkgrey-front"><li class="icon blog"></li><p>Blog</p></div></a>
</div>
<div class="text heading darkgrey-back"><p>What we have to tell you</p></div>
<div class="text heading purple-back"><p>What we have to tell you</p></div>

<div class="content narrow white-back">
{% if post.big_image %}
Expand Down
2 changes: 1 addition & 1 deletion oneplus/templates/com/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block content %}
{% load humanize %}
<div class="menu">
<a href="/chat"><div class="text heading blue-back darkgrey-front"><li class="icon chat"></li><p>Chat Groups</p></div></a>
<a href="/chat"><div class="text heading cyan-back darkgrey-front"><li class="icon chat"></li><p>Chat Groups</p></div></a>
</div>
<div class="text heading darkgrey-back"><p>{{ group.name }}</p></div>

Expand Down
2 changes: 1 addition & 1 deletion oneplus/templates/com/chatgroup.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block content %}
{% load humanize %}
<div class="menu">
<a href="/menu"><div class="text heading blue-back darkgrey-front"><li class="icon chat"></li><p>Chat Groups</p></div></a>
<a href="/menu"><div class="text heading cyan-back darkgrey-front"><li class="icon chat"></li><p>Chat Groups</p></div></a>
<div class="menu">
<div class="text heading darkgrey-back"><p>Connect with others</p></div>

Expand Down
26 changes: 13 additions & 13 deletions oneplus/templates/core/menu.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{% extends "core/main.html" %}

{% block content %}
<div class="menu">
<a href="/welcome"><div class="item text green-back darkgrey-front"><li class="icon welcome"></li><p>Welcome</p></div></a>
<a href="/ontrack"><div class="item text green-back darkgrey-front"><li class="icon ontrack"></li><p>On Track</p></div></a>
<a href="/badges"><div class="item text cyan-back darkgrey-front"><li class="icon badges"></li><p>Badges</p></div></a>
<a href="/chat"><div class="item text blue-back darkgrey-front"><li class="icon chat"></li><p>Chat Groups</p></div></a>
<a href="/blog"><div class="item text purple-back darkgrey-front"><li class="icon blog"></li><p>Blog</p></div></a>
<a href="/leader"><div class="item text red-back darkgrey-front"><li class="icon leaderboard"></li><p>Leaderboard</p></div></a>
<a href="/points"><div class="item text orange-back darkgrey-front"><li class="icon points"></li><p>Points</p></div></a>
<a href="/inbox"><div class="item text yellow-back darkgrey-front"><li class="icon inbox"></li><p>Inbox</p></div></a>
<a href="/faq"><div class="item text yellow-back darkgrey-front"><li class="icon faq"></li><p>FAQ</p></div></a>
<a href="/home"><div class="item text grey-back white-front"><li class="icon home"></li><p>Home</p></div></a>
<a href="/signout"><div class="item text grey-back white-front"><li class="icon user"></li><p>Logout</p></div></a>
</div>
<div class="menu">
<a href="/welcome"><div class="item text green-back darkgrey-front"><li class="icon welcome"></li><p>Welcome</p></div></a>
<a href="/ontrack"><div class="item text green-back darkgrey-front"><li class="icon ontrack"></li><p>On Track</p></div></a>
<a href="/chat"><div class="item text cyan-back darkgrey-front"><li class="icon chat"></li><p>Chat Groups</p></div></a>
<a href="/faq"><div class="item text blue-back darkgrey-front"><li class="icon faq"></li><p>FAQ</p></div></a>
<a href="/blog"><div class="item text purple-back darkgrey-front"><li class="icon blog"></li><p>Blog</p></div></a>
<a href="/badges"><div class="item text red-back darkgrey-front"><li class="icon badges"></li><p>Badges</p></div></a>
<a href="/leader"><div class="item text orange-back darkgrey-front"><li class="icon leaderboard"></li><p>Leaderboard</p></div></a>
<a href="/points"><div class="item text orange-back darkgrey-front"><li class="icon points"></li><p>Points</p></div></a>
<a href="/inbox"><div class="item text yellow-back darkgrey-front"><li class="icon inbox"></li><p>Inbox</p></div></a>
<a href="/home"><div class="item text yellow-back darkgrey-front"><li class="icon home"></li><p>Home</p></div></a>
<a href="/signout"><div class="item text grey-back white-front"><li class="icon user"></li><p>Logout</p></div></a>
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion oneplus/templates/misc/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% block content %}
<div class="content">
<h1 class="green-front xlarge-font center-font">FAQ</h1>
<h1 class="blue-front xlarge-font center-font">FAQ</h1>
<p class="center-font"></p>
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion oneplus/templates/prog/badges.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% block content %}
<div class="menu">
<a href="/menu"><div class="text heading cyan-back darkgrey-front"><li class="icon badges"></li><p>Badges</p></div></a>
<a href="/menu"><div class="text heading red-back darkgrey-front"><li class="icon badges"></li><p>Badges</p></div></a>
</div>
<div class="text heading darkgrey-back"><p>The badges you've earned</p></div>

Expand Down
2 changes: 1 addition & 1 deletion oneplus/templates/prog/leader.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block content %}
{% load humanize %}
<div class="menu">
<a href="/menu"><div class="text heading red-back darkgrey-front"><li class="icon leaderboard"></li><p>Leaderboard</p></div></a>
<a href="/menu"><div class="text heading orange-back darkgrey-front"><li class="icon leaderboard"></li><p>Leaderboard</p></div></a>
</div>
<div class="text heading darkgrey-back">{% if state.leader_place > 0 %}
<p>Well done, you're in <span class="red-front">{{ state.leader_place|ordinal }} Place</span>
Expand Down

0 comments on commit ee4804f

Please sign in to comment.