Skip to content

Commit bd485f1

Browse files
committed
Match API key input style with other forms on /account/edit
1 parent 9929878 commit bd485f1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

public/js/app.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,16 +1243,17 @@ function renderAccountEdit() {
12431243
</div>
12441244
12451245
<div class="card">
1246-
<h2 class="card-title" style="margin-bottom:8px">Pterodactyl API Key</h2>
1246+
<h2 class="card-title" style="margin-bottom:20px">Pterodactyl API Key</h2>
12471247
<p style="color:var(--text-secondary);font-size:0.85rem;line-height:1.6;margin-bottom:16px">
12481248
Add your Pterodactyl Client API key to enable live resource monitoring and server power state detection directly in the dashboard.
12491249
Generate one at <a href="https://panel.zero-host.org/account/api" target="_blank">panel.zero-host.org/account/api</a>.
12501250
</p>
1251-
<form id="api-key-form">
1252-
<div class="api-key-input-group">
1251+
<form id="api-key-form" style="max-width:480px">
1252+
<div class="form-group">
1253+
<label for="ptero-api-key-input">API Key</label>
12531254
<input type="password" id="ptero-api-key-input" placeholder="ptla_..." autocomplete="off" />
1254-
<button type="submit" class="btn btn-primary" id="save-api-key-btn">Save</button>
12551255
</div>
1256+
<button type="submit" class="btn btn-primary btn-full" id="save-api-key-btn">Save</button>
12561257
</form>
12571258
<div id="api-key-status" style="margin-top:8px;font-size:0.82rem;color:var(--text-muted)"></div>
12581259
</div>

0 commit comments

Comments
 (0)