mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2026-08-05 02:25:09 +02:00
release: v1.2.6-pre1
- Various website improvements (CSS) - Adjust keyring path use the new relative path: pgp/anonymousplanet.asc - 02-sign.yml: use a fpr match to lock a specific key - 02-sign.yml: quick mkdir -p repo/export before copying files to the dir ^_^ - Moved the Acknowledgements section to the bottom - COM Class Identifiers (CLSID/GUID) (NEW) - Windows Global Device Identifier (GDID) (NEW) - USB bus telemetry (device enumeration history) (NEW) - Glossary (`docs/includes/glossary.md`) and removed inline expansions where applicable Signed-off-by: nopeitsnothing <no@anonymousplanet.net>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
<!-- for verifying Mastodon -->
|
||||
{% block extrahead %}
|
||||
<link href="https://ioc.exchange/@unknown" rel="me">
|
||||
<link rel="icon" id="ap-favicon" href="{{ 'media/profile.png' | url }}" sizes="any">
|
||||
<link rel="icon" type="image/
|
||||
</script>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,66 @@
|
||||
{% set class = "md-header" %}
|
||||
{% if "navigation.tabs.sticky" in features %}
|
||||
{% set class = class ~ " md-header--shadow md-header--lifted" %}
|
||||
{% elif "navigation.tabs" not in features %}
|
||||
{% set class = class ~ " md-header--shadow" %}
|
||||
{% endif %}
|
||||
<header class="{{ class }}" data-md-component="header">
|
||||
<nav class="md-header__inner md-grid" aria-label="{{ lang.t('header') }}">
|
||||
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-header__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
|
||||
{% include "partials/logo.html" %}
|
||||
</a>
|
||||
<label class="md-header__button md-icon" for="__drawer">
|
||||
{% set icon = config.theme.icon.menu or "material/menu" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</label>
|
||||
<div class="md-header__title" data-md-component="header-title">
|
||||
<div class="md-header__ellipsis">
|
||||
<div class="md-header__topic">
|
||||
<span class="md-ellipsis">
|
||||
{{ config.site_name }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="md-header__topic" data-md-component="header-topic">
|
||||
<span class="md-ellipsis">
|
||||
{% if page.meta and page.meta.title %}
|
||||
{{ page.meta.title }}
|
||||
{% else %}
|
||||
{{ page.title }}
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if config.theme.palette %}
|
||||
{% if not config.theme.palette is mapping %}
|
||||
{% include "partials/palette-toggle.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if not config.theme.palette is mapping %}
|
||||
{% include "partials/javascripts/palette.html" %}
|
||||
{% endif %}
|
||||
{% if config.extra.alternate %}
|
||||
{% include "partials/alternate.html" %}
|
||||
{% endif %}
|
||||
{% if "material/search" in config.plugins %}
|
||||
{% set search = config.plugins["material/search"] | attr("config") %}
|
||||
{% if search.enabled %}
|
||||
<label class="md-header__button md-icon" for="__search">
|
||||
{% set icon = config.theme.icon.search or "material/magnify" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</label>
|
||||
{% include "partials/search.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if config.repo_url %}
|
||||
<div class="md-header__source">
|
||||
{% include "partials/source.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</nav>
|
||||
{% if "navigation.tabs.sticky" in features %}
|
||||
{% if "navigation.tabs" in features %}
|
||||
{% include "partials/tabs.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</header>
|
||||
@@ -0,0 +1,70 @@
|
||||
<div class="toggle-container toggle-container--header" id="ap-palette-toggle">
|
||||
<div class="toggle-wrap">
|
||||
<input type="checkbox" class="toggle-input" id="ap-toggle-input" aria-label="Turn the monitor on or off">
|
||||
<label for="ap-toggle-input" class="toggle-track">
|
||||
<div class="holo-glow"></div>
|
||||
<div class="track-lines"><div class="track-line"></div></div>
|
||||
<div class="toggle-thumb">
|
||||
<div class="thumb-core"></div>
|
||||
<div class="thumb-inner"></div>
|
||||
<div class="thumb-scan"></div>
|
||||
<div class="thumb-particles">
|
||||
<div class="thumb-particle"></div>
|
||||
<div class="thumb-particle"></div>
|
||||
<div class="thumb-particle"></div>
|
||||
<div class="thumb-particle"></div>
|
||||
<div class="thumb-particle"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="energy-rings">
|
||||
<div class="energy-ring"></div>
|
||||
<div class="energy-ring"></div>
|
||||
<div class="energy-ring"></div>
|
||||
</div>
|
||||
<div class="toggle-data">
|
||||
<div class="data-text off">On</div>
|
||||
<div class="data-text on">Off</div>
|
||||
</div>
|
||||
<div class="status-indicator off"></div>
|
||||
<div class="status-indicator on"></div>
|
||||
<div class="interface-lines">
|
||||
<div class="interface-line"></div>
|
||||
<div class="interface-line"></div>
|
||||
<div class="interface-line"></div>
|
||||
<div class="interface-line"></div>
|
||||
<div class="interface-line"></div>
|
||||
<div class="interface-line"></div>
|
||||
</div>
|
||||
<div class="toggle-reflection"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var KEY = "__palette";
|
||||
var input = document.getElementById("ap-toggle-input");
|
||||
if (!input) return;
|
||||
|
||||
function currentScheme() {
|
||||
return document.body.getAttribute("data-md-color-scheme") || "slate";
|
||||
}
|
||||
|
||||
function applyScheme(scheme) {
|
||||
document.body.setAttribute("data-md-color-scheme", scheme);
|
||||
|
||||
var stored = { index: scheme === "default" ? 1 : 0 };
|
||||
try {
|
||||
localStorage.setItem(KEY, JSON.stringify(stored));
|
||||
} catch (e) {
|
||||
/* storage unavailable, fail silently */
|
||||
}
|
||||
}
|
||||
|
||||
input.checked = currentScheme() === "default";
|
||||
|
||||
input.addEventListener("change", function () {
|
||||
applyScheme(input.checked ? "default" : "slate");
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
Reference in New Issue
Block a user