mirror of
https://github.com/offen/analyticstxt.git
synced 2024-11-22 17:10:29 +01:00
52 lines
2.3 KiB
HTML
52 lines
2.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>offen/analyticstxt main preview</title>
|
||
|
<meta name="viewport" content="initial-scale=1.0">
|
||
|
<style type="text/css">/*<![CDATA[*/
|
||
|
body { font-family: "Helvetica Neue","Open Sans", Helvetica, Calibri,sans-serif; }
|
||
|
h1, h2, td { font-family: "Helvetica Neue", "Roboto Condensed", "Open Sans", Helvetica, Calibri, sans-serif; }
|
||
|
h1 { font-size: 20px; } h2 { font-size: 16px; }
|
||
|
table { margin: 5px 10px; border-collapse: collapse; }
|
||
|
th, td { font-weight: normal; text-align: left; padding: 2px 5px; }
|
||
|
a:link { color: #000; } a:visited { color: #00a; }
|
||
|
/*]]>*/</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Editor's drafts for main branch of <a href="https://github.com/offen/analyticstxt">offen/analyticstxt</a></h1>
|
||
|
<p>View <a href="issues.html">saved issues</a>, or the latest GitHub <a href="https://github.com/offen/analyticstxt/issues">issues</a> and <a href="https://github.com/offen/analyticstxt/pulls">pull requests</a>.</p>
|
||
|
<table id="branch-main">
|
||
|
<tr>
|
||
|
<th>draft-ring-analyticstxt</th>
|
||
|
<td><a href="./draft-ring-analyticstxt.html" class="html draft-ring-analyticstxt">html</a></td>
|
||
|
<td><a href="./draft-ring-analyticstxt.txt" class="txt draft-ring-analyticstxt">plain text</a></td>
|
||
|
<td><a href="https://tools.ietf.org/rfcdiff?url1=https://tools.ietf.org/id/draft-ring-analyticstxt.txt&url2=https://offen.github.io/analyticstxt/draft-ring-analyticstxt.txt" class="diff draft-ring-analyticstxt">diff with last submission</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<script>
|
||
|
// @licstart
|
||
|
// Any copyright is dedicated to the Public Domain.
|
||
|
// http://creativecommons.org/publicdomain/zero/1.0/
|
||
|
// @licend
|
||
|
window.onload = function() {
|
||
|
var referrer_branch = 'main';
|
||
|
// e.g., "https://github.com/user/repo/tree/main"
|
||
|
var chunks = document.referrer.split("/");
|
||
|
if (chunks[2] === 'github.com' && chunks[5] === 'tree') {
|
||
|
referrer_branch = chunks[6];
|
||
|
}
|
||
|
let branch = document.querySelector('#branch-' + referrer_branch);
|
||
|
let h = document.location.hash.substring(1);
|
||
|
if (h === 'show') {
|
||
|
document.location.hash = '#' + branch.id;
|
||
|
} else if (branch && h.startsWith('go')) {
|
||
|
let e = branch.querySelector(h.substring(2));
|
||
|
if (e && e.href) {
|
||
|
document.location = e.href;
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|