Files
SunshineDeps/win-x64/phserver/assets/web/pin.html

38 lines
1.7 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en" data-bs-theme="auto">
<head>
<!-- TEMPLATE_HEADER - Used by Every UI Page -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sunshine</title>
<link rel="icon" type="image/x-icon" href="./images/sunshine.ico">
<link href="./assets/css/sunshine.css" rel="stylesheet" />
<script type="module" crossorigin src="./assets/pin-DGBmKvR4.js"></script>
<link rel="modulepreload" crossorigin href="./assets/_plugin-vue_export-helper-fP7Bc2kv.js">
<link rel="modulepreload" crossorigin href="./assets/Navbar-Bk41hp-r.js">
<link rel="stylesheet" crossorigin href="./assets/_plugin-vue_export-helper-BebBUAXt.css">
<link rel="stylesheet" crossorigin href="./assets/Navbar-dej49bs7.css">
</head>
<body id="app" v-cloak>
<Navbar></Navbar>
<div id="content" class="container">
<h1 class="my-4 text-center">{{ $t('pin.pin_pairing') }}</h1>
<form class="form d-flex flex-column align-items-center" id="form" @submit.prevent="registerDevice">
<div class="card flex-column d-flex p-4 mb-4">
<input type="text" pattern="\d*" :placeholder="`${$t('navbar.pin')}`" autofocus id="pin-input" class="form-control mt-2" required />
<input type="text" :placeholder="`${$t('pin.device_name')}`" id="name-input" class="form-control my-4" required />
<button class="btn btn-primary">{{ $t('pin.send') }}</button>
</div>
<div class="alert alert-warning">
<b>{{ $t('_common.warning') }}</b> {{ $t('pin.warning_msg') }}
</div>
<div id="status"></div>
</form>
</div>
</body>