Disable PLEC Upload

This commit is contained in:
2026-05-08 00:36:13 +08:00
parent def3dfb60d
commit d2f4d343ce
3 changed files with 11 additions and 3 deletions

View File

@@ -32,12 +32,20 @@ function getHtml(): string {
background: var(--vscode-button-secondaryHoverBackground);
}
.tool-desc { display: block; font-size: 11px; opacity: 0.7; margin-top: 2px; }
.tool-btn:disabled { cursor: not-allowed; opacity: 0.55; }
.tool-btn:disabled:hover { background: var(--vscode-button-secondaryBackground); }
.wip-badge {
display: inline-block; margin-left: 6px; padding: 1px 6px;
font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
background: var(--vscode-badge-background); color: var(--vscode-badge-foreground);
border-radius: 3px; vertical-align: middle;
}
</style>
</head>
<body>
<h3>HPL Toolbox</h3>
<button class="tool-btn" data-cmd="hplToolbox.openPlecUpload">
PLEC Upload
<button class="tool-btn" data-cmd="hplToolbox.openPlecUpload" disabled title="Work In Progress">
PLEC Upload<span class="wip-badge">Work In Progress</span>
<span class="tool-desc">Upload HTML to internal PLEC server</span>
</button>
<button class="tool-btn" data-cmd="hplToolbox.openApplovinUpload">

View File

@@ -160,7 +160,7 @@ function getHtml(): string {
</head>
<body>
<h2>AppLovin Playable Preview (QR)</h2>
<p style="opacity:0.8;font-size:12px;margin-top:0;">Upload HTML files to p.applov.in and get QR codes to scan with the AppLovin Playable Preview app (iOS/Android). Requires the <code>__Host-APPLOVINID</code> cookie set in <em>HPL Toolbox &mdash; AppLovin Upload</em> settings.</p>
<p style="opacity:0.8;font-size:12px;margin-top:0;">Upload HTML files to p.applov.in and get QR codes to scan with the AppLovin Playable Preview app (iOS/Android).</p>
<div class="file-cell" style="margin-bottom:8px;">
<button id="pick" class="secondary">Choose files...</button>