simple tuning of download graphs
This commit is contained in:
parent
3cb36cdee7
commit
a3c98a47ae
|
@ -36,6 +36,8 @@
|
|||
.more_info {
|
||||
min-height: 0px;
|
||||
}
|
||||
|
||||
|
||||
.button_set {
|
||||
float: right;
|
||||
margin-bottom: 5px;
|
||||
|
@ -48,15 +50,10 @@
|
|||
text-align: center;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
#active_downloads {
|
||||
/* min-width: 856px; */
|
||||
}
|
||||
.active_graph {
|
||||
height:300px;
|
||||
width: 80%;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
/* min-width: 856px; */
|
||||
width: 80%;
|
||||
}
|
||||
.download_item {
|
||||
margin-bottom: 10px;
|
||||
|
|
|
@ -491,7 +491,10 @@ function updateGraph(gid) {
|
|||
}
|
||||
}
|
||||
function createGraph(selector) {
|
||||
return $.plot(selector, [{
|
||||
var elem = $(selector);
|
||||
elem.height(elem.width() / 2);
|
||||
|
||||
return $.plot(elem, [{
|
||||
label: "Download Speed",
|
||||
data: [],
|
||||
color: "#ff0000",
|
||||
|
|
Loading…
Reference in New Issue
Block a user