mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
overhaul of rtp view, added simple caching, added rrd graphs
This commit is contained in:
parent
b9e5236f0a
commit
2b69443930
10 changed files with 229 additions and 72 deletions
|
|
@ -105,6 +105,37 @@ table, th, td {
|
|||
}
|
||||
|
||||
.usage-limit {
|
||||
width: 80%;
|
||||
margin: 0px auto;
|
||||
}
|
||||
|
||||
.rrd-graph {
|
||||
width: 800px;
|
||||
height: 200px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.profile {
|
||||
float: left;
|
||||
width: 35%;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.profile-img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.progress {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 0px;
|
||||
float: right;
|
||||
width: 85%;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.resource-bar {
|
||||
width: 60%;
|
||||
float: right;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -584,18 +584,21 @@ $(".edit-limit").click(function(){
|
|||
cpu_text.innerHTML = 'CPU';
|
||||
options.append(cpu_text);
|
||||
var cpu = document.createElement('input');
|
||||
cpu.type = 'number';
|
||||
cpu.defaultValue = cur_cpu;
|
||||
options.append(cpu);
|
||||
mem_text = document.createElement('p');
|
||||
mem_text.innerHTML = 'Memory (GB)';
|
||||
options.append(mem_text);
|
||||
var mem = document.createElement('input');
|
||||
mem.type = 'number';
|
||||
mem.defaultValue = cur_mem;
|
||||
options.append(mem)
|
||||
disk_text = document.createElement('p');
|
||||
disk_text.innerHTML = 'Disk (GB)';
|
||||
options.append(disk_text);
|
||||
var disk = document.createElement('input');
|
||||
disk.type = 'number';
|
||||
disk.defaultValue = cur_disk;
|
||||
options.append(disk)
|
||||
swal({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue