Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
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
4a5f85ee
authored
Jan 01, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix toplist panel
parent
fbe6d2db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
20 deletions
+18
-20
circle/dashboard/static/dashboard/dashboard.less
+1
-5
circle/dashboard/templates/dashboard/store/index-files.html
+17
-15
No files found.
circle/dashboard/static/dashboard/dashboard.less
View file @
4a5f85ee
...
...
@@ -593,7 +593,7 @@ footer a, footer a:hover, footer a:visited {
}
#dashboard-vm-list, #dashboard-node-list, #dashboard-group-list,
#dashboard-template-list {
#dashboard-template-list
, #dashboard-files-toplist
{
min-height: 200px;
}
...
...
@@ -756,10 +756,6 @@ textarea[name="new_members"] {
margin-top: 8px;
}
#dashboard-files-toplist {
min-height: 204px;
}
#dashboard-files-toplist div.list-group-item {
color: #555;
}
...
...
circle/dashboard/templates/dashboard/store/index-files.html
View file @
4a5f85ee
...
...
@@ -42,7 +42,7 @@
class=
"list-group-item
{% if forloop.last and files.toplist|length < 5 %}list-group-item-last{% endif %}"
>
<i
class=
"fa fa-{{ t.icon }} dashboard-toplist-icon"
></i>
<div
class=
"store-list-item-name"
>
<div
class=
"store-list-item-name"
>
{{ t.NAME }}
</div>
<div
style=
"clear: both;"
></div>
...
...
@@ -53,20 +53,22 @@
{% trans "Your toplist is empty, upload something." %}
</div>
{% endfor %}
</div>
<div
class=
"list-group-item text-right no-hover"
>
<form
class=
"pull-left"
method=
"POST"
action=
"{% url "
dashboard
.
views
.
store-refresh-toplist
"
%}"
>
{% csrf_token %}
<button
class=
"btn btn-success btn-xs"
type=
"submit"
title=
"{% trans "
Refresh
"
%}"
/>
<i
class=
"fa fa-refresh"
></i>
</button>
</form>
<a
href=
"{% url "
dashboard
.
views
.
store-list
"
%}"
class=
"btn btn-primary btn-xs"
>
<i
class=
"fa fa-chevron-circle-right"
></i>
{% trans "show my files" %}
</a>
<a
href=
"{% url "
dashboard
.
views
.
store-upload
"
%}"
class=
"btn btn-success btn-xs"
>
<i
class=
"fa fa-cloud-upload"
></i>
{% trans "upload" %}
</a>
</div>
<div
class=
"list-group-item list-group-footer no-hover"
>
<div
class=
"text-right"
>
<form
class=
"pull-left"
method=
"POST"
action=
"{% url "
dashboard
.
views
.
store-refresh-toplist
"
%}"
>
{% csrf_token %}
<button
class=
"btn btn-success btn-xs"
type=
"submit"
title=
"{% trans "
Refresh
"
%}"
/>
<i
class=
"fa fa-refresh"
></i>
</button>
</form>
<a
href=
"{% url "
dashboard
.
views
.
store-list
"
%}"
class=
"btn btn-primary btn-xs"
>
<i
class=
"fa fa-chevron-circle-right"
></i>
{% trans "show my files" %}
</a>
<a
href=
"{% url "
dashboard
.
views
.
store-upload
"
%}"
class=
"btn btn-success btn-xs"
>
<i
class=
"fa fa-cloud-upload"
></i>
{% trans "upload" %}
</a>
</div>
</div>
</div>
</div>
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