diff --git a/create.cgi b/create.cgi index 5e60937..964437d 100755 --- a/create.cgi +++ b/create.cgi @@ -38,14 +38,16 @@ cat < Fetching tweets of $id - + +
+
-

Greptweet is running a operation to fetch upto 3200 tweets from $id

+

Fetching upto 3200 tweets from $id

-

Please be patient. Closing this page prematurely you can limit the tweets fetch-tweets.sh gets and trigger a locking bug.

+

Please be patient. Closing this page prematurely you can limit the tweets fetch-tweets.sh gets and trigger a locking bug.

 END
@@ -105,7 +107,9 @@ cd $oldpwd; ./users.sh > users.shtml
 
 cat <
-

Visit http://$HTTP_HOST/u/$id

+

Now to grep fetched tweets, goto http://$HTTP_HOST/u/$id

+
+
END diff --git a/index.html b/index.html index f9976f5..b64e797 100644 --- a/index.html +++ b/index.html @@ -3,8 +3,8 @@ Grepping twitter backup - + @@ -12,21 +12,26 @@
- + +
-

-

Type a search query like foo

+

Type a search query like foo

+ +
+ +
diff --git a/index.js b/index.js index f6462c7..014705f 100644 --- a/index.js +++ b/index.js @@ -1,15 +1,6 @@ -function massage() { - humane.timeout = 5000; - humane("Please wait..."); - humane("Still loading..."); -} - function submitPressed() { if (document.forms.f.checkValidity()) { - b = document.getElementById("b"); - b.disabled = true; - massage(); + $("#b").button('loading'); document.forms.f.submit(); } } - diff --git a/index.shtml b/index.shtml index ebb5c4a..b0660e6 100644 --- a/index.shtml +++ b/index.shtml @@ -4,9 +4,9 @@ GrepTweet - - + + @@ -16,7 +16,7 @@
@@ -43,12 +43,12 @@
- + +First fetch tweets to search "grep" them
-

Greppable tweeters

@@ -59,7 +59,7 @@ diff --git a/main.js b/main.js index 8b00bac..590be95 100644 --- a/main.js +++ b/main.js @@ -18,6 +18,7 @@ function grep(query) { $(document).ready(function() { NAME = window.location.pathname.split('/')[2]; + $("#name").html(NAME); $("input[type=text]").change(function() { query = this.value; @@ -34,7 +35,7 @@ $(document).ready(function() { $("input[type=text]").focus(); $("#source").html('' + NAME + ' simple text backup file'); - $("#name").html(NAME); + document.title = "Greptweet " + NAME; }); diff --git a/style.css b/style.css index 8759a4a..0b47976 100644 --- a/style.css +++ b/style.css @@ -3,3 +3,17 @@ html, body { background-color: #eee; } + + +/* The white background content wrapper */ +.content { +background-color: #fff; +padding: 20px; +margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */ +-webkit-border-radius: 0 0 6px 6px; +-moz-border-radius: 0 0 6px 6px; +border-radius: 0 0 6px 6px; +-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15); +-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15); +box-shadow: 0 1px 2px rgba(0,0,0,.15); +}