diff --git a/static/css/styles.css b/static/css/styles.css index 4f01869..f6f5b49 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -90,7 +90,21 @@ table, th, td { line-height: 1; } +.proxstar-limitbtn { + padding-top: 0px; + padding-bottom: 0px; + width: 70px; + height: 25px; + margin-top: 3px; + margin-bottom: 3px; +} + .resource-usage { width: 50%; - margin: 0 auto; + margin: 0px auto; +} + +.usage-limit { + width: 80%; + margin: 0px auto; } diff --git a/static/js/script.js b/static/js/script.js index 5d760f9..41b9c9c 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -391,7 +391,7 @@ $("#create-vm").click(function(){ const max_disk = $(this).data('max_disk') if (name && disk) { if (disk > max_disk) { - swal("Uh oh...", `You do not have enough disk resources available! Please lower the VM disk size to ${max_disk} GB or lower.`, "error"); + swal("Uh oh...", `You do not have enough disk resources available! Please lower the VM disk size to ${max_disk}GB or lower.`, "error"); } else { fetch(`/proxstar/hostname/${name}`, { credentials: 'same-origin', @@ -599,7 +599,7 @@ $(".edit-limit").click(function(){ disk.defaultValue = cur_disk; options.append(disk) swal({ - title: `Enter the new limits for ${user}:`, + title: `Enter the new usage limits for ${user}:`, content: options, buttons: { cancel: { diff --git a/templates/create.html b/templates/create.html index 6505015..65e582b 100644 --- a/templates/create.html +++ b/templates/create.html @@ -33,7 +33,7 @@
Username | @@ -27,8 +27,8 @@{{ user_limit[2] }} | {{ user_limit[3] }} | - - + + |
---|