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> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Fetching tweets of $id</title> <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"> <link rel="stylesheet" type="text/css" href="/style.css">
</head> </head>
<body> <body>
@@ -70,8 +70,6 @@ ln -sf ../../grep.php || true
if echo $id | grep -q -v '_' # Underscores in domain names is a no no if echo $id | grep -q -v '_' # Underscores in domain names is a no no
then 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 cat <<END
<a href="http://$id.greptweet.com"><h1 class="alert alert-success">Goto http://$id.greptweet.com to grep!</h1></a> <a href="http://$id.greptweet.com"><h1 class="alert alert-success">Goto http://$id.greptweet.com to grep!</h1></a>
END END

View File

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

View File

@@ -5,7 +5,7 @@
<title>Grepping twitter backup</title> <title>Grepping twitter backup</title>
<meta content="width=device-width, initial-scale=1,maximum-scale=1.0;" name=viewport> <meta content="width=device-width, initial-scale=1,maximum-scale=1.0;" name=viewport>
<link rel="icon" href="/favicon.ico"> <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"> <link rel="stylesheet" type="text/css" href="/style.css">
</head> </head>
@@ -29,7 +29,9 @@
<script src="/jquery.js"></script> <script src="/jquery.js"></script>
<script async src="/main.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>
</div> </div>

View File

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

7
jquery.js vendored

File diff suppressed because one or more lines are too long