Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
178e1724
authored
Mar 05, 2018
by
Szabolcs Gelencser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix logout button alignment
parent
d5c96378
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
51 deletions
+55
-51
.idea/workspace.xml
+0
-0
circle/dashboard/templates/dashboard/base.html
+55
-51
No files found.
.idea/workspace.xml
View file @
178e1724
This diff is collapsed.
Click to expand it.
circle/dashboard/templates/dashboard/base.html
View file @
178e1724
...
@@ -13,60 +13,63 @@
...
@@ -13,60 +13,63 @@
{% block navbar %}
{% block navbar %}
{% if view.request.user.is_authenticated and view.request.user.pk and not view.request.token_user %}
{% if view.request.user.is_authenticated and view.request.user.pk and not view.request.token_user %}
<span
id=
"user-options"
data-desktop_notifications=
"{{ request.user.profile.desktop_notifications }}"
></span>
{#
<span
id=
"user-options"
data-desktop_notifications=
"{{ request.user.profile.desktop_notifications }}"
></span>
#}
<ul
class=
"nav navbar-nav navbar-right"
id=
"dashboard-menu"
>
<ul
class=
"nav navbar-nav navbar-right"
id=
"dashboard-menu"
>
{% if request.user.is_superuser %}
{# {% if request.user.is_superuser %}#}
{% if ADMIN_ENABLED %}
{# {% if ADMIN_ENABLED %}#}
<li>
{#
<li>
#}
<a
href=
"/admin/"
>
{#
<a
href=
"/admin/"
>
#}
<i
class=
"fa fa-cogs"
></i>
{#
<i
class=
"fa fa-cogs"
></i>
#}
<span
class=
"hidden-sm"
>
{% trans "Admin" %}
</span>
{#
<span
class=
"hidden-sm"
>
{% trans "Admin" %}
</span>
#}
</a>
{#
</a>
#}
</li>
{#
</li>
#}
<li>
{#
<li>
#}
<a
href=
"/rosetta/"
>
{#
<a
href=
"/rosetta/"
>
#}
<i
class=
"fa fa-space-shuttle"
></i>
{#
<i
class=
"fa fa-space-shuttle"
></i>
#}
<span
class=
"hidden-sm"
>
{% trans "Translations" %}
</span>
{#
<span
class=
"hidden-sm"
>
{% trans "Translations" %}
</span>
#}
</a>
{#
</a>
#}
</li>
{#
</li>
#}
{% endif %}
{# {% endif %}#}
<li>
{#
<li>
#}
<a
href=
"{% url "
dashboard
.
views
.
message-list
"
%}"
>
{#
<a
href=
"{% url "
dashboard
.
views
.
message-list
"
%}"
>
#}
<i
class=
"fa fa-bullhorn"
></i>
{#
<i
class=
"fa fa-bullhorn"
></i>
#}
<span
class=
"hidden-sm"
>
{% trans "Messages" %}
</span>
{#
<span
class=
"hidden-sm"
>
{% trans "Messages" %}
</span>
#}
</a>
{#
</a>
#}
</li>
{#
</li>
#}
<li>
{#
<li>
#}
<a
href=
"{% url "
dashboard
.
views
.
storage
"
%}"
>
{#
<a
href=
"{% url "
dashboard
.
views
.
storage
"
%}"
>
#}
<i
class=
"fa fa-database"
></i>
{#
<i
class=
"fa fa-database"
></i>
#}
<span
class=
"hidden-sm"
>
{% trans "Storage" %}
</span>
{#
<span
class=
"hidden-sm"
>
{% trans "Storage" %}
</span>
#}
</a>
{#
</a>
#}
</li>
{#
</li>
#}
<li>
{#
<li>
#}
<a
href=
"{% url "
network
.
index
"
%}"
>
{#
<a
href=
"{% url "
network
.
index
"
%}"
>
#}
<i
class=
"fa fa-globe"
></i>
{#
<i
class=
"fa fa-globe"
></i>
#}
<span
class=
"hidden-sm"
>
{% trans "Network" %}
</span>
{#
<span
class=
"hidden-sm"
>
{% trans "Network" %}
</span>
#}
</a>
{#
</a>
#}
</li>
{#
</li>
#}
<li>
{#
<li>
#}
<a
href=
"{% url "
request
.
views
.
request-list
"
%}"
>
{#
<a
href=
"{% url "
request
.
views
.
request-list
"
%}"
>
#}
<i
class=
"fa fa-phone"
></i>
{#
<i
class=
"fa fa-phone"
></i>
#}
<span
class=
"hidden-sm"
>
{% trans "Requests" %}
</span>
{#
<span
class=
"hidden-sm"
>
{% trans "Requests" %}
</span>
#}
</a>
{#
</a>
#}
</li>
{#
</li>
#}
{% endif %}
{# {% endif %}#}
{#
<li>
#}
{#
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
#}
{#
<li>
#}
{#
<i
class=
"fa fa-user"
></i>
#}
{#
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
#}
{# {% include "dashboard/_display-name.html" with user=request.user show_org=True %}#}
{#
<i
class=
"fa fa-user"
></i>
#}
{#
</a>
#}
{# {% include "dashboard/_display-name.html" with user=request.user show_org=True %}#}
{#
</li>
#}
{#
</a>
#}
{#
</li>
#}
<li>
<li>
<a
href=
"{% url "
logout
"
%}?
next=
{%
url
"
login
"
%}"
>
<a
href=
"{% url "
logout
"
%}?
next=
{%
url
"
login
"
%}"
>
<i
class=
"fa fa-sign-out"
></i>
{% trans "Log out" %}
<i
class=
"fa fa-sign-out"
></i>
{% trans "Log out" %}
</a>
</a>
</li>
</li>
{#
<li
class=
"visible-xs"
>
#}
{#
<li
class=
"visible-xs"
>
#}
{#
<a
href=
"{% url "
dashboard
.
views
.
notifications
"
%}"
>
#}
{#
<a
href=
"{% url "
dashboard
.
views
.
notifications
"
%}"
>
#}
{# {% trans "Notifications" %}#}
{# {% trans "Notifications" %}#}
...
@@ -90,11 +93,12 @@
...
@@ -90,11 +93,12 @@
{#
<li>
{% trans "Loading..." %}
</li>
#}
{#
<li>
{% trans "Loading..." %}
</li>
#}
{#
</ul>
#}
{#
</ul>
#}
{#
</li>
#}
{#
</li>
#}
{#
<li
class=
"hidden-xs"
>
#}
<li
class=
"hidden-xs"
>
{#
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
#}
{# TODO: link to preferences #}
<a>
{#
<img
class=
"profile-avatar"
src=
"{{ request.user.profile.get_avatar_url }}"
/>
#}
{#
<img
class=
"profile-avatar"
src=
"{{ request.user.profile.get_avatar_url }}"
/>
#}
{#
</a>
#}
</a>
{#
</li>
#}
</li>
</ul>
</ul>
{% else %}
{% else %}
...
...
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