forked from martinthomson/internet-draft-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Script updating gh-pages from 4188aea. [ci skip]
- Loading branch information
ID Bot
committed
Oct 27, 2024
1 parent
3d0f2ab
commit 7aa7b96
Showing
3 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>isakruas/ecdp 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/isakruas/ecdp">isakruas/ecdp</a></h1> | ||
<p>View <a href="issues.html">saved issues</a>, or the latest GitHub <a href="https://github.com/isakruas/ecdp/issues">issues</a> and <a href="https://github.com/isakruas/ecdp/pulls">pull requests</a> in the <a href="https://github.com/isakruas/ecdp">repo</a>.</p> | ||
<table id="branch-main"> | ||
<tr> | ||
<td><a href="./draft-ruas-cfrg-ecdp.html" class="html draft-ruas-cfrg-ecdp" title="ECDP: Elliptic Curve Data Protocol (HTML)">ECDP</a></td> | ||
<td><a href="./draft-ruas-cfrg-ecdp.txt" class="txt draft-ruas-cfrg-ecdp" title="ECDP: Elliptic Curve Data Protocol (Text)">plain text</a></td> | ||
<td><a href="https://datatracker.ietf.org/doc/draft-ruas-cfrg-ecdp" class="dt draft-ruas-cfrg-ecdp" title="Datatracker for draft-ruas-cfrg-ecdp">datatracker</a></td> | ||
<td><a href="https://author-tools.ietf.org/api/iddiff?doc_1=draft-ruas-cfrg-ecdp&url_2=https://isakruas.github.io/ecdp/draft-ruas-cfrg-ecdp.txt" class="diff draft-ruas-cfrg-ecdp">diff with last submission</a></td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
<script> | ||
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> |