zk_html/lj-dump/L-1130.html

57 lines
2.1 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Ffffff, ssssfff.</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8" />
</head>
<body>
<main>
<header>
<h1>Zk | Ffffff, ssssfff.</h1>
</header>
<article class="content">
<p>Just unboxed 20 more towers, which should be out in public by Wednesday. Thankfully, though, it looks like I'm going to miss a good portion of the reimaging. I might see some of it on Wednesday, but we're reimaging.. uh.. about 150 towers and 200 laptops (40 of which are being decommissioned due to the 40 new laptops I unboxed last week.. or the week before?). I, however, will be in Florida. :D</p>
<p>James, feed my cat. &gt;:</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2007-08-13 20:46:03</p>
</footer>
</main>
<script type="text/javascript">
document.querySelectorAll('li').forEach(el => {
if (el.querySelectorAll('li').length !== 0) {
el.classList.add('has-nested', 'closed');
el.innerHTML = `<span class="toggle"></span> ${el.innerHTML}`;
}
});
document.querySelectorAll('.toc .has-nested').forEach(el => {
el.classList.remove('has-nested', 'closed');
});
document.querySelectorAll('li.has-nested').forEach(el => {
el.querySelector('.toggle').addEventListener('click', () => {
el.classList.toggle('closed');
});
});
let expanded = false;
document.querySelector('.control').addEventListener('click', (e) => {
expanded = !expanded;
if (expanded) {
e.target.innerText = 'Collapse all';
} else {
e.target.innerText = 'Expand all';
}
document.querySelectorAll('.has-nested').forEach((el) => {
if (expanded) {
el.classList.remove('closed');
} else {
el.classList.add('closed')
}
});
});
</script>
</body>
</html>