Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
245a47ea
Commit
245a47ea
authored
Apr 08, 2016
by
David Haynes
🙆
Browse files
FontAwesome up the navbar
- super sexy font + some icons - thanks FontAwesome!
parent
2ab7da52
Changes
1
Hide whitespace changes
Inline
Side-by-side
go/go/templates/layouts/navigation.html
View file @
245a47ea
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
</button>
<a
class=
"navbar-brand"
href=
"{% url 'index' %}"
>
Go
</a>
<a
class=
"navbar-brand"
href=
"{% url 'index' %}"
>
<i
class=
"fa fa-link"
>
Go
</i>
</a>
</div>
</div>
<div
class=
"navbar-collapse collapse navbar-responsive-collapse"
>
<div
class=
"navbar-collapse collapse navbar-responsive-collapse"
>
<ul
class=
"nav navbar-nav navbar-left"
>
<ul
class=
"nav navbar-nav navbar-left"
>
...
@@ -20,16 +20,16 @@
...
@@ -20,16 +20,16 @@
</ul>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
style=
"margin-right:5%;"
>
<ul
class=
"nav navbar-nav navbar-right"
style=
"margin-right:5%;"
>
{% if user.is_authenticated %}
{% if user.is_authenticated %}
<li><a
href=
"{% url 'go_logout' %}"
>
Log Out
</a></li>
<li><a
href=
"{% url 'go_logout' %}"
>
Log Out
<i
class=
"fa fa-sign-out fa-fw"
></i>
</a></li>
{% else %}
{% else %}
<li><a
href=
"{% url 'go_login' %}"
>
Log In
</a></li>
<li><a
href=
"{% url 'go_login' %}"
>
Log In
<i
class=
"fa fa-sign-in fa-fw"
></i>
</a></li>
{% endif %}
{% endif %}
{% if user.is_staff and user|is_approved %}
{% if user.is_staff and user|is_approved %}
<li
class=
"dropdown"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Administration
<b
class=
"
caret
"
></
b
></a>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Administration
<i
class=
"
fa fa-caret-down fa-fw
"
></
i
></a>
<ul
class=
"dropdown-menu"
>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"{% url 'useradmin' %}"
>
User Moderation
</a></li>
<li><a
href=
"{% url 'useradmin' %}"
>
User Moderation
<i
class=
"fa fa-users fa-fw"
></i>
</a></li>
<li><a
href=
"{% url 'signup' %}"
>
Signup
</a></li>
<li><a
href=
"{% url 'signup' %}"
>
Signup
New Users
<i
class=
"fa fa-user-plus fa-fw"
></i>
</a></li>
</ul>
</ul>
</li>
</li>
{% endif %}
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment