updated scrapper for custom deals, works good
This commit is contained in:
@@ -1572,6 +1572,117 @@ img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* Smart Specs Grid - Google Material Design Inspired */
|
||||
.smart-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.smart-spec-card {
|
||||
background: #ffffff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 16px;
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.smart-spec-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
|
||||
border-color: var(--brand-primary);
|
||||
}
|
||||
|
||||
.card-overline {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 0.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.card-overline svg {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.card-hero {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.25rem;
|
||||
margin-bottom: 0.25rem;
|
||||
color: var(--brand-dark);
|
||||
}
|
||||
|
||||
.hero-val {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
letter-spacing: -0.02em;
|
||||
background: linear-gradient(135deg, var(--brand-dark) 0%, #4b5563 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.hero-unit {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.card-subhero {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
color: var(--brand-primary);
|
||||
margin-bottom: 1.25rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
background: #f0f9ff;
|
||||
display: inline-block;
|
||||
padding: 0.2rem 0.6rem;
|
||||
border-radius: 6px;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.spec-divider {
|
||||
height: 1px;
|
||||
background: #f1f5f9;
|
||||
margin-bottom: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mini-specs-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
.mini-spec {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.mini-spec .label {
|
||||
font-size: 0.7rem;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 0.15rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.mini-spec .val {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: var(--brand-dark);
|
||||
}
|
||||
|
||||
/* ============ RESPONSIVE STYLES ============ */
|
||||
@media (max-width: 1024px) {
|
||||
.calculator-body {
|
||||
@@ -1895,133 +2006,139 @@ img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
|
||||
</div>
|
||||
|
||||
<div class="specs-layout">
|
||||
<div class="specs-grid">
|
||||
<!-- Processor Card -->
|
||||
<div class="spec-card">
|
||||
<div class="spec-card-header">
|
||||
<div class="spec-icon">🖥️</div>
|
||||
<h3 class="spec-card-title">Processor</h3>
|
||||
<div class="specs-grid smart-grid">
|
||||
<!-- Processor -->
|
||||
<div class="smart-spec-card">
|
||||
<div class="card-overline">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect><rect x="9" y="9" width="6" height="6"></rect><line x1="9" y1="1" x2="9" y2="4"></line><line x1="15" y1="1" x2="15" y2="4"></line><line x1="9" y1="20" x2="9" y2="23"></line><line x1="15" y1="20" x2="15" y2="23"></line><line x1="20" y1="9" x2="23" y2="9"></line><line x1="20" y1="14" x2="23" y2="14"></line><line x1="1" y1="9" x2="4" y2="9"></line><line x1="1" y1="14" x2="4" y2="14"></line></svg>
|
||||
Processor
|
||||
</div>
|
||||
<div class="spec-details">
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Model</span>
|
||||
<span class="spec-detail-value" id="spec-cpu-model">AMD Ryzen Threadripper PRO 9975WX</span>
|
||||
<div class="card-hero">
|
||||
<span class="hero-val" id="spec-cpu-cores-count">32</span>
|
||||
<span class="hero-unit">Cores</span>
|
||||
</div>
|
||||
<div class="card-subhero" id="spec-cpu-model-short">Threadripper PRO 9975WX</div>
|
||||
|
||||
<div class="spec-divider"></div>
|
||||
|
||||
<div class="mini-specs-grid">
|
||||
<div class="mini-spec">
|
||||
<span class="label">Boost Clock</span>
|
||||
<span class="val" id="spec-cpu-boost">5.4 GHz</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Cores / Threads</span>
|
||||
<span class="spec-detail-value highlight" id="spec-cpu-cores">32 / 64</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Base Clock</span>
|
||||
<span class="val" id="spec-cpu-base">3.5 GHz</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Base Clock</span>
|
||||
<span class="spec-detail-value" id="spec-cpu-base">3.5 GHz</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Cache</span>
|
||||
<span class="val" id="spec-cpu-cache">128MB L3</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Boost Clock</span>
|
||||
<span class="spec-detail-value" id="spec-cpu-boost">5.4 GHz</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Cache</span>
|
||||
<span class="spec-detail-value" id="spec-cpu-cache">128MB L3</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Architecture</span>
|
||||
<span class="spec-detail-value" id="spec-cpu-arch">Zen 4</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Architecture</span>
|
||||
<span class="val" id="spec-cpu-arch">Zen 4</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Memory Card -->
|
||||
<div class="spec-card">
|
||||
<div class="spec-card-header">
|
||||
<div class="spec-icon">💾</div>
|
||||
<h3 class="spec-card-title">Memory</h3>
|
||||
<!-- Memory -->
|
||||
<div class="smart-spec-card">
|
||||
<div class="card-overline">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 12h20"></path><path d="M2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6"></path><path d="M22 12v-6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v6"></path><path d="M6 12v-6"></path><path d="M10 12v-6"></path><path d="M14 12v-6"></path><path d="M18 12v-6"></path></svg>
|
||||
Memory
|
||||
</div>
|
||||
<div class="spec-details">
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Capacity</span>
|
||||
<span class="spec-detail-value highlight" id="spec-ram-capacity">384GB - 2304GB DDR5</span>
|
||||
<div class="card-hero">
|
||||
<span class="hero-val" id="spec-ram-capacity-hero">384</span>
|
||||
<span class="hero-unit">GB DDR5</span>
|
||||
</div>
|
||||
<div class="card-subhero">ECC Registered</div>
|
||||
|
||||
<div class="spec-divider"></div>
|
||||
|
||||
<div class="mini-specs-grid">
|
||||
<div class="mini-spec">
|
||||
<span class="label">Speed</span>
|
||||
<span class="val" id="spec-ram-speed">6400 MT/s</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Speed</span>
|
||||
<span class="spec-detail-value" id="spec-ram-speed">6400 MT/s</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Channels</span>
|
||||
<span class="val" id="spec-ram-channels">8-channel</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Channels</span>
|
||||
<span class="spec-detail-value" id="spec-ram-channels">8-channel</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Type</span>
|
||||
<span class="val">RDIMM</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">ECC Support</span>
|
||||
<span class="spec-detail-value">Yes</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Configuration</span>
|
||||
<span class="spec-detail-value">Fully Customizable</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Upgradeable</span>
|
||||
<span class="spec-detail-value">Yes</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Upgrade</span>
|
||||
<span class="val">Available</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Storage Card -->
|
||||
<div class="spec-card">
|
||||
<div class="spec-card-header">
|
||||
<div class="spec-icon">💿</div>
|
||||
<h3 class="spec-card-title">Storage</h3>
|
||||
<!-- Storage -->
|
||||
<div class="smart-spec-card">
|
||||
<div class="card-overline">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path></svg>
|
||||
Storage
|
||||
</div>
|
||||
<div class="spec-details">
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Configuration</span>
|
||||
<span class="spec-detail-value highlight" id="spec-storage-config">Configurable up to 12x NVMe Gen5</span>
|
||||
<div class="card-hero">
|
||||
<span class="hero-val">Gen5</span>
|
||||
<span class="hero-unit">NVMe</span>
|
||||
</div>
|
||||
<div class="card-subhero" id="spec-storage-config-hero">Up to 12x Drives</div>
|
||||
|
||||
<div class="spec-divider"></div>
|
||||
|
||||
<div class="mini-specs-grid">
|
||||
<div class="mini-spec">
|
||||
<span class="label">Read Speed</span>
|
||||
<span class="val">14 GB/s</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Read Speed</span>
|
||||
<span class="spec-detail-value">Up to 14,000 MB/s</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Write Speed</span>
|
||||
<span class="val">12 GB/s</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Write Speed</span>
|
||||
<span class="spec-detail-value">Up to 12,000 MB/s</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Grade</span>
|
||||
<span class="val">Enterprise</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Interface</span>
|
||||
<span class="spec-detail-value">NVMe PCIe Gen5</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Flexibility</span>
|
||||
<span class="val">High</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spec-options">
|
||||
<div class="spec-option">Kioxia CM7-V (Enterprise Gen5)</div>
|
||||
<div class="spec-option">Solidigm D7-PS1030 (Enterprise Gen5)</div>
|
||||
<div class="spec-option">Crucial T705 (Consumer Gen5)</div>
|
||||
<div class="spec-option">Up to 12x NVMe drives</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Network Card -->
|
||||
<div class="spec-card">
|
||||
<div class="spec-card-header">
|
||||
<div class="spec-icon">🌐</div>
|
||||
<h3 class="spec-card-title">Network</h3>
|
||||
<!-- Network -->
|
||||
<div class="smart-spec-card">
|
||||
<div class="card-overline">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>
|
||||
Network
|
||||
</div>
|
||||
<div class="spec-details">
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Speed</span>
|
||||
<span class="spec-detail-value highlight" id="spec-network-speed">2x 10Gbps</span>
|
||||
<div class="card-hero">
|
||||
<span class="hero-val" id="spec-network-speed-hero">10</span>
|
||||
<span class="hero-unit">Gbps</span>
|
||||
</div>
|
||||
<div class="card-subhero" id="spec-network-bandwidth-hero">Unmetered</div>
|
||||
|
||||
<div class="spec-divider"></div>
|
||||
|
||||
<div class="mini-specs-grid">
|
||||
<div class="mini-spec">
|
||||
<span class="label">IPv4</span>
|
||||
<span class="val">/29 Included</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Bandwidth</span>
|
||||
<span class="spec-detail-value" id="spec-network-bandwidth">335TB</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">IPv6</span>
|
||||
<span class="val">/64 Block</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">IPv4 addresses</span>
|
||||
<span class="spec-detail-value">1-32 addresses</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">Uplink</span>
|
||||
<span class="val">Redundant</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">IPv6 Block</span>
|
||||
<span class="spec-detail-value">/64 block</span>
|
||||
</div>
|
||||
<div class="spec-detail">
|
||||
<span class="spec-detail-label">Uplink</span>
|
||||
<span class="spec-detail-value">Redundant</span>
|
||||
<div class="mini-spec">
|
||||
<span class="label">DDoS Prot.</span>
|
||||
<span class="val">Standard</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2707,9 +2824,465 @@ var wpcf7 = {
|
||||
|
||||
// Custom Servers (Matched to Image 3)
|
||||
const customServers = [
|
||||
{ id: 'custom-1', cpu: 'AMD Threadripper PRO 9975WX', cores: 32, ghz: '5.4', baseClock: '3.6 GHz', boostClock: '5.3', cache: '128MB L3', arch: 'Zen 4', ram: 'Base: 256GB', ramSpeed: '4800 MT/s', ramChannels: '8-channel', basePrice: 850, currency: '€', configUrl: 'https://portal.dedicatednodes.io/index.php?rp=/store/bare-metal-servers/amd-ryzen-threadripper-pro-9975wx', setupTime: 'Instant', limits: { gen4: 3, gen5: 8 } },
|
||||
{ id: 'custom-2', cpu: 'AMD Threadripper PRO 7965WX', cores: 24, ghz: '5.3', baseClock: '4.2 GHz', boostClock: '5.3', cache: '128MB L3', arch: 'Zen 4', ram: 'Base: 256GB', ramSpeed: '4800 MT/s', ramChannels: '8-channel', basePrice: 650, currency: '€', configUrl: 'https://portal.dedicatednodes.io/index.php?rp=/store/bare-metal-servers/amd-ryzen-threadripper-pro-7965wx', setupTime: '1 Day', limits: { gen4: 3, gen5: 8 } },
|
||||
{ id: 'custom-3', cpu: 'AMD EPYC 9274F', cores: 24, ghz: '4.1', baseClock: '4.05 GHz', boostClock: '4.3', cache: '256MB L3', arch: 'Zen 4', ram: 'Base: 256GB', ramSpeed: '4800 MT/s', ramChannels: '12-channel', basePrice: 450, currency: '€', configUrl: 'https://portal.dedicatednodes.io/index.php?rp=/store/bare-metal-servers/amd-epyc-9274f', setupTime: '1 Day', limits: { gen4: 3, gen5: 8 } },
|
||||
{ id: 'custom-1', cpu: 'AMD Threadripper PRO 9975WX', cores: 32, ghz: '5.4', baseClock: '3.6 GHz', boostClock: '5.3', cache: '128MB L3', arch: 'Zen 4', ram: 'Base: 256GB', ramSpeed: '4800 MT/s', ramChannels: '8-channel', basePrice: 850, currency: '€', configUrl: 'https://portal.dedicatednodes.io/index.php?rp=/store/bare-metal-servers/amd-ryzen-threadripper-pro-9975wx', setupTime: 'Instant', limits: { gen4: 3, gen5: 8 },
|
||||
specificFallback: [
|
||||
{
|
||||
"id": "22",
|
||||
"label": "Location",
|
||||
"type": "location",
|
||||
"values": [
|
||||
{ "id": "551", "text": "Rotterdam", "price": 0 },
|
||||
{ "id": "111", "text": "Frankfurt €10,00 EUR", "price": 10.0 },
|
||||
{ "id": "112", "text": "London €85,00 EUR", "price": 85.0 },
|
||||
{ "id": "113", "text": "New York €35,00 EUR", "price": 35.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "69",
|
||||
"label": "Memory",
|
||||
"type": "ram",
|
||||
"values": [
|
||||
{ "id": "491", "text": "384GB", "price": 0 },
|
||||
{ "id": "492", "text": "576GB €150,00 EUR", "price": 150.0 },
|
||||
{ "id": "493", "text": "768GB €300,00 EUR", "price": 300.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "34",
|
||||
"label": "NVMe 1",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "220", "text": "-", "price": 0 },
|
||||
{ "id": "221", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "222", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "167", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "168", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "164", "text": "Crucial T705 1TB €18,00 EUR", "price": 18.0 },
|
||||
{ "id": "165", "text": "Crucial T705 2TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "166", "text": "Crucial T705 4TB €52,00 EUR", "price": 52.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "35",
|
||||
"label": "NVMe 2",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "257", "text": "-", "price": 0 },
|
||||
{ "id": "255", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "256", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "253", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "254", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "250", "text": "Crucial T705 1TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "251", "text": "Crucial T705 2TB €52,00 EUR", "price": 52.0 },
|
||||
{ "id": "252", "text": "Crucial T705 4TB €75,00 EUR", "price": 75.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "36",
|
||||
"label": "NVMe 3",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "265", "text": "-", "price": 0 },
|
||||
{ "id": "263", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "264", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "261", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "262", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "258", "text": "Crucial T705 1TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "259", "text": "Crucial T705 2TB €52,00 EUR", "price": 52.0 },
|
||||
{ "id": "260", "text": "Crucial T705 4TB €75,00 EUR", "price": 75.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "37",
|
||||
"label": "NVMe 4",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "274", "text": "-", "price": 0 },
|
||||
{ "id": "272", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "273", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "270", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "271", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "267", "text": "Crucial T705 1TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "268", "text": "Crucial T705 2TB €52,00 EUR", "price": 52.0 },
|
||||
{ "id": "269", "text": "Crucial T705 4TB €75,00 EUR", "price": 75.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "38",
|
||||
"label": "NVMe 5",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "275", "text": "-", "price": 0 },
|
||||
{ "id": "281", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "282", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "279", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "280", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "39",
|
||||
"label": "NVMe 6",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "283", "text": "-", "price": 0 },
|
||||
{ "id": "289", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "290", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "287", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "288", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "40",
|
||||
"label": "NVMe 7",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "291", "text": "-", "price": 0 },
|
||||
{ "id": "297", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "298", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "295", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "296", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "41",
|
||||
"label": "NVMe 8",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "299", "text": "-", "price": 0 },
|
||||
{ "id": "305", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "306", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "303", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "304", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "42",
|
||||
"label": "NVMe 9",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "307", "text": "-", "price": 0 },
|
||||
{ "id": "313", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "314", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "311", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "312", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "43",
|
||||
"label": "NVMe 10",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "315", "text": "-", "price": 0 },
|
||||
{ "id": "321", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "322", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "319", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "320", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "44",
|
||||
"label": "NVMe 11",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "323", "text": "-", "price": 0 },
|
||||
{ "id": "329", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "330", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "327", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "328", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "45",
|
||||
"label": "NVMe 12",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "331", "text": "-", "price": 0 },
|
||||
{ "id": "337", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "338", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "335", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "336", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"label": "Network",
|
||||
"type": "network",
|
||||
"values": [
|
||||
{ "id": "37", "text": "10Gbps", "price": 0 },
|
||||
{ "id": "475", "text": "2x 10Gbps (bond) €25,00 EUR", "price": 25.0 }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{ id: 'custom-2', cpu: 'AMD Threadripper PRO 7965WX', cores: 24, ghz: '5.3', baseClock: '4.2 GHz', boostClock: '5.3', cache: '128MB L3', arch: 'Zen 4', ram: 'Base: 256GB', ramSpeed: '4800 MT/s', ramChannels: '8-channel', basePrice: 650, currency: '€', configUrl: 'https://portal.dedicatednodes.io/index.php?rp=/store/bare-metal-servers/amd-ryzen-threadripper-pro-7965wx', setupTime: '1 Day', limits: { gen4: 3, gen5: 8 },
|
||||
specificFallback: [
|
||||
{
|
||||
"id": "22",
|
||||
"label": "Location",
|
||||
"type": "location",
|
||||
"values": [
|
||||
{ "id": "551", "text": "Rotterdam", "price": 0 },
|
||||
{ "id": "111", "text": "Frankfurt €10,00 EUR", "price": 10.0 },
|
||||
{ "id": "112", "text": "London €85,00 EUR", "price": 85.0 },
|
||||
{ "id": "113", "text": "New York €35,00 EUR", "price": 35.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "69",
|
||||
"label": "Memory",
|
||||
"type": "ram",
|
||||
"values": [
|
||||
{ "id": "491", "text": "384GB", "price": 0 },
|
||||
{ "id": "492", "text": "576GB €150,00 EUR", "price": 150.0 },
|
||||
{ "id": "493", "text": "768GB €300,00 EUR", "price": 300.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "34",
|
||||
"label": "NVMe 1",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "220", "text": "-", "price": 0 },
|
||||
{ "id": "221", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "222", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "167", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "168", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "164", "text": "Crucial T705 1TB €18,00 EUR", "price": 18.0 },
|
||||
{ "id": "165", "text": "Crucial T705 2TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "166", "text": "Crucial T705 4TB €52,00 EUR", "price": 52.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "35",
|
||||
"label": "NVMe 2",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "257", "text": "-", "price": 0 },
|
||||
{ "id": "255", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "256", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "253", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "254", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "250", "text": "Crucial T705 1TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "251", "text": "Crucial T705 2TB €52,00 EUR", "price": 52.0 },
|
||||
{ "id": "252", "text": "Crucial T705 4TB €75,00 EUR", "price": 75.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "36",
|
||||
"label": "NVMe 3",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "265", "text": "-", "price": 0 },
|
||||
{ "id": "263", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "264", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "261", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "262", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "258", "text": "Crucial T705 1TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "259", "text": "Crucial T705 2TB €52,00 EUR", "price": 52.0 },
|
||||
{ "id": "260", "text": "Crucial T705 4TB €75,00 EUR", "price": 75.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "37",
|
||||
"label": "NVMe 4",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "274", "text": "-", "price": 0 },
|
||||
{ "id": "272", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "273", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "270", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "271", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "267", "text": "Crucial T705 1TB €28,00 EUR", "price": 28.0 },
|
||||
{ "id": "268", "text": "Crucial T705 2TB €52,00 EUR", "price": 52.0 },
|
||||
{ "id": "269", "text": "Crucial T705 4TB €75,00 EUR", "price": 75.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "38",
|
||||
"label": "NVMe 5",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "275", "text": "-", "price": 0 },
|
||||
{ "id": "281", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "282", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "279", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "280", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "39",
|
||||
"label": "NVMe 6",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "283", "text": "-", "price": 0 },
|
||||
{ "id": "289", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "290", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "287", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "288", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "40",
|
||||
"label": "NVMe 7",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "291", "text": "-", "price": 0 },
|
||||
{ "id": "297", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "298", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "295", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "296", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "41",
|
||||
"label": "NVMe 8",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "299", "text": "-", "price": 0 },
|
||||
{ "id": "305", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "306", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "303", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "304", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "42",
|
||||
"label": "NVMe 9",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "307", "text": "-", "price": 0 },
|
||||
{ "id": "313", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "314", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "311", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "312", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "43",
|
||||
"label": "NVMe 10",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "315", "text": "-", "price": 0 },
|
||||
{ "id": "321", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "322", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "319", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "320", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "44",
|
||||
"label": "NVMe 11",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "323", "text": "-", "price": 0 },
|
||||
{ "id": "329", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "330", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "327", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "328", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "45",
|
||||
"label": "NVMe 12",
|
||||
"type": "storage",
|
||||
"values": [
|
||||
{ "id": "331", "text": "-", "price": 0 },
|
||||
{ "id": "337", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "338", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100.0 },
|
||||
{ "id": "335", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75.0 },
|
||||
{ "id": "336", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100.0 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"label": "Network",
|
||||
"type": "network",
|
||||
"values": [
|
||||
{ "id": "37", "text": "10Gbps", "price": 0 },
|
||||
{ "id": "475", "text": "2x 10Gbps (bond) €25,00 EUR", "price": 25.0 }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{ id: 'custom-3', cpu: 'AMD EPYC 9274F', cores: 24, ghz: '4.1', baseClock: '4.05 GHz', boostClock: '4.3', cache: '256MB L3', arch: 'Zen 4', ram: 'Base: 256GB', ramSpeed: '4800 MT/s', ramChannels: '12-channel', basePrice: 450, currency: '€', configUrl: 'https://portal.dedicatednodes.io/index.php?rp=/store/bare-metal-servers/amd-epyc-9274f', setupTime: '1 Day', limits: { gen4: 3, gen5: 8 },
|
||||
specificFallback: [
|
||||
{
|
||||
"id": "22", "label": "Location", "type": "location",
|
||||
"values": [
|
||||
{ "id": "551", "text": "Rotterdam", "price": 0 },
|
||||
{ "id": "111", "text": "Frankfurt €10,00 EUR", "price": 10 },
|
||||
{ "id": "112", "text": "London €85,00 EUR", "price": 85 },
|
||||
{ "id": "113", "text": "New York €35,00 EUR", "price": 35 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "46", "label": "Memory", "type": "ram",
|
||||
"values": [
|
||||
{ "id": "225", "text": "384GB", "price": 0 },
|
||||
{ "id": "226", "text": "576GB €150,00 EUR", "price": 150 },
|
||||
{ "id": "227", "text": "768GB €300,00 EUR", "price": 300 },
|
||||
{ "id": "228", "text": "960GB €450,00 EUR", "price": 450 },
|
||||
{ "id": "229", "text": "1152GB €600,00 EUR", "price": 600 },
|
||||
{ "id": "230", "text": "1344GB €750,00 EUR", "price": 750 },
|
||||
{ "id": "231", "text": "1536GB €900,00 EUR", "price": 900 },
|
||||
{ "id": "232", "text": "1728GB €1.150,00 EUR", "price": 1150 },
|
||||
{ "id": "233", "text": "1920GB €1.300,00 EUR", "price": 1300 },
|
||||
{ "id": "234", "text": "2112GB €1.450,00 EUR", "price": 1450 },
|
||||
{ "id": "235", "text": "2304GB €1.600,00 EUR", "price": 1600 }
|
||||
]
|
||||
},
|
||||
// Group A (Gen4)
|
||||
{
|
||||
"id": "34", "label": "NVMe 1 (Gen4)", "type": "storage",
|
||||
"values": [
|
||||
{ "id": "220", "text": "-", "price": 0 },
|
||||
{ "id": "164", "text": "Crucial T705 1TB €18,00 EUR", "price": 18 },
|
||||
{ "id": "165", "text": "Crucial T705 2TB €28,00 EUR", "price": 28 },
|
||||
{ "id": "166", "text": "Crucial T705 4TB €52,00 EUR", "price": 52 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "35", "label": "NVMe 2 (Gen4)", "type": "storage",
|
||||
"values": [
|
||||
{ "id": "257", "text": "-", "price": 0 },
|
||||
{ "id": "250", "text": "Crucial T705 1TB €28,00 EUR", "price": 28 },
|
||||
{ "id": "251", "text": "Crucial T705 2TB €52,00 EUR", "price": 52 },
|
||||
{ "id": "252", "text": "Crucial T705 4TB €75,00 EUR", "price": 75 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "36", "label": "NVMe 3 (Gen4)", "type": "storage",
|
||||
"values": [
|
||||
{ "id": "265", "text": "-", "price": 0 },
|
||||
{ "id": "258", "text": "Crucial T705 1TB €28,00 EUR", "price": 28 },
|
||||
{ "id": "259", "text": "Crucial T705 2TB €52,00 EUR", "price": 52 },
|
||||
{ "id": "260", "text": "Crucial T705 4TB €75,00 EUR", "price": 75 }
|
||||
]
|
||||
},
|
||||
// Group B (Gen5)
|
||||
{
|
||||
"id": "37", "label": "NVMe 4 (Gen5)", "type": "storage",
|
||||
"values": [
|
||||
{ "id": "274", "text": "-", "price": 0 },
|
||||
{ "id": "272", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75 },
|
||||
{ "id": "273", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100 },
|
||||
{ "id": "270", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75 },
|
||||
{ "id": "271", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "38", "label": "NVMe 5 (Gen5)", "type": "storage",
|
||||
"values": [
|
||||
{ "id": "275", "text": "-", "price": 0 },
|
||||
{ "id": "281", "text": "Solidigm D7-PS1030 1.6TB €75,00 EUR", "price": 75 },
|
||||
{ "id": "282", "text": "Solidigm D7-PS1030 3.2TB €100,00 EUR", "price": 100 },
|
||||
{ "id": "279", "text": "Kioxia CM7-V 1.6TB €75,00 EUR", "price": 75 },
|
||||
{ "id": "280", "text": "Kioxia CM7-V 3.2TB €100,00 EUR", "price": 100 }
|
||||
]
|
||||
}
|
||||
// Additional slots 39-45 follow same pattern, will rely on auto-replication if needed or can be added explicitly
|
||||
]
|
||||
},
|
||||
{
|
||||
id: 'custom-4',
|
||||
cpu: 'AMD EPYC 7443P',
|
||||
@@ -3194,28 +3767,35 @@ var wpcf7 = {
|
||||
|
||||
const scraper = new WHMCSScraper();
|
||||
|
||||
// Update Technical Specs Section
|
||||
// Update Technical Specs Section (New Smart Card Layout)
|
||||
function updateSpecs(server) {
|
||||
const set = (id, val) => {
|
||||
const el = document.getElementById(id);
|
||||
if(el) el.innerText = val;
|
||||
};
|
||||
|
||||
set('spec-cpu-model', server.cpu);
|
||||
set('spec-cpu-cores', `${server.cores} Cores / ${server.cores * 2} Threads`);
|
||||
// Processor
|
||||
set('spec-cpu-cores-count', server.cores);
|
||||
set('spec-cpu-model-short', server.cpu.replace('AMD Ryzen Threadripper PRO ', '').replace('AMD EPYC ', ''));
|
||||
set('spec-cpu-base', server.baseClock || '-');
|
||||
set('spec-cpu-boost', server.boostClock ? `${server.boostClock} GHz` : '-');
|
||||
set('spec-cpu-cache', server.cache || '-');
|
||||
set('spec-cpu-arch', server.arch || '-');
|
||||
|
||||
set('spec-ram-capacity', server.ram);
|
||||
// Memory
|
||||
// Extract number from "384GB" -> "384"
|
||||
const ramMatch = server.ram.match(/(\d+)/);
|
||||
set('spec-ram-capacity-hero', ramMatch ? ramMatch[1] : server.ram);
|
||||
set('spec-ram-speed', server.ramSpeed || '4800 MT/s');
|
||||
set('spec-ram-channels', server.ramChannels || '8-channel');
|
||||
|
||||
set('spec-storage-config', server.storage || 'Configurable');
|
||||
// Storage
|
||||
set('spec-storage-config-hero', server.storage || 'Configurable');
|
||||
|
||||
set('spec-network-speed', server.network || '10Gbps');
|
||||
set('spec-network-bandwidth', server.bandwidth || 'Unmetered');
|
||||
// Network
|
||||
const netSpeed = (server.network || '10Gbps').replace('Gbps', '');
|
||||
set('spec-network-speed-hero', netSpeed);
|
||||
set('spec-network-bandwidth-hero', server.bandwidth || 'Unmetered');
|
||||
}
|
||||
|
||||
// Render Instant Servers
|
||||
|
||||
Reference in New Issue
Block a user