Files
greptweet/index.shtml
2011-12-01 13:52:50 +08:00

41 lines
1.2 KiB
Plaintext

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>GrepTweet</title>
<link id='theme' rel='stylesheet' href='themes/bigbox.css'/>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="humane.min.js" async></script>
<script>
function submitPressed() {
if (document.forms.f.checkValidity()) {
b = document.getElementById("b");
b.disabled = true;
function() { humane.timeout= 5000; humane("Please wait..."); humane("Still loading..."); humane("Ah crap, sorry about this..."], ["I wish transfer chunked worked..."]); }
document.forms.f.submit();
}
}
</script>
</head>
<body>
<form name="f" action="create.cgi" method="get">
<fieldset>
<legend>Create or update a backup of your tweets, so you can grep them</legend>
<p><label>Twitter username: <input type="text" name="id" required placeholder="kaihendry"></label></p>
<p><input type="checkbox" name="o" />Try get older tweets, instead of newer tweets when updating</p>
<button id="b" onclick="submitPressed()">Fetch tweets</button>
</fieldset>
</form>
<!--#include virtual="users.shtml" -->
<p>Please follow <a href="https://twitter.com/greptweet">@greptweet</a> for
updates and <a href="https://github.com/kaihendry/Greptweet">contribute to the
source on Github!</a></p>
</body>
</html>