mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-21 20:41:06 -05:00
move to event source for showing feedback may be
This commit is contained in:
46
index.html
46
index.html
@@ -1,23 +1,23 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Grepping twitter backup</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
|
||||
<script src="/main.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<input type="text" name="q" />
|
||||
|
||||
<div id="results"></div>
|
||||
|
||||
<p id="source"></p>
|
||||
|
||||
<p>It's upto to YOU to save your text file. User archives maybe deleted at any time.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Grepping twitter backup</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<input type="text" name="q" />
|
||||
|
||||
<div id="results"></div>
|
||||
|
||||
<p id="source"></p>
|
||||
|
||||
<p>Type a search query like <a href="?foo">foo</a></p>
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
|
||||
<script async src="/main.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
48
index.shtml
48
index.shtml
@@ -4,64 +4,24 @@
|
||||
<meta charset="utf-8" />
|
||||
<title>GrepTweet</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<script src="http://platform.twitter.com/anywhere.js?id=nblhjVeENlDT7WP83VQEA&v=1"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="greptweet" data-related="kaihendry:Author">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
|
||||
|
||||
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
|
||||
<script>
|
||||
new TWTR.Widget({
|
||||
version: 2,
|
||||
type: 'profile',
|
||||
rpp: 4,
|
||||
interval: 30000,
|
||||
width: 250,
|
||||
height: 300,
|
||||
theme: {
|
||||
shell: {
|
||||
background: '#333333',
|
||||
color: '#ffffff'
|
||||
},
|
||||
tweets: {
|
||||
background: '#000000',
|
||||
color: '#ffffff',
|
||||
links: '#4aed05'
|
||||
}
|
||||
},
|
||||
features: {
|
||||
scrollbar: false,
|
||||
loop: false,
|
||||
live: false,
|
||||
behavior: 'all'
|
||||
}
|
||||
}).render().setUser('greptweet').start();
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<form 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>
|
||||
<input type="submit" value="Create backup"/>
|
||||
<input type="submit" value="Fetch tweets"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<!--#include virtual="users.shtml" -->
|
||||
|
||||
<script>
|
||||
twttr.anywhere(function (T) {
|
||||
T("#users").hovercards({ linkify: false });
|
||||
});
|
||||
</script>
|
||||
|
||||
<p><a href="https://github.com/kaihendry/Greptweet">Please contribute to the source on Github!</a></p>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user