Merge branch 'master' of github.com:kaihendry/Greptweet

This commit is contained in:
Kai Hendry
2013-06-12 09:15:23 +08:00
5 changed files with 13 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ cat <<END
<head>
<meta charset="utf-8" />
<title>Fetching tweets of $id</title>
<link rel="stylesheet" href="/bootstrap/docs/assets/css/bootstrap.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<body>
@@ -70,8 +70,6 @@ ln -sf ../../grep.php || true
if echo $id | grep -q -v '_' # Underscores in domain names is a no no
then
mkdir /srv/www/$id.greptweet.com 2> /dev/null || true
echo Redirect / http://greptweet.com/u/$id > /srv/www/$id.greptweet.com/.htaccess
cat <<END
<a href="http://$id.greptweet.com"><h1 class="alert alert-success">Goto http://$id.greptweet.com to grep!</h1></a>
END

View File

@@ -3,8 +3,8 @@ CACHE MANIFEST
CACHE:
tweets.txt
/main.js
/bootstrap/docs/assets/css/bootstrap.css
/bootstrap/docs/assets/img/glyphicons-halflings.png
/bootstrap/css/bootstrap.min.css
/bootstrap/img/glyphicons-halflings.png
/style.css
/jquery.js
NETWORK:

View File

@@ -5,7 +5,7 @@
<title>Grepping twitter backup</title>
<meta content="width=device-width, initial-scale=1,maximum-scale=1.0;" name=viewport>
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="/bootstrap/docs/assets/css/bootstrap.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
@@ -29,7 +29,9 @@
<script src="/jquery.js"></script>
<script async src="/main.js"></script>
<footer><span id="source"></span></footer>
<footer><span id="source"></span>
<p>Sponsored by <a href="http://webconverger.com">Webconverger who provide foolproof Web kiosk software</a></p>
</footer>
</div>
</div>

View File

@@ -6,7 +6,7 @@
<meta content="width=device-width, initial-scale=1,maximum-scale=1.0;" name=viewport>
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon-precomposed" href="http://a0.twimg.com/profile_images/1206037111/greptweet.png">
<link rel="stylesheet" href="/bootstrap/docs/assets/css/bootstrap.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<script>
function getCookie( oName ) {

7
jquery.js vendored

File diff suppressed because one or more lines are too long