From 539a418b1d7bfbffdcb377a7a9a43fd1a3753b6a Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Thu, 8 Jan 2009 10:19:20 +0000 Subject: Get rid of the iframe structure in Futon to allow easy bookmarking, reloading and back/forward button support across all browsers. Resolves COUCHDB-186 and COUCHDB-56. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732675 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/_sidebar.html | 65 +++++++++++ share/www/browse/_compact_database.html | 28 ----- share/www/browse/_create_database.html | 33 ------ share/www/browse/_create_document.html | 31 ----- share/www/browse/_delete_database.html | 27 ----- share/www/browse/_delete_document.html | 26 ----- share/www/browse/_save_view_as.html | 35 ------ share/www/browse/_upload_attachment.html | 36 ------ share/www/browse/database.html | 186 ------------------------------ share/www/browse/document.html | 117 ------------------- share/www/browse/index.html | 87 -------------- share/www/config.html | 21 ++-- share/www/couch_tests.html | 23 ++-- share/www/database.html | 189 +++++++++++++++++++++++++++++++ share/www/dialog/_compact_database.html | 28 +++++ share/www/dialog/_create_database.html | 33 ++++++ share/www/dialog/_create_document.html | 31 +++++ share/www/dialog/_delete_database.html | 27 +++++ share/www/dialog/_delete_document.html | 26 +++++ share/www/dialog/_save_view_as.html | 35 ++++++ share/www/dialog/_upload_attachment.html | 36 ++++++ share/www/document.html | 118 +++++++++++++++++++ share/www/index.html | 131 ++++++++++----------- share/www/replicator.html | 21 ++-- share/www/script/browse.js | 35 +++--- share/www/style/layout.css | 21 ++-- 26 files changed, 723 insertions(+), 723 deletions(-) create mode 100644 share/www/_sidebar.html delete mode 100644 share/www/browse/_compact_database.html delete mode 100644 share/www/browse/_create_database.html delete mode 100644 share/www/browse/_create_document.html delete mode 100644 share/www/browse/_delete_database.html delete mode 100644 share/www/browse/_delete_document.html delete mode 100644 share/www/browse/_save_view_as.html delete mode 100644 share/www/browse/_upload_attachment.html delete mode 100644 share/www/browse/database.html delete mode 100644 share/www/browse/document.html delete mode 100644 share/www/browse/index.html create mode 100644 share/www/database.html create mode 100644 share/www/dialog/_compact_database.html create mode 100644 share/www/dialog/_create_database.html create mode 100644 share/www/dialog/_create_document.html create mode 100644 share/www/dialog/_delete_database.html create mode 100644 share/www/dialog/_delete_document.html create mode 100644 share/www/dialog/_save_view_as.html create mode 100644 share/www/dialog/_upload_attachment.html create mode 100644 share/www/document.html (limited to 'share/www') diff --git a/share/www/_sidebar.html b/share/www/_sidebar.html new file mode 100644 index 00000000..9bddda37 --- /dev/null +++ b/share/www/_sidebar.html @@ -0,0 +1,65 @@ + + diff --git a/share/www/browse/_compact_database.html b/share/www/browse/_compact_database.html deleted file mode 100644 index efa5d345..00000000 --- a/share/www/browse/_compact_database.html +++ /dev/null @@ -1,28 +0,0 @@ - -
-

Compact Database

-
-

- Compacting a database removes deleted documents and previous revisions. - It is an irreversible operation and my take - a while to complete for large databases. -

-
-
- - -
-
diff --git a/share/www/browse/_create_database.html b/share/www/browse/_create_database.html deleted file mode 100644 index 5c909a7a..00000000 --- a/share/www/browse/_create_database.html +++ /dev/null @@ -1,33 +0,0 @@ - -
-

Create New Database

-
-

- Please enter the name of the database. Note that only lowercase - characters (a-z), digits (0-9), or any of the - characters _, $, (, ), +, - -, and / are allowed. -

- - - -
-
-
- - -
-
diff --git a/share/www/browse/_create_document.html b/share/www/browse/_create_document.html deleted file mode 100644 index fc9eef02..00000000 --- a/share/www/browse/_create_document.html +++ /dev/null @@ -1,31 +0,0 @@ - -
-

Create New Document

-
-

- Please enter a unique ID of the document, or leave the field empty to get - an auto-generated ID. -

- - - -
-
-
- - -
-
diff --git a/share/www/browse/_delete_database.html b/share/www/browse/_delete_database.html deleted file mode 100644 index 16be8f30..00000000 --- a/share/www/browse/_delete_database.html +++ /dev/null @@ -1,27 +0,0 @@ - -
-

Delete Database

-
-

- Are you sure you want to delete this database? Note that this is an - irreversible operation! -

-
-
- - -
-
diff --git a/share/www/browse/_delete_document.html b/share/www/browse/_delete_document.html deleted file mode 100644 index 6b5497a4..00000000 --- a/share/www/browse/_delete_document.html +++ /dev/null @@ -1,26 +0,0 @@ - -
-

Delete Document

-
-

- Are you sure you want to delete this document? -

-
-
- - -
-
diff --git a/share/www/browse/_save_view_as.html b/share/www/browse/_save_view_as.html deleted file mode 100644 index a7f10785..00000000 --- a/share/www/browse/_save_view_as.html +++ /dev/null @@ -1,35 +0,0 @@ - -
-

Save View As…

-
-

- You can save this function code as a permanent view in the database. Just - enter or select the design document and the name of the view below. Note - that if you choose an existing view, it will be overwritten! -

- - - - - - -
_design/
-
-
- - -
-
diff --git a/share/www/browse/_upload_attachment.html b/share/www/browse/_upload_attachment.html deleted file mode 100644 index 941fcc47..00000000 --- a/share/www/browse/_upload_attachment.html +++ /dev/null @@ -1,36 +0,0 @@ - -
-

Upload Attachment

-
-

- Please select the file you want to upload as an attachment to this - document. Please note that this will result in the immediate creation of - a new revision of the document, so it's not necessary to save the - document after the upload. -

- - - - - -
 
-
-
- - - -
-
diff --git a/share/www/browse/database.html b/share/www/browse/database.html deleted file mode 100644 index 6b12ed7d..00000000 --- a/share/www/browse/database.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - Browse Database - - - - - - - - - - - - - - - -

- Overview - ? -

-
-
- -
- - - - - - - - - - - - - - - - - - - -
Documents
Key
Value
-
- | - | - -
- -
- -
- - diff --git a/share/www/browse/document.html b/share/www/browse/document.html deleted file mode 100644 index 09136533..00000000 --- a/share/www/browse/document.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - View Document - - - - - - - - - - - - - - - -

- Overview - ? - ? -

-
- - - - - - - - - - - - - - - - - - - - - - -
Fields
FieldValue
- - -
- -
- - diff --git a/share/www/browse/index.html b/share/www/browse/index.html deleted file mode 100644 index 93f5a21a..00000000 --- a/share/www/browse/index.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - Welcome - - - - - - - - - - - - -

Overview

-
- - - - - - - - - - - - - - - - - - - -
Databases
NameSizeNumber of DocumentsUpdate Seq
-
- | - | - -
- -
- -
- - diff --git a/share/www/config.html b/share/www/config.html index 391bc403..7eab0448 100644 --- a/share/www/config.html +++ b/share/www/config.html @@ -17,14 +17,17 @@ specific language governing permissions and limitations under the License. Configuration - + - - + + + - +

- Overview + Overview Configuration

-
+
- +
@@ -79,5 +82,5 @@ specific language governing permissions and limitations under the License.
Configuration
Section
- +
diff --git a/share/www/couch_tests.html b/share/www/couch_tests.html index f1ab443b..de471382 100644 --- a/share/www/couch_tests.html +++ b/share/www/couch_tests.html @@ -17,17 +17,22 @@ specific language governing permissions and limitations under the License. Test Suite - + - - + + + + - +

- Overview + Overview Test Suite

-
+
  • @@ -52,6 +57,7 @@ specific language governing permissions and limitations under the License. some time, and you'll not be able to do much with your browser while a test is being executed.

    + @@ -70,6 +76,7 @@ specific language governing permissions and limitations under the License.
    Tests
    +
- +
diff --git a/share/www/database.html b/share/www/database.html new file mode 100644 index 00000000..abe9e28c --- /dev/null +++ b/share/www/database.html @@ -0,0 +1,189 @@ + + + + + Browse Database + + + + + + + + + + + + + + +
+

+ Overview + ? +

+
+
+ +
+
    +
  • +
  • +
  • +
+ + + + + + + + + + + + + + + + + + +
Documents
Key
Value
+
+ | + | + +
+ +
+ +
+
+ diff --git a/share/www/dialog/_compact_database.html b/share/www/dialog/_compact_database.html new file mode 100644 index 00000000..efa5d345 --- /dev/null +++ b/share/www/dialog/_compact_database.html @@ -0,0 +1,28 @@ + +
+

Compact Database

+
+

+ Compacting a database removes deleted documents and previous revisions. + It is an irreversible operation and my take + a while to complete for large databases. +

+
+
+ + +
+
diff --git a/share/www/dialog/_create_database.html b/share/www/dialog/_create_database.html new file mode 100644 index 00000000..5c909a7a --- /dev/null +++ b/share/www/dialog/_create_database.html @@ -0,0 +1,33 @@ + +
+

Create New Database

+
+

+ Please enter the name of the database. Note that only lowercase + characters (a-z), digits (0-9), or any of the + characters _, $, (, ), +, + -, and / are allowed. +

+ + + +
+
+
+ + +
+
diff --git a/share/www/dialog/_create_document.html b/share/www/dialog/_create_document.html new file mode 100644 index 00000000..fc9eef02 --- /dev/null +++ b/share/www/dialog/_create_document.html @@ -0,0 +1,31 @@ + +
+

Create New Document

+
+

+ Please enter a unique ID of the document, or leave the field empty to get + an auto-generated ID. +

+ + + +
+
+
+ + +
+
diff --git a/share/www/dialog/_delete_database.html b/share/www/dialog/_delete_database.html new file mode 100644 index 00000000..16be8f30 --- /dev/null +++ b/share/www/dialog/_delete_database.html @@ -0,0 +1,27 @@ + +
+

Delete Database

+
+

+ Are you sure you want to delete this database? Note that this is an + irreversible operation! +

+
+
+ + +
+
diff --git a/share/www/dialog/_delete_document.html b/share/www/dialog/_delete_document.html new file mode 100644 index 00000000..6b5497a4 --- /dev/null +++ b/share/www/dialog/_delete_document.html @@ -0,0 +1,26 @@ + +
+

Delete Document

+
+

+ Are you sure you want to delete this document? +

+
+
+ + +
+
diff --git a/share/www/dialog/_save_view_as.html b/share/www/dialog/_save_view_as.html new file mode 100644 index 00000000..a7f10785 --- /dev/null +++ b/share/www/dialog/_save_view_as.html @@ -0,0 +1,35 @@ + +
+

Save View As…

+
+

+ You can save this function code as a permanent view in the database. Just + enter or select the design document and the name of the view below. Note + that if you choose an existing view, it will be overwritten! +

+ + + + + + +
_design/
+
+
+ + +
+
diff --git a/share/www/dialog/_upload_attachment.html b/share/www/dialog/_upload_attachment.html new file mode 100644 index 00000000..941fcc47 --- /dev/null +++ b/share/www/dialog/_upload_attachment.html @@ -0,0 +1,36 @@ + +
+

Upload Attachment

+
+

+ Please select the file you want to upload as an attachment to this + document. Please note that this will result in the immediate creation of + a new revision of the document, so it's not necessary to save the + document after the upload. +

+ + + + + +
 
+
+
+ + + +
+
diff --git a/share/www/document.html b/share/www/document.html new file mode 100644 index 00000000..3f39cb75 --- /dev/null +++ b/share/www/document.html @@ -0,0 +1,118 @@ + + + + + View Document + + + + + + + + + + + + + + +
+

+ Overview + ? + ? +

+
+
    +
  • +
  • +
  • +
  • +
+ + + + + + + + + + + + + + + + + + + + + +
Fields
FieldValue
+ + +
+ +
+
+ diff --git a/share/www/index.html b/share/www/index.html index 37217384..07bc63d4 100644 --- a/share/www/index.html +++ b/share/www/index.html @@ -15,87 +15,80 @@ specific language governing permissions and limitations under the License. --> - Apache CouchDB: Futon Utility Client + Overview - - + - - + + + + + - - - - - -
-