cookie-dialog-monster/packages/browser-extension/src/popup.html

117 lines
3.8 KiB
HTML
Raw Normal View History

<html>
<head>
2021-04-11 09:45:08 +00:00
<link rel="stylesheet" href="/styles/fonts.css" />
<link rel="stylesheet" href="/styles/reset.css" />
2021-04-11 09:45:08 +00:00
<link rel="stylesheet" href="/styles/globals.css" />
<meta charset="UTF-8" />
<meta name="author" content="wanhose" />
<script src="/scripts/popup.js"></script>
</head>
<body>
2021-04-11 09:45:08 +00:00
<header class="header">
2021-10-05 06:58:24 +00:00
<h1 class="header-title">Cookie Dialog Monster</h1>
2021-04-11 09:45:08 +00:00
<div class="header-actions">
<button aria-label="Reload page" id="reload">
2021-04-11 09:45:08 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="23 4 23 10 17 10"></polyline>
<polyline points="1 20 1 14 7 14"></polyline>
<path
d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"
></path>
</svg>
</button>
</div>
</header>
<main>
<label class="switch-label">
<span>
<span data-i18n="toggleText"></span>
<strong id="host"></strong>
</span>
2021-04-11 09:45:08 +00:00
<div class="switch">
<input checked="checked" id="power" type="checkbox" />
2021-04-11 09:45:08 +00:00
<span class="slider"></span>
</div>
</label>
<div class="separator"></div>
<div>
<div class="rating">
<span data-i18n="reviewText"></span>
2021-04-11 09:45:08 +00:00
<div class="rating-actions">
<button aria-label="Unlike" id="unlike">
2021-04-11 09:45:08 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"
></path>
</svg>
</button>
<button aria-label="Like" id="like">
2021-04-11 09:45:08 +00:00
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"
></path>
</svg>
</button>
</div>
</div>
<p data-i18n="negativeText" hidden="true" id="negative"></p>
<p data-i18n="positiveText" hidden="true" id="positive"></p>
2021-04-11 09:45:08 +00:00
</div>
<div class="separator"></div>
<div class="help">
<span data-i18n="helpText"></span>
2021-04-11 09:45:08 +00:00
<a href="mailto:wanhose.development@gmail.com" target="_blank">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<line x1="22" y1="2" x2="11" y2="13"></line>
<polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>
</svg>
</a>
</div>
</main>
<footer>
<span data-i18n="footerText"></span>
2021-04-11 09:45:08 +00:00
<a href="https://github.com/wanhose" target="_blank">wanhose</a>
</footer>
</body>
</html>