Display name only: UI, docs, API title, dashboards, hashtag and User-Agent. Identifiers (package, metrics, env vars, SCROBBLER_CONFIG) are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
44 lines
1.8 KiB
HTML
44 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Apps · Scrobbled</title>
|
|
<link rel="icon" href="favicon.ico" sizes="48x48">
|
|
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
|
<link rel="manifest" href="site.webmanifest">
|
|
<meta name="theme-color" content="#1F1C28">
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<script src="config.js"></script>
|
|
<script type="module" src="js/apps.js"></script>
|
|
</head>
|
|
<body>
|
|
<header class="site-header" id="site-header"></header>
|
|
<main id="main">
|
|
<h1 class="page-title">Apps</h1>
|
|
<p class="lede">Each player or scrobbler you connect needs an API key and shared secret. Create one per app, so you can remove any of them without affecting the others.</p>
|
|
<div id="messages"></div>
|
|
<section aria-labelledby="new-title">
|
|
<h2 id="new-title" class="visually-hidden">Create an app</h2>
|
|
<form class="inline-form" id="create-app">
|
|
<div class="field">
|
|
<label for="app-name">App name</label>
|
|
<input id="app-name" name="name" required maxlength="100" placeholder="Living room player" autocomplete="off">
|
|
</div>
|
|
<button class="button" type="submit">Create app</button>
|
|
</form>
|
|
</section>
|
|
<section aria-labelledby="apps-title">
|
|
<h2 id="apps-title" class="section-head">Your apps</h2>
|
|
<ul class="rows" id="apps"></ul>
|
|
</section>
|
|
<section class="setup" aria-labelledby="setup-title">
|
|
<h2 id="setup-title">Connecting a player</h2>
|
|
<p class="muted">In your player's scrobbling settings, choose a custom Last.fm-compatible server and enter:</p>
|
|
<dl id="setup"></dl>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|