Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
919a6b13
authored
Mar 20, 2015
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
templates: fix css issues, cleanup
parent
83580ad2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
12 deletions
+19
-12
circle/dashboard/static/dashboard/dashboard.less
+1
-1
circle/dashboard/templates/dashboard/_display-name.html
+5
-4
circle/dashboard/templates/dashboard/base.html
+12
-6
circle/dashboard/templates/dashboard/vm-detail/_activity-timeline.html
+1
-1
No files found.
circle/dashboard/static/dashboard/dashboard.less
View file @
919a6b13
...
...
@@ -71,7 +71,7 @@ html {
padding-bottom: 12.5px;
}
.navbar-nav
> li:last-child > a {
#dashboard-menu
> li:last-child > a {
padding-top: 4px;
padding-bottom: 0px;
padding-right: 0px;
...
...
circle/dashboard/templates/dashboard/_display-name.html
View file @
919a6b13
{% load i18n %}
{% if user and user.pk %}
{% if user.profile %}
<img
class=
"profile-avatar"
src=
"{{ user.profile.get_avatar_url }}"
title=
"
{% endif %}
{% if show_pic %}
<img
class=
"profile-avatar"
src=
"{{ user.profile.get_avatar_url }}"
/>
{% endif%}
{% if user.get_full_name %}{{ user.get_full_name }}{% else %}{{ user.username }}{% endif %}{% if new_line %}
<br
/>
{% endif %}
{% if show_org %}
...
...
@@ -13,5 +14,5 @@
({% trans "username" %}: {{ user.username }})
{% endif %}
{% endif %}
"
>
{% endif %}
circle/dashboard/templates/dashboard/base.html
View file @
919a6b13
...
...
@@ -47,6 +47,17 @@
</a>
</li>
{% endif %}
<li>
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
<i
class=
"fa fa-user"
></i>
{% include "dashboard/_display-name.html" with user=user show_org=True %}
</a>
</li>
<li>
<a
href=
"{% url "
logout
"
%}?
next=
{%
url
"
login
"
%}"
>
<i
class=
"fa fa-sign-out"
></i>
{% trans "Log out" %}
</a>
</li>
<li
class=
"visible-xs"
>
<a
href=
"{% url "
dashboard
.
views
.
notifications
"
%}"
>
{% trans "Notifications" %}
...
...
@@ -71,13 +82,8 @@
</ul>
</li>
<li>
<a
href=
"{% url "
logout
"
%}?
next=
{%
url
"
login
"
%}"
>
<i
class=
"fa fa-sign-out"
></i>
{% trans "Log out" %}
</a>
</li>
<li>
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
{% include "dashboard/_display-name.html" with user=user show_org=True %}
<img
class=
"profile-avatar"
src=
"{{ user.profile.get_avatar_url }}"
/>
</a>
</li>
</ul>
...
...
circle/dashboard/templates/dashboard/vm-detail/_activity-timeline.html
View file @
919a6b13
...
...
@@ -21,7 +21,7 @@
</strong>
{% endspaceless %}{% if a.times
<
2
%}
<
span
title=
"{{ a.started }}"
>
{{ a.started|arrowfilter:LANGUAGE_CODE }}
</span>
{% endif %}{% if a.user %},
<a
class=
"no-style-link"
href=
"{% url "
dashboard
.
views
.
profile
"
username=
a.user.username
%}"
>
{% include "dashboard/_display-name.html" with user=a.user show_org=True %}
{% include "dashboard/_display-name.html" with user=a.user show_org=True
show_pic=True
%}
</a>
{% endif %}
{% if a.is_abortable_for_user %}
...
...
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