Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
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 {
...
@@ -593,7 +593,7 @@ footer a, footer a:hover, footer a:visited {
}
}
#dashboard-vm-list, #dashboard-node-list, #dashboard-group-list,
#dashboard-vm-list, #dashboard-node-list, #dashboard-group-list,
#dashboard-template-list {
#dashboard-template-list
, #dashboard-files-toplist
{
min-height: 200px;
min-height: 200px;
}
}
...
@@ -756,10 +756,6 @@ textarea[name="new_members"] {
...
@@ -756,10 +756,6 @@ textarea[name="new_members"] {
margin-top: 8px;
margin-top: 8px;
}
}
#dashboard-files-toplist {
min-height: 204px;
}
#dashboard-files-toplist div.list-group-item {
#dashboard-files-toplist div.list-group-item {
color: #555;
color: #555;
}
}
...
...
circle/dashboard/templates/dashboard/store/index-files.html
View file @
4a5f85ee
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
class=
"list-group-item
class=
"list-group-item
{% if forloop.last and files.toplist|length < 5 %}list-group-item-last{% endif %}"
>
{% if forloop.last and files.toplist|length < 5 %}list-group-item-last{% endif %}"
>
<i
class=
"fa fa-{{ t.icon }} dashboard-toplist-icon"
></i>
<i
class=
"fa fa-{{ t.icon }} dashboard-toplist-icon"
></i>
<div
class=
"store-list-item-name"
>
<div
class=
"store-list-item-name"
>
{{ t.NAME }}
{{ t.NAME }}
</div>
</div>
<div
style=
"clear: both;"
></div>
<div
style=
"clear: both;"
></div>
...
@@ -53,20 +53,22 @@
...
@@ -53,20 +53,22 @@
{% trans "Your toplist is empty, upload something." %}
{% trans "Your toplist is empty, upload something." %}
</div>
</div>
{% endfor %}
{% endfor %}
</div>
</div>
<div
class=
"list-group-item text-right no-hover"
>
<div
class=
"list-group-item list-group-footer no-hover"
>
<form
class=
"pull-left"
method=
"POST"
action=
"{% url "
dashboard
.
views
.
store-refresh-toplist
"
%}"
>
<div
class=
"text-right"
>
{% csrf_token %}
<form
class=
"pull-left"
method=
"POST"
action=
"{% url "
dashboard
.
views
.
store-refresh-toplist
"
%}"
>
<button
class=
"btn btn-success btn-xs"
type=
"submit"
title=
"{% trans "
Refresh
"
%}"
/>
{% csrf_token %}
<i
class=
"fa fa-refresh"
></i>
<button
class=
"btn btn-success btn-xs"
type=
"submit"
title=
"{% trans "
Refresh
"
%}"
/>
</button>
<i
class=
"fa fa-refresh"
></i>
</form>
</button>
<a
href=
"{% url "
dashboard
.
views
.
store-list
"
%}"
class=
"btn btn-primary btn-xs"
>
</form>
<i
class=
"fa fa-chevron-circle-right"
></i>
{% trans "show my files" %}
<a
href=
"{% url "
dashboard
.
views
.
store-list
"
%}"
class=
"btn btn-primary btn-xs"
>
</a>
<i
class=
"fa fa-chevron-circle-right"
></i>
{% trans "show my files" %}
<a
href=
"{% url "
dashboard
.
views
.
store-upload
"
%}"
class=
"btn btn-success btn-xs"
>
</a>
<i
class=
"fa fa-cloud-upload"
></i>
{% trans "upload" %}
<a
href=
"{% url "
dashboard
.
views
.
store-upload
"
%}"
class=
"btn btn-success btn-xs"
>
</a>
<i
class=
"fa fa-cloud-upload"
></i>
{% trans "upload" %}
</a>
</div>
</div>
</div>
</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