Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add config page to navigation, move `other league`

  • Loading branch information...
commit 2a4cf0eadb46c4ed21a87f82c4a2796d05a632c0 1 parent ed71642
@artnez authored
View
19 src/faceoff/static/css/faceoff.simple.css
@@ -89,7 +89,8 @@ h2 {
#extra-nav {
position: absolute;
top: -22px;
- right: 0;
+ left: 0;
+ width: 100%;
}
#extra-nav h3 {
@@ -97,6 +98,7 @@ h2 {
}
#extra-nav ul {
+ float: right;
list-style: none;
padding: 0;
margin: 0;
@@ -113,6 +115,21 @@ h2 {
background: none;
}
+#extra-nav ul.left {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+
+#extra-nav ul.left li {
+ margin: 0;
+ padding: 0;
+}
+
+#extra-nav ul.left li a:before {
+ content: "« ";
+}
+
#flash-messages {
margin: 0 0 25px 0;
}
View
5 src/faceoff/templates/layouts/league.html
@@ -31,10 +31,13 @@
{% if current_user %}
<div id='extra-nav'>
<h3>Other Stuff</h3>
+ <ul class='menu left'>
+ <li><a href='{{ url_for('landing') }}'>other leagues</a></li>
+ </ul>
<ul class='menu'>
<li><span>{{ current_user.nickname }}</span></li>
<li><a href='{{ url_for('profile') }}'>edit profile</a></li>
- <li><a href='{{ url_for('landing') }}'>other leagues</a></li>
+ <li><a href='{{ url_for('config') }}'>configuration</a></li>
<li><a href='{{ url_for('logout') }}' data-confirm='Are you sure you want to logout?'>logout</a></li>
</ul>
</div>
View
1  src/faceoff/templates/layouts/simple.html
@@ -14,6 +14,7 @@
<ul class='menu'>
<li><span>{{ current_user.nickname }}</span></li>
<li><a href='{{ url_for('profile') }}'>edit profile</a></li>
+ <li><a href='{{ url_for('config') }}'>configuration</a></li>
<li><a href='{{ url_for('logout') }}' data-confirm='Are you sure you want to logout?'>logout</a></li>
</ul>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.