74 lignes
1.6 KiB
HTML
74 lignes
1.6 KiB
HTML
<!doctype html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Paramètres SKYNET SSO</title>
|
|
<link rel="stylesheet" href="options.css">
|
|
</head>
|
|
|
|
<body>
|
|
<main>
|
|
<header>
|
|
<img
|
|
class="app-icon"
|
|
src="icons/skynet.png"
|
|
alt=""
|
|
>
|
|
|
|
<div>
|
|
<h1>SKYNET SSO</h1>
|
|
<p>Paramètres de l’extension Firefox</p>
|
|
</div>
|
|
</header>
|
|
|
|
<label for="homeUrl">
|
|
URL de navigation lors du clique sur l'icon
|
|
</label>
|
|
<input
|
|
id="homeUrl"
|
|
type="url"
|
|
placeholder="https://home.domain.net"
|
|
>
|
|
|
|
<label for="issuer">
|
|
URL du serveur SSO
|
|
</label>
|
|
<input
|
|
id="issuer"
|
|
type="url"
|
|
placeholder="https://auth.domain.net"
|
|
>
|
|
|
|
<label for="hosts">
|
|
Domaines sur lesquels afficher la barre
|
|
</label>
|
|
<textarea
|
|
id="hosts"
|
|
rows="6"
|
|
placeholder="domain.net domain2.net"
|
|
></textarea>
|
|
|
|
<p class="hint">
|
|
Un domaine par ligne. Les sous-domaines sont inclus automatiquement.
|
|
Exemple : domain.net couvre sub.domain.net.
|
|
</p>
|
|
|
|
<label class="toggle-row">
|
|
<input id="showNotch" type="checkbox">
|
|
<span>
|
|
Afficher l’encoche pour pouvoir rouvrir la barre après masquage
|
|
</span>
|
|
</label>
|
|
|
|
<button id="save">
|
|
Enregistrer
|
|
</button>
|
|
|
|
<span id="result" role="status"></span>
|
|
</main>
|
|
|
|
<script src="options.js"></script>
|
|
</body>
|
|
</html>
|