From aa48faa19166a1f31d3f2ba6a7c28cc7535b7c6d Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Wed, 7 Jan 2009 18:21:23 +0000 Subject: Futon history browsing - applied patch from COUCHDB-186 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732413 13f79535-47bb-0310-9956-ffa450edef68 --- THANKS | 2 + share/www/browse/database.html | 3 + share/www/browse/document.html | 3 + share/www/index.html | 21 +++++- share/www/script/jquery.history.js | 150 +++++++++++++++++++++++++++++++++++++ 5 files changed, 177 insertions(+), 2 deletions(-) create mode 100644 share/www/script/jquery.history.js diff --git a/THANKS b/THANKS index c00a60a4..988c1b6b 100644 --- a/THANKS +++ b/THANKS @@ -12,6 +12,7 @@ Some of these people are: * Yoan Blanc * Paul Carey * Benoit Chesneau + * Jason Davies * Paul Joseph Davis * Michael Gottesman * Michael Hendricks @@ -23,5 +24,6 @@ Some of these people are: * Sam Ruby * Dirk Schalge * Carlos Valiente + * Luke Venediger For a list of authors see the `AUTHORS` file. diff --git a/share/www/browse/database.html b/share/www/browse/database.html index 6b12ed7d..a3c08804 100644 --- a/share/www/browse/database.html +++ b/share/www/browse/database.html @@ -103,6 +103,9 @@ specific language governing permissions and limitations under the License. $("#toolbar button.add").click(page.addDocument); $("#toolbar button.compact").click(page.compactDatabase); $("#toolbar button.delete").click(page.deleteDatabase); + + // Update title + document.title = "Browse Database " + page.db.name; }); diff --git a/share/www/browse/document.html b/share/www/browse/document.html index 09136533..f4f6fff9 100644 --- a/share/www/browse/document.html +++ b/share/www/browse/document.html @@ -64,6 +64,9 @@ specific language governing permissions and limitations under the License. $("#toolbar button.add").click(page.addField); $("#toolbar button.load").click(page.uploadAttachment); $("#toolbar button.delete").click(page.deleteDocument); + + // Update the title + document.title = "View Document " + page.docId; }); diff --git a/share/www/index.html b/share/www/index.html index 37217384..a20754b8 100644 --- a/share/www/index.html +++ b/share/www/index.html @@ -30,7 +30,8 @@ specific language governing permissions and limitations under the License. - +