@@ -383,7 +383,7 @@ async function renderDashboard() {
383383 Create Server
384384 </ a >
385385 < div class ="nav-section-label "> Links</ div >
386- < a class ="nav-item " data-page ="pterodactyl " href ="/pterodactyl ">
386+ < a class ="nav-item " data-page ="pyrodactyl " href ="/pyrodactyl ">
387387 < svg viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 "> < path d ="M4 7v10c0 2 1 3 3 3h10c2 0 3-1 3-3V7M9 6V5a2 2 0 012-2h2a2 2 0 012 2v1M9 12h6M9 16h4 "/> </ svg >
388388 Open Pyrodactyl
389389 </ a >
@@ -425,7 +425,7 @@ async function renderDashboard() {
425425 < div class ="page active " id ="page-overview "> </ div >
426426 < div class ="page " id ="page-servers "> </ div >
427427 < div class ="page " id ="page-create "> </ div >
428- < div class ="page " id ="page-pterodactyl "> </ div >
428+ < div class ="page " id ="page-pyrodactyl "> </ div >
429429 < div class ="page " id ="page-account "> </ div >
430430 < div class ="page " id ="page-server-detail "> </ div >
431431 < div class ="page " id ="page-log "> </ div >
@@ -494,7 +494,7 @@ function navigateTo(page) {
494494 if ( basePage === 'overview' ) renderOverview ( ) ;
495495 else if ( basePage === 'servers' ) renderServers ( ) ;
496496 else if ( basePage === 'create' ) renderCreateServer ( ) ;
497- else if ( basePage === 'pterodactyl ' ) renderPterodactyl ( ) ;
497+ else if ( basePage === 'pyrodactyl ' ) renderPyrodactyl ( ) ;
498498 else if ( basePage === 'account' ) {
499499 if ( param === 'edit' ) renderAccountEdit ( ) ;
500500 else if ( param === 'links' ) renderAccountLinks ( ) ;
@@ -536,7 +536,7 @@ window.addEventListener('popstate', () => {
536536 if ( basePage === 'overview' ) renderOverview ( ) ;
537537 else if ( basePage === 'servers' ) renderServers ( ) ;
538538 else if ( basePage === 'create' ) renderCreateServer ( ) ;
539- else if ( basePage === 'pterodactyl ' ) renderPterodactyl ( ) ;
539+ else if ( basePage === 'pyrodactyl ' ) renderPyrodactyl ( ) ;
540540 else if ( basePage === 'account' ) {
541541 if ( param === 'edit' ) renderAccountEdit ( ) ;
542542 else if ( param === 'links' ) renderAccountLinks ( ) ;
@@ -892,8 +892,8 @@ function renderServerRow(s) {
892892 </ td >
893893 < td >
894894 < div style ="display:flex;gap:6px ">
895- < a class ="btn btn-ghost btn-sm " href ="/server/ ${ s . id } " onclick ="event.preventDefault();navigateTo('server/${ s . id } ') "> Manage </ a >
896- < a href ="https://panel.zero-host.org/server/ ${ s . identifier } " target ="_blank " class ="btn btn-ghost btn-sm "> Open Pterodactyl </ a >
895+ < a class ="btn btn-ghost btn-sm " href ="/server/ ${ s . id } " onclick ="event.preventDefault();navigateTo('server/${ s . id } ') "> Settings </ a >
896+ < a href ="https://panel.zero-host.org/server/ ${ s . identifier } " target ="_blank " class ="btn btn-ghost btn-sm "> Open Pyrodactyl </ a >
897897 ${ canRenew ? html `
898898 < button class ="btn btn-primary btn-sm btn-renew-server " data-server-id ="${ s . id } "> Renew</ button >
899899 ` : '' }
@@ -1139,25 +1139,25 @@ async function handleCreateServer(e) {
11391139 }
11401140}
11411141
1142- // ===== PTERODACTYL PAGE =====
1142+ // ===== PYRODACTYL PAGE =====
11431143let pteroTimeout = null ;
11441144
1145- function renderPterodactyl ( ) {
1145+ function renderPyrodactyl ( ) {
11461146 if ( pteroTimeout ) clearTimeout ( pteroTimeout ) ;
1147- const el = $ ( '#page-pterodactyl ' ) ;
1147+ const el = $ ( '#page-pyrodactyl ' ) ;
11481148 el . innerHTML = html `
11491149 < div class ="page-header ">
1150- < h1 class ="page-title "> Pterodactyl Panel</ h1 >
1150+ < h1 class ="page-title "> Pyrodactyl Panel</ h1 >
11511151 < p class ="page-subtitle "> Redirecting to the panel in 5 seconds...</ p >
11521152 </ div >
11531153 < div class ="ptero-grid ">
11541154 < div class ="card ptero-card ">
11551155 < div class ="ptero-card-icon ">
11561156 < svg width ="28 " height ="28 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 "> < path d ="M4 7v10c0 2 1 3 3 3h10c2 0 3-1 3-3V7M9 6V5a2 2 0 012-2h2a2 2 0 012 2v1M9 12h6M9 16h4 "/> </ svg >
11571157 </ div >
1158- < h2 class ="ptero-card-title "> Opening Pterodactyl ...</ h2 >
1158+ < h2 class ="ptero-card-title "> Opening Pyrodactyl ...</ h2 >
11591159 < p class ="ptero-card-desc ">
1160- You are being redirected to the Pterodactyl panel. If nothing happens, click the button below.
1160+ You are being redirected to the Pyrodactyl panel. If nothing happens, click the button below.
11611161 </ p >
11621162 < div class ="ptero-info " style ="margin-bottom:24px ">
11631163 < div class ="ptero-info-item ">
@@ -1302,9 +1302,9 @@ function renderAccountEdit() {
13021302 </ div >
13031303
13041304 < div class ="card ">
1305- < h2 class ="card-title " style ="margin-bottom:20px "> Pterodactyl API Key</ h2 >
1305+ < h2 class ="card-title " style ="margin-bottom:20px "> Pyrodactyl API Key</ h2 >
13061306 < p style ="color:var(--text-secondary);font-size:0.85rem;line-height:1.6;margin-bottom:16px ">
1307- Add your Pterodactyl Client API key to enable live resource monitoring and server power state detection directly in the dashboard.
1307+ Add your Pyrodactyl Client API key to enable live resource monitoring and server power state detection directly in the dashboard.
13081308 Generate one at < a href ="https://panel.zero-host.org/account/api " target ="_blank "> panel.zero-host.org/account/api</ a > .
13091309 </ p >
13101310 < form id ="api-key-form " style ="max-width:480px ">
@@ -1349,7 +1349,7 @@ async function handleSaveApiKey(e) {
13491349 status . textContent = 'API key saved successfully!' ;
13501350 status . style . color = 'var(--accent-green)' ;
13511351 input . value = '' ;
1352- showToast ( 'Pterodactyl API key saved' , 'success' ) ;
1352+ showToast ( 'Pyrodactyl API key saved' , 'success' ) ;
13531353 } catch ( err ) {
13541354 status . textContent = err . message ;
13551355 status . style . color = 'var(--accent-red)' ;
@@ -1664,7 +1664,7 @@ async function renderServerDetail(serverId) {
16641664 < svg width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 "> < path d ="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3 "/> </ svg >
16651665 < div >
16661666 < h3 class ="action-card-title "> Open Panel</ h3 >
1667- < p class ="action-card-desc "> Access the full Pterodactyl control panel to manage files, console, databases, schedules, and more.</ p >
1667+ < p class ="action-card-desc "> Access the full Pyrodactyl control panel to manage files, console, databases, schedules, and more.</ p >
16681668 </ div >
16691669 </ div >
16701670 < a href ="https://panel.zero-host.org/server/ ${ s . identifier } " target ="_blank " class ="btn btn-primary btn-full "> Open Panel</ a >
@@ -1722,7 +1722,7 @@ async function fetchLiveResources(identifier) {
17221722 < div class ="empty-state " style ="padding:24px ">
17231723 < div class ="empty-state-title " style ="font-size:0.95rem "> No live data</ div >
17241724 < div class ="empty-state-desc " style ="font-size:0.82rem ">
1725- ${ data . error || 'Add your Pterodactyl API key in Account → Linked Accounts to enable live monitoring.' }
1725+ ${ data . error || 'Add your Pyrodactyl API key in Account → Linked Accounts to enable live monitoring.' }
17261726 </ div >
17271727 < button class ="btn btn-primary btn-sm " onclick ="navigateTo('account/edit') " style ="margin-top:8px;width:auto "> Configure API Key</ button >
17281728 </ div >
0 commit comments