emanote/static_gen/-/tasks.html

327 lines
11 KiB
HTML
Raw Normal View History

2022-08-24 14:52:32 +00:00
<html lang='en'>
<head>
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<title>
Task Index Home
</title>
<meta property='og:description' content='Unsortierte Einsichten und Erfahrungen. Archiviert zum verlinken, späteren Überdenken oder Diskutieren.' />
<meta property='og:site_name' content='Home' />
<meta property='og:image' content />
<meta property='og:type' content='website' />
<meta property='og:title' content='Task Index' />
<base href='/' />
<link href='favicon.svg' rel='icon' />
<script>
window.MathJax = {
startup: {
ready: () => {
MathJax.startup.defaultReady();
}
}
};
</script>
<script async id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'></script>
<!-- mermaid.js --><script src='https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js'></script>
<script>
mermaid.initialize({startOnLoad:false});
mermaid.init(undefined,document.querySelectorAll(".mermaid"));
</script>
<!-- highlight.js -->
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/hybrid.min.css' />
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js'></script>
<!-- Include languages that Emanote itself uses -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/haskell.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/nix.min.js'></script>
<script>hljs.highlightAll();</script>
2023-11-06 08:52:15 +00:00
<link href='tailwind.css?instanceId=e98d22b9-5039-4bd9-8072-cac8aca20ee6' rel='stylesheet' type='text/css' />
2022-08-24 14:52:32 +00:00
<style>
2022-11-23 11:22:29 +00:00
/* Heist error element */
2022-08-24 14:52:32 +00:00
strong.error {
color: lightcoral;
font-size: 90%;
font-family: monospace;
}
2022-11-23 11:22:29 +00:00
/* External link icon */
a[data-linkicon=""]::after {
content: ""
}
a[data-linkicon=none]::after {
content: ""
}
a[data-linkicon="external"]::after {
2023-10-02 21:16:07 +00:00
content: url('data:image/svg+xml,\
<svg xmlns="http://www.w3.org/2000/svg" height="0.7em" viewBox="0 0 20 20"> \
<g style="stroke:gray;stroke-width:1"> \
<line x1="5" y1="5" x2="5" y2="14" /> \
<line x1="14" y1="9" x2="14" y2="14" /> \
<line x1="5" y1="14" x2="14" y2="14" /> \
<line x1="5" y1="5" x2="9" y2="5" /> \
<line x1="10" y1="2" x2="17" y2="2" /> \
<line x1="17" y1="2" x2="17" y2="9" /> \
<line x1="10" y1="9" x2="17" y2="2" style="stroke-width:1.0" /> \
</g> \
</svg>');
2022-11-23 11:22:29 +00:00
}
a[data-linkicon="external"][href^="mailto:"]::after {
2023-10-02 21:16:07 +00:00
content: url('data:image/svg+xml,\
<svg \
xmlns="http://www.w3.org/2000/svg" \
height="0.7em" \
fill="none" \
viewBox="0 0 24 24" \
stroke="gray" \
stroke-width="2"> \
<path \
stroke-linecap="round" \
stroke-linejoin="round" \
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" /> \
</svg>');
2022-11-23 11:22:29 +00:00
}
2022-08-24 14:52:32 +00:00
</style>
2022-11-23 11:22:29 +00:00
<!-- What goes in this file will appear on near the end of <head>--><link rel='preload' href='_emanote-static/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf' as='font' type='font/ttf' crossorigin />
2022-08-24 14:52:32 +00:00
<style>
@font-face {
2022-11-23 11:22:29 +00:00
font-family: 'WorkSans';
/* FIXME: This ought to be: ${ema:emanoteStaticLayerUrl}/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf */
src: url(_emanote-static/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf) format("truetype");
2022-08-24 14:52:32 +00:00
font-display: swap;
}
body {
2022-11-23 11:22:29 +00:00
font-family: 'WorkSans', sans-serif;
font-variation-settings: 'wght' 350;
2022-08-24 14:52:32 +00:00
}
a.mavenLinkBold {
2022-11-23 11:22:29 +00:00
font-variation-settings: 'wght' 400;
2022-08-24 14:52:32 +00:00
}
strong {
2022-11-23 11:22:29 +00:00
font-variation-settings: 'wght' 500;
2022-08-24 14:52:32 +00:00
}
h1,
h2,
h3,
h4,
h5,
h6,
header,
.header-font {
2022-11-23 11:22:29 +00:00
font-family: 'WorkSans', sans-serif;
}
h1 {
font-variation-settings: 'wght' 500;
}
h2 {
font-variation-settings: 'wght' 400;
}
h3 {
font-variation-settings: 'wght' 300;
2022-08-24 14:52:32 +00:00
}
</style>
2022-11-23 11:22:29 +00:00
2022-08-24 14:52:32 +00:00
<head-main></head-main>
2022-11-23 11:22:29 +00:00
<link rel='stylesheet' href='_emanote-static/stork/flat.css' />
2022-08-24 14:52:32 +00:00
<!-- Custom Stork-search styling for Emanote -->
<style>
#stork-search-container {
z-index: 1000;
background-color: rgb(15 23 42/.8);
}
.stork-overflow-hidden-important {
overflow: hidden !important;
}
</style>
2022-11-23 11:22:29 +00:00
<script src='_emanote-static/stork/stork.js'></script>
2022-08-24 14:52:32 +00:00
2023-10-02 21:16:07 +00:00
<script id='emanote-stork' data-emanote-base-url='/'>
2022-08-24 14:52:32 +00:00
window.emanote = {};
window.emanote.stork = {
searchShown: false,
2023-10-02 21:16:07 +00:00
indexIsStale: false,
2022-08-24 14:52:32 +00:00
toggleSearch: function () {
2023-10-02 21:16:07 +00:00
window.emanote.stork.refreshIndex();
2022-08-24 14:52:32 +00:00
document.getElementById('stork-search-container').classList.toggle('hidden');
window.emanote.stork.searchShown = document.body.classList.toggle('stork-overflow-hidden-important');
if (window.emanote.stork.searchShown) {
document.getElementById('stork-search-input').focus();
}
},
clearSearch: function () {
document.getElementById('stork-search-container').classList.add('hidden');
document.body.classList.remove('stork-overflow-hidden-important');
window.emanote.stork.searchShown = false;
},
2023-10-02 21:16:07 +00:00
getBaseUrl: function () {
const baseUrl = document.getElementById("emanote-stork").getAttribute('data-emanote-base-url') || '/';
return baseUrl;
},
registerIndex: function (options) {
2022-08-24 14:52:32 +00:00
const indexName = 'emanote-search'; // used to match input[data-stork] attribute value
2023-10-02 21:16:07 +00:00
const indexUrl = window.emanote.stork.getBaseUrl() + '-/stork.st';
stork.register(
indexName,
indexUrl,
options);
},
init: function () {
2022-08-24 14:52:32 +00:00
if (document.readyState !== 'complete') {
window.addEventListener('load', function () {
2023-10-02 21:16:07 +00:00
stork.initialize(window.emanote.stork.getBaseUrl() + '_emanote-static/stork/stork.wasm');
window.emanote.stork.registerIndex();
2022-08-24 14:52:32 +00:00
});
document.addEventListener('keydown', event => {
if (window.emanote.stork.searchShown && event.key === 'Escape') {
window.emanote.stork.clearSearch();
event.preventDefault();
} else if ((event.key == 'k' || event.key == 'K') && (event.ctrlKey || event.metaKey)) {
window.emanote.stork.toggleSearch();
event.preventDefault();
}
});
} else {
2023-10-02 21:16:07 +00:00
// This section is called during Ema's hot reload.
//
// Mark the current index as stale, and refresh it *only when* the
// user actually invokes search.
//
// We do not refresh the index *right away*, as that will cause
// memory leaks in the browser. See
// https://github.com/srid/emanote/issues/411#issuecomment-1402056235
console.log("stork: Marking index as stale");
window.emanote.stork.markIndexAsStale();
}
},
markIndexAsStale: function () {
window.emanote.stork.indexIsStale = true;
},
refreshIndex: function () {
if (window.emanote.stork.indexIsStale) {
console.log("stork: Reloading index");
window.emanote.stork.indexIsStale = false;
// NOTE: This will leak memory. See the comment above.
window.emanote.stork.registerIndex({ forceOverwrite: true });
2022-08-24 14:52:32 +00:00
}
}
2023-10-02 21:16:07 +00:00
2022-08-24 14:52:32 +00:00
};
window.emanote.stork.init();
</script>
</head>
<!-- DoNotFormat -->
<!-- DoNotFormat -->
<body class='bg-gray-400 overflow-y-scroll'>
<div class='container mx-auto '>
<main class='flex-col items-center justify-center mx-2'>
<h1 class='pb-2 mt-2 mb-2 text-6xl text-center'>
Task Index
</h1>
<div class='pb-2 mx-auto my-4 lg:max-w-screen-md '>
<div class='w-full bg-gray-300'>
<div class='w-full px-3 py-1'>
</div>
</div>
</div>
</main>
<footer class='flex items-center justify-center mt-2 mb-8 space-x-4 text-center text-gray-800'>
<div>
<a href='' title='Go to Home page'>
2022-08-25 04:18:18 +00:00
<svg xmlns='http://www.w3.org/2000/svg' class='w-6 h-6 hover:text-purple-700' fill='none' viewBox='0 0 24 24' stroke='currentColor'>
2022-08-24 14:52:32 +00:00
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'></path>
</svg>
</a>
</div>
<div>
<a href='-/all' title='View Index'>
2022-08-25 04:18:18 +00:00
<svg class='w-6 h-6 hover:text-purple-700' fill='none' stroke='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
2022-08-24 14:52:32 +00:00
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4'>
</path>
</svg>
</a>
</div>
<div>
2023-10-02 21:16:07 +00:00
<a href='https://emanote.srid.ca' target='_blank' title='Generated by Emanote 1.0.3.11'>
2022-08-25 04:18:18 +00:00
<img class='w-6 h-6 hover:text-purple-700' src='_emanote-static/emanote-logo.svg' />
2022-08-24 14:52:32 +00:00
</a>
</div>
<div>
<a href='-/tags' title='View tags'>
2022-08-25 04:18:18 +00:00
<svg class='w-6 h-6 hover:text-purple-700' fill='none' stroke='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
2022-08-24 14:52:32 +00:00
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z'>
</path>
</svg>
</a>
</div>
<div>
<a href='-/tasks' title='View tasks'>
2022-08-25 04:18:18 +00:00
<svg xmlns='http://www.w3.org/2000/svg' class='w-6 h-6 hover:text-purple-700' fill='none' viewBox='0 0 24 24' stroke='currentColor'>
2022-08-24 14:52:32 +00:00
<path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'></path>
</svg>
</a>
</div>
</footer>
</div>
<div id='stork-search-container' class='hidden fixed w-screen h-screen inset-0 backdrop-filter backdrop-blur-sm'>
<div class='fixed w-screen h-screen inset-0' onclick='window.emanote.stork.toggleSearch()'></div>
<div class='container mx-auto p-10 mt-10'>
<div class='stork-wrapper-flat container mx-auto'>
<input id='stork-search-input' data-stork='emanote-search' class='stork-input' placeholder='Search (Ctrl+K) ...' />
<div data-stork='emanote-search-output' class='stork-output'></div>
</div>
</div>
</div>
2022-11-23 11:22:29 +00:00
2022-08-24 14:52:32 +00:00
</body>
</html>