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
435048c3
authored
Oct 28, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix store progress bar
parent
a547cac5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
circle/dashboard/templates/dashboard/store/list.html
+4
-3
No files found.
circle/dashboard/templates/dashboard/store/list.html
View file @
435048c3
...
@@ -18,20 +18,21 @@
...
@@ -18,20 +18,21 @@
<div
class=
"progress-bar"
role=
"progressbar"
<div
class=
"progress-bar"
role=
"progressbar"
aria-valuenow=
"{{ quota.used }}"
aria-valuemin=
"0"
aria-valuemax=
"{{ quota.hard }}"
aria-valuenow=
"{{ quota.used }}"
aria-valuemin=
"0"
aria-valuemax=
"{{ quota.hard }}"
style=
"width: {% widthratio quota.used quota.hard 100 %}%; min-width: 150px;"
>
style=
"width: {% widthratio quota.used quota.hard 100 %}%; min-width: 150px;"
>
<div
style=
"padding-top: 2px;"
>
<div>
{% blocktrans with used=quota.readable_used %}
{% blocktrans with used=quota.readable_used %}
{{ used }} used
{{ used }} used
{% endblocktrans %}
{% endblocktrans %}
</div>
</div>
</div>
</div>
<div
class=
"progress-marker"
id=
"progress-marker-hard"
data-placement=
"left"
<div
class=
"progress-marker"
id=
"progress-marker-hard"
data-placement=
"top"
data-container=
"body"
title=
"{% trans "
Hard
limit
"
%}
:
{{
quota
.
readable_hard
}}"
>
title=
"{% trans "
Hard
limit
"
%}
:
{{
quota
.
readable_hard
}}"
>
</div>
</div>
<div
class=
"progress-marker"
id=
"progress-marker-soft"
style=
"background: orange;
<div
class=
"progress-marker"
id=
"progress-marker-soft"
style=
"background: orange;
left: {% widthratio quota.soft quota.hard 100 %}%"
left: {% widthratio quota.soft quota.hard 100 %}%"
title=
"{% trans "
Soft
limit
"
%}
:
{{
quota
.
readable_soft
}}"
title=
"{% trans "
Soft
limit
"
%}
:
{{
quota
.
readable_soft
}}"
data-placement=
"top"
>
data-placement=
"top"
data-container=
"body"
>
</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