Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
aecfc213
Commit
aecfc213
authored
Sep 23, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show total size
parent
41286d64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
debomatic-webui/public/javascripts/page_history.js
debomatic-webui/public/javascripts/page_history.js
+2
-1
debomatic-webui/views/history.ejs
debomatic-webui/views/history.ejs
+2
-2
No files found.
debomatic-webui/public/javascripts/page_history.js
View file @
aecfc213
...
...
@@ -196,7 +196,8 @@ function Page_History() {
var
labels
=
[];
for
(
var
distribution
in
socket_data
)
{
if
(
distribution
==
'
size
'
)
{
total_sizes
.
size
=
socket_data
[
distribution
];
var
total_size_in_gb
=
Number
(
socket_data
.
size
/
1000
).
toFixed
(
1
);
$
(
"
#disk-usage .total-size
"
).
text
(
total_size_in_gb
+
'
GB
'
);
continue
;
}
distributions
.
push
(
distribution
);
...
...
debomatic-webui/views/history.ejs
View file @
aecfc213
...
...
@@ -15,9 +15,9 @@
</p>
<div id="distributions-chart" class="ct-chart"></div>
</div>
<div class="col-md-4">
<div
id="disk-usage"
class="col-md-4">
<p class="lead text-muted">
Disk usage
Disk usage
<span class="total-size"></span>
</p>
<div id="disk-chart" class="ct-chart"></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