From d66b15e2c656c971d62dae3448a2c489684e331c Mon Sep 17 00:00:00 2001 From: Bubun Das Date: Sat, 16 Dec 2023 14:38:56 +0530 Subject: [PATCH] Service status added --- assets/css/style.min.css | 2 +- scalewithus.php | 3 ++- templates/client.tpl | 24 ++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/assets/css/style.min.css b/assets/css/style.min.css index 2993753..b42f09a 100644 --- a/assets/css/style.min.css +++ b/assets/css/style.min.css @@ -1,2 +1,2 @@ -/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/.scalewithus *,.scalewithus :after,.scalewithus :before{border:0 solid #e5e7eb;box-sizing:border-box}.scalewithus :after,.scalewithus :before{--tw-content:""}.scalewithus html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.scalewithus body{line-height:inherit;margin:0}.scalewithus hr{border-top-width:1px;color:inherit;height:0}.scalewithus abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.scalewithus h1,.scalewithus h2,.scalewithus h3,.scalewithus h4,.scalewithus h5,.scalewithus h6{font-size:inherit;font-weight:inherit}.scalewithus a{color:inherit;text-decoration:inherit}.scalewithus b,.scalewithus strong{font-weight:bolder}.scalewithus code,.scalewithus kbd,.scalewithus pre,.scalewithus samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.scalewithus small{font-size:80%}.scalewithus sub,.scalewithus sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.scalewithus sub{bottom:-.25em}.scalewithus sup{top:-.5em}.scalewithus table{border-collapse:collapse;border-color:inherit;text-indent:0}.scalewithus button,.scalewithus input,.scalewithus optgroup,.scalewithus select,.scalewithus textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}.scalewithus button,.scalewithus select{text-transform:none}.scalewithus [type=button],.scalewithus [type=reset],.scalewithus [type=submit],.scalewithus button{-webkit-appearance:button;background-color:transparent;background-image:none}.scalewithus :-moz-focusring{outline:auto}.scalewithus :-moz-ui-invalid{box-shadow:none}.scalewithus progress{vertical-align:baseline}.scalewithus ::-webkit-inner-spin-button,.scalewithus ::-webkit-outer-spin-button{height:auto}.scalewithus [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.scalewithus ::-webkit-search-decoration{-webkit-appearance:none}.scalewithus ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.scalewithus summary{display:list-item}.scalewithus blockquote,.scalewithus dd,.scalewithus dl,.scalewithus figure,.scalewithus h1,.scalewithus h2,.scalewithus h3,.scalewithus h4,.scalewithus h5,.scalewithus h6,.scalewithus hr,.scalewithus p,.scalewithus pre{margin:0}.scalewithus fieldset{margin:0;padding:0}.scalewithus legend{padding:0}.scalewithus menu,.scalewithus ol,.scalewithus ul{list-style:none;margin:0;padding:0}.scalewithus dialog{padding:0}.scalewithus textarea{resize:vertical}.scalewithus input::-moz-placeholder,.scalewithus textarea::-moz-placeholder{color:#9ca3af;opacity:1}.scalewithus input::placeholder,.scalewithus textarea::placeholder{color:#9ca3af;opacity:1}.scalewithus [role=button],.scalewithus button{cursor:pointer}.scalewithus :disabled{cursor:default}.scalewithus audio,.scalewithus canvas,.scalewithus embed,.scalewithus iframe,.scalewithus img,.scalewithus object,.scalewithus svg,.scalewithus video{display:block;vertical-align:middle}.scalewithus img,.scalewithus video{height:auto;max-width:100%}.scalewithus [hidden]{display:none}.scalewithus *,.scalewithus :after,.scalewithus :before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.scalewithus ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.scalewithus .relative{position:relative}.scalewithus .col-span-3{grid-column:span 3/span 3}.scalewithus .mb-1{margin-bottom:.25rem}.scalewithus .mb-3{margin-bottom:.75rem}.scalewithus .ml-2{margin-left:.5rem}.scalewithus .mr-1{margin-right:.25rem}.scalewithus .mt-4{margin-top:1rem}.scalewithus .block{display:block}.scalewithus .flex{display:flex}.scalewithus .grid{display:grid}.scalewithus .hidden{display:none}.scalewithus .w-full{width:100%}.scalewithus .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scalewithus .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.scalewithus .items-center{align-items:center}.scalewithus .gap-1{gap:.25rem}.scalewithus .gap-4{gap:1rem}.scalewithus .rounded{border-radius:.25rem}.scalewithus .border-0{border-width:0}.scalewithus .bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.scalewithus .bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.scalewithus .bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.scalewithus .bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.scalewithus .bg-pink-500{--tw-bg-opacity:1;background-color:rgb(236 72 153/var(--tw-bg-opacity))}.scalewithus .bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.scalewithus .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.scalewithus .p-1{padding:.25rem}.scalewithus .p-2{padding:.5rem}.scalewithus .p-4{padding:1rem}.scalewithus .px-4{padding-left:1rem;padding-right:1rem}.scalewithus .py-2{padding-bottom:.5rem;padding-top:.5rem}.scalewithus .text-left{text-align:left}.scalewithus .text-sm{font-size:.875rem;line-height:1.25rem}.scalewithus .text-xs{font-size:.75rem;line-height:1rem}.scalewithus .font-bold{font-weight:700}.scalewithus .font-semibold{font-weight:600}.scalewithus .uppercase{text-transform:uppercase}.scalewithus .text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.scalewithus .text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.scalewithus .text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.scalewithus .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.scalewithus .outline-none{outline:2px solid transparent;outline-offset:2px}.scalewithus .transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.scalewithus .duration-150{transition-duration:.15s}.scalewithus .ease-linear{transition-timing-function:linear}.hover\:bg-blue-600:hover{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.active\:bg-pink-600:active{--tw-bg-opacity:1;background-color:rgb(219 39 119/var(--tw-bg-opacity))} +/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/.scalewithus *,.scalewithus :after,.scalewithus :before{border:0 solid #e5e7eb;box-sizing:border-box}.scalewithus :after,.scalewithus :before{--tw-content:""}.scalewithus html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.scalewithus body{line-height:inherit;margin:0}.scalewithus hr{border-top-width:1px;color:inherit;height:0}.scalewithus abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.scalewithus h1,.scalewithus h2,.scalewithus h3,.scalewithus h4,.scalewithus h5,.scalewithus h6{font-size:inherit;font-weight:inherit}.scalewithus a{color:inherit;text-decoration:inherit}.scalewithus b,.scalewithus strong{font-weight:bolder}.scalewithus code,.scalewithus kbd,.scalewithus pre,.scalewithus samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}.scalewithus small{font-size:80%}.scalewithus sub,.scalewithus sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.scalewithus sub{bottom:-.25em}.scalewithus sup{top:-.5em}.scalewithus table{border-collapse:collapse;border-color:inherit;text-indent:0}.scalewithus button,.scalewithus input,.scalewithus optgroup,.scalewithus select,.scalewithus textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}.scalewithus button,.scalewithus select{text-transform:none}.scalewithus [type=button],.scalewithus [type=reset],.scalewithus [type=submit],.scalewithus button{-webkit-appearance:button;background-color:transparent;background-image:none}.scalewithus :-moz-focusring{outline:auto}.scalewithus :-moz-ui-invalid{box-shadow:none}.scalewithus progress{vertical-align:baseline}.scalewithus ::-webkit-inner-spin-button,.scalewithus ::-webkit-outer-spin-button{height:auto}.scalewithus [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.scalewithus ::-webkit-search-decoration{-webkit-appearance:none}.scalewithus ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.scalewithus summary{display:list-item}.scalewithus blockquote,.scalewithus dd,.scalewithus dl,.scalewithus figure,.scalewithus h1,.scalewithus h2,.scalewithus h3,.scalewithus h4,.scalewithus h5,.scalewithus h6,.scalewithus hr,.scalewithus p,.scalewithus pre{margin:0}.scalewithus fieldset{margin:0;padding:0}.scalewithus legend{padding:0}.scalewithus menu,.scalewithus ol,.scalewithus ul{list-style:none;margin:0;padding:0}.scalewithus dialog{padding:0}.scalewithus textarea{resize:vertical}.scalewithus input::-moz-placeholder,.scalewithus textarea::-moz-placeholder{color:#9ca3af;opacity:1}.scalewithus input::placeholder,.scalewithus textarea::placeholder{color:#9ca3af;opacity:1}.scalewithus [role=button],.scalewithus button{cursor:pointer}.scalewithus :disabled{cursor:default}.scalewithus audio,.scalewithus canvas,.scalewithus embed,.scalewithus iframe,.scalewithus img,.scalewithus object,.scalewithus svg,.scalewithus video{display:block;vertical-align:middle}.scalewithus img,.scalewithus video{height:auto;max-width:100%}.scalewithus [hidden]{display:none}.scalewithus *,.scalewithus :after,.scalewithus :before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.scalewithus ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.scalewithus .relative{position:relative}.scalewithus .col-span-3{grid-column:span 3/span 3}.scalewithus .mb-1{margin-bottom:.25rem}.scalewithus .mb-3{margin-bottom:.75rem}.scalewithus .ml-2{margin-left:.5rem}.scalewithus .mr-1{margin-right:.25rem}.scalewithus .mt-4{margin-top:1rem}.scalewithus .block{display:block}.scalewithus .flex{display:flex}.scalewithus .grid{display:grid}.scalewithus .hidden{display:none}.scalewithus .w-full{width:100%}.scalewithus .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scalewithus .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.scalewithus .items-center{align-items:center}.scalewithus .gap-1{gap:.25rem}.scalewithus .gap-4{gap:1rem}.scalewithus .rounded{border-radius:.25rem}.scalewithus .rounded-md{border-radius:.375rem}.scalewithus .border-0{border-width:0}.scalewithus .bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.scalewithus .bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.scalewithus .bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.scalewithus .bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.scalewithus .bg-pink-500{--tw-bg-opacity:1;background-color:rgb(236 72 153/var(--tw-bg-opacity))}.scalewithus .bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.scalewithus .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.scalewithus .bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.scalewithus .bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(99 102 241/var(--tw-bg-opacity))}.scalewithus .bg-orange-500{--tw-bg-opacity:1;background-color:rgb(249 115 22/var(--tw-bg-opacity))}.scalewithus .bg-orange-600{--tw-bg-opacity:1;background-color:rgb(234 88 12/var(--tw-bg-opacity))}.scalewithus .p-1{padding:.25rem}.scalewithus .p-2{padding:.5rem}.scalewithus .p-4{padding:1rem}.scalewithus .px-4{padding-left:1rem;padding-right:1rem}.scalewithus .py-2{padding-bottom:.5rem;padding-top:.5rem}.scalewithus .text-left{text-align:left}.scalewithus .text-sm{font-size:.875rem;line-height:1.25rem}.scalewithus .text-xs{font-size:.75rem;line-height:1rem}.scalewithus .font-bold{font-weight:700}.scalewithus .font-semibold{font-weight:600}.scalewithus .uppercase{text-transform:uppercase}.scalewithus .text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.scalewithus .text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.scalewithus .text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.scalewithus .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.scalewithus .outline-none{outline:2px solid transparent;outline-offset:2px}.scalewithus .transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.scalewithus .duration-150{transition-duration:.15s}.scalewithus .ease-linear{transition-timing-function:linear}.hover\:bg-blue-600:hover{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.active\:bg-pink-600:active{--tw-bg-opacity:1;background-color:rgb(219 39 119/var(--tw-bg-opacity))} /*# sourceMappingURL=style.min.css.map */ \ No newline at end of file diff --git a/scalewithus.php b/scalewithus.php index a2d06bc..9e677b2 100644 --- a/scalewithus.php +++ b/scalewithus.php @@ -336,7 +336,8 @@ function scalewithus_CreateAccount(array $params) $results = localAPI('UpdateClientProduct', $postData); // save username and password - $params["model"]->serviceProperties->save(array("username" => $resp['data']['loginUser'], "password" => $resp['data']['loginPassword'])); + $params["model"]->serviceProperties->save(array("username" => $resp['data']['loginUser'], "password" => $resp['data']['loginPassword'], "domain" => $params['customfields']['Hostname'])); + debugLog($params["model"]); // Call the local API to update the custom field return "success"; } diff --git a/templates/client.tpl b/templates/client.tpl index 2f182d0..7bc59d5 100644 --- a/templates/client.tpl +++ b/templates/client.tpl @@ -26,11 +26,16 @@
{if $model.domainstatus eq 'Active'} + {if $service.service.status eq 'active'}

Server Details

State: + {$service.service.status|escape} +

+

+ VM State: {$service.vm.state|escape} {if $service.vm.state eq 'running'} @@ -121,6 +126,25 @@

{/foreach}
+ {/if} + {if $service.service.status eq 'processing'} +

Server Details

+
+ Service Processing please wait +
+ {/if} + {if $service.service.status eq 'setup-faled'} +

Server Details

+
+ Service Failed To setup. Please contact admin +
+ {/if} + {if $service.service.status eq 'suspended'} +

Server Details

+
+ Service is suspended. +
+ {/if} {/if}