diff --git a/preload/1459bd10-456c-11ee-be56-0242ac120002.json b/preload/1459bd10-456c-11ee-be56-0242ac120002.json new file mode 100644 index 0000000..ba9a0eb --- /dev/null +++ b/preload/1459bd10-456c-11ee-be56-0242ac120002.json @@ -0,0 +1,67 @@ +{ + "extras": { + "firewall": true, + "quota": 1500, + "rdscals": 0 + }, + "servers": [ + { + "cost": 914, + "name": "GPG-RDS-01", + "vcpus": 8, + "ram": 32, + "disk": 200, + "windows": true + }, + { + "cost": 914, + "name": "GPG-RDS-02", + "vcpus": 8, + "ram": 32, + "disk": 200, + "windows": true + }, + { + "cost": 236, + "name": "GPG-BRK-02", + "vcpus": 2, + "ram": 8, + "disk": 100, + "windows": true + }, + { + "cost": 1837, + "name": "GPG-SQL-02", + "vcpus": 4, + "ram": 16, + "disk": 500, + "windows": true, + "sql": true + }, + { + "cost": 236, + "name": "GPG-DC-03", + "vcpus": 2, + "ram": 8, + "disk": 100, + "windows": true + }, + { + "cost": 245.25, + "name": "GPG-XG-02", + "vcpus": 4, + "ram": 8, + "disk": 100, + "windows": false, + "ip": true + }, + { + "cost": 75.75, + "name": "GPG-L2T-01", + "vcpus": 2, + "ram": 2, + "disk": 10, + "ip": true + } + ] +} \ No newline at end of file diff --git a/servers.html b/servers.html new file mode 100644 index 0000000..48c31df --- /dev/null +++ b/servers.html @@ -0,0 +1,400 @@ + + + + + + + + Instant Quote + + + + + + + + + + + +
+

Why choose servers from Chris Humphrey Office National?

+
+
+
+ +

Local support

+

Our team is based right here in Traralgon, providing top-tier support for local businesses like + yours.

+
+
+ +

Totally customizable

+

With a powerful featureset and myriad of customization options, we'll make migrating to cloud servers + work + perfectly for your business.

+
+
+ +

Cloud flexible

+

With the ability to scale up and down as required, you can enjoy the flexibility of cloud servers + without worrying about long term commitments.

+
+
+
+
+
+
+ +

+ Exclusive offer +

+

+ Save 3% when you commit to 12 months +

+

When you order a minimum of $3,000/month in cloud servers, with savings of over $900!

+ Get Started + Call us now    +
+
+

Conditions apply, subject to eligibility criteria and availability.

+
+ +
+
+

Virtual Servers

+

Choose your vCPU count, memory and disk space.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NamevCPUsRAM (GB)Disk (GB) + Price/Month
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ {{serverCost(server) | currency }} +
+
+ +
Subtotal{{serverTotals('vcpus')}}{{serverTotals('ram')}} GB{{serverTotals('disk')}} GB{{serverTotals('windows')}}{{serverTotals('sql')}}{{serverTotals('ip')}}{{serverTotals('cost') | currency}} +
+ Add + +
+
+ + +
+
+ +

Additional services/licenses

+ + + + + + + + + + + + + + + + + + + +
Service firewall (required) +
+ +
+
Transfer quota (GB) +
+ +
+
Microsoft Remote Desktop Client Licenses +
+ +
+
Subtotal{{servicesTotals() | currency}}
+
+
+
+
+ +

+ View your results +

+

+ Request an official quote now! +

+

Click the button below to get your quote!

+ + Request official quote   +
+
+

Conditions apply, subject to eligibility criteria and availability.

+
+ +
+
+
+

Work from anywhere

+ +

+ 3CX web app makes working from anywhere a breeze +

+ +

The 3CX web app lets you handle calls, check colleagues' status and much more, all from your + browser!

+

It's easy for your team to use both in- and out-of-the-office, with a simple + user interface and powerful features, you won't know how you got by without it before.

+ +
+
+ +
+ Make and recieve calls from your web browser +
+
+
+ +
+ Set your status and check your colleagues' status +
+
+
+ +
+ Manage your voicemail messages +
+
+
+ +
+ Queues and wallboards let you see what's happening in your phone system +
+
+
+ +
+
+
+
+ +

+ Our flexible hosted phone systems cater from small business large enterprises +

+

+ Empower your team with powerful features +

+
+
+
+ +

Keep your numbers

+

We'll port your phone numbers across from your existing carriers to our platform to ensure you + don't miss any calls.

+
+
+ +

Mobile apps

+

For Android and iOS. Never miss a call - take and make calls from your office phone number when + you're out and about.

+
+
+ +

Web portal

+

The 3CX web app lets you handle calls, check colleagues' status and much more, all from your + browser!

+
+
+ +

Custom hold music

+

Keep your hold music on-brand with custom hold music. Add personalized message or greetings.

+
+
+ +

Call queues

+

Fully-featured call centre solution, with advanced call flow options.

+
+
+ +

Voicemail to email

+

Voicemail to email service, with optional speech-to-text transcription.

+
+
+ +

Cut your telco costs

+

Combine your individual phone systems across multiple sites into one. Get more features for less + cost.

+
+
+ +

Know who's calling

+

Connect your phone system to your customer database - know who's calling!

+
+
+
+
+
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/servers.js b/servers.js new file mode 100644 index 0000000..c09c2e6 --- /dev/null +++ b/servers.js @@ -0,0 +1,61 @@ +var app = angular.module('instantQuote', []); +app.controller('Servers', function ($scope, $window, $http) { + $scope.servers = JSON.parse(localStorage.getItem("servers")) ?? [{ cost: 0 }] + $scope.extras = JSON.parse(localStorage.getItem("extras")) ?? {firewall: true, quota: 100} + + params = new URLSearchParams(window.location.search) + preload = params.get('preload') + + if (preload && preload.match(/[0-9A-Z\-]+/g)) { + $http({ + url: `preload/${preload}.json` + }).then((data) => { + $scope.servers = data.servers; + $scope.extras = data.extras; + }) + } + + $scope.addServer = () => { + $scope.servers.push({ cost: 0 }) + } + $scope.serverPricing = { + "vcpu": 10.5, + "ram": 22.5, + "disk": 0.15, + "windows": 10, + "sql": 329.6, + "ip": 8.25, + "quota": 0.09, + "rdscals": 14.25, + "firewall": 75 + } + $scope.serverCost = (server) => { + server.cost = ( + ((server.vcpus || 0) * $scope.serverPricing.vcpu) + + ((server.ram || 0) * $scope.serverPricing.ram) + + ((server.disk || 0) * $scope.serverPricing.disk) + + (Math.ceil((server.windows ? 1 : 0) * $scope.serverPricing.windows * (server.vcpus || 0) / 2) * 2) + + (Math.ceil((server.sql ? 1 : 0) * $scope.serverPricing.sql * (server.vcpus || 0) / 2) * 2) + + ((server.ip ? 1 : 0) * $scope.serverPricing.ip) + ); + // console.log(server.cost) + return Math.round((server.cost || 0) * 100) / 100; + } + $scope.serverTotals = (type) => { + localStorage.setItem("servers", angular.toJson($scope.servers)); + return $scope.servers.reduce(function (a, b) { + return a + (b?.[type] ?? 0); + }, 0); + } + $scope.servicesTotals = () => { + localStorage.setItem("extras", angular.toJson($scope.extras)); + return ( + ($scope.extras.firewall * $scope.serverPricing.firewall) + + ($scope.extras.rdscals * $scope.serverPricing.rdscals) + + ($scope.extras.quota * $scope.serverPricing.quota) + ) + } + $scope.deleteServer = (server) => { + $scope.servers.splice(server,1); + } +}); \ No newline at end of file