summaryrefslogtreecommitdiff
path: root/share/www/dialog
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-11 16:13:08 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-11 17:39:38 -0400
commitad7099a4e3f3d2035e3e26419a633b4bb1ce7b7c (patch)
tree435656380eb6cefc7abe3d20369f022a75a014f3 /share/www/dialog
parent67eff5876bca3108baf37b97cfc9f9e5920dcdb7 (diff)
move futon into release overlay
Diffstat (limited to 'share/www/dialog')
-rw-r--r--share/www/dialog/_admin_party.html33
-rw-r--r--share/www/dialog/_compact_cleanup.html51
-rw-r--r--share/www/dialog/_create_admin.html50
-rw-r--r--share/www/dialog/_create_config.html42
-rw-r--r--share/www/dialog/_create_database.html33
-rw-r--r--share/www/dialog/_database_security.html50
-rw-r--r--share/www/dialog/_delete_database.html27
-rw-r--r--share/www/dialog/_delete_document.html26
-rw-r--r--share/www/dialog/_login.html34
-rw-r--r--share/www/dialog/_save_view_as.html35
-rw-r--r--share/www/dialog/_share_test_reports.html42
-rw-r--r--share/www/dialog/_signup.html35
-rw-r--r--share/www/dialog/_upload_attachment.html36
13 files changed, 0 insertions, 494 deletions
diff --git a/share/www/dialog/_admin_party.html b/share/www/dialog/_admin_party.html
deleted file mode 100644
index ea9fb15a..00000000
--- a/share/www/dialog/_admin_party.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Admin Party!</h2>
- <fieldset>
- <p class="help">
- The test suite requires CouchDB to be in <em>Admin Party</em> mode. This
- mode give all users admin capabilities. This is the least secure mode of
- operation. Do not run the tests on production servers, as you'll impact
- both performance and security.
- </p>
- <p class="help">
- Clicking “Remove Admins” will remove all admins from the configuration. You will
- have to recreate any admins by hand after the tests have finished.
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Remove Admins</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_compact_cleanup.html b/share/www/dialog/_compact_cleanup.html
deleted file mode 100644
index 506417f4..00000000
--- a/share/www/dialog/_compact_cleanup.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Compact &amp; Cleanup</h2>
- <fieldset class="radiogroup">
- <label>
- <input type="radio" name="action" value="compact_database" checked>
- Compact Database
- </label>
- <p class="help">
- Compacting a database removes deleted documents and previous revisions.
- It is an <strong>irreversible operation</strong> and may take
- a while to complete for large databases.
- </p>
- <hr>
- <label>
- <input type="radio" name="action" value="compact_views">
- Compact Views
- </label>
- <p class="help">
- View compaction will affect all views in this design document. This
- operation may take some time to complete. Your views will still operate
- normally during compaction.
- </p>
- <hr>
- <label>
- <input type="radio" name="action" value="view_cleanup">
- Cleanup Views
- </label>
- <p class="help">
- Cleaning up views in a database removes old view files still stored
- on the filesystem. It is an <strong>irreversible operation</strong>.
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Run</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_create_admin.html b/share/www/dialog/_create_admin.html
deleted file mode 100644
index d4aec95a..00000000
--- a/share/www/dialog/_create_admin.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Create Server Admin</h2>
- <fieldset>
- <p class="help">
- Before a server admin is configured, all clients have admin privileges.
- This is fine when HTTP access is restricted
- to trusted users. <strong>If end-users will be accessing this CouchDB, you must
- create an admin account to prevent accidental (or malicious) data loss.</strong>
- </p>
- <p class="help">Server admins can create and destroy databases, install
- and update _design documents, run the test suite, and edit all aspects of CouchDB
- configuration.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Username:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr><tr>
- <th><label>Password:</label></th>
- <td><input type="password" name="password" size="24"></td>
- </tr>
- </tbody></table>
- <p class="help">Non-admin users have read and write access to all databases, which
- are controlled by validation functions. CouchDB can be configured to block all
- access to anonymous users.
- </p>
- <h3>About Authentication</h3>
- <p class="help">
- Couch has a pluggable authentication mechanism. Futon exposes a user friendly cookie-auth which handles login and logout, so app developers can relax. Just use <tt>$.couch.session()</tt> to load the current user's info.
- </p>
-
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_create_config.html b/share/www/dialog/_create_config.html
deleted file mode 100644
index 79e08b08..00000000
--- a/share/www/dialog/_create_config.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Create New Config Option</h2>
- <fieldset>
- <p class="help">
- Please enter the section, option, and value.
- </p>
- <table summary="">
- <tbody>
- <tr>
- <th><label>section:</label></th>
- <td><input type="text" name="section" size="24"></td>
- </tr>
- <tr>
- <th><label>option:</label></th>
- <td><input type="text" name="option" size="24"></td>
- </tr>
- <tr>
- <th><label>value:</label></th>
- <td><input type="text" name="val" size="24"></td>
- </tr>
- </tbody>
- </table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_create_database.html b/share/www/dialog/_create_database.html
deleted file mode 100644
index 74e7ea61..00000000
--- a/share/www/dialog/_create_database.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Create New Database</h2>
- <fieldset>
- <p class="help">
- Please enter the name of the database. Note that only lowercase
- characters (<tt>a-z</tt>), digits (<tt>0-9</tt>), or any of the
- characters <tt>_</tt>, <tt>$</tt>, <tt>(</tt>, <tt>)</tt>, <tt>+</tt>,
- <tt>-</tt>, and <tt>/</tt> are allowed.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Database Name:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_database_security.html b/share/www/dialog/_database_security.html
deleted file mode 100644
index d63fa787..00000000
--- a/share/www/dialog/_database_security.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Security</h2>
- <fieldset>
- <p class="help">
- Each database contains lists of admins and readers.
- Admins and readers are each defined by <tt>names</tt> and <tt>roles</tt>, which are lists of strings.
- </p>
-
- <h3>Admins</h3>
- <p class="help">Database admins can update design documents and edit the readers list.</p>
- <table summary=""><tbody><tr>
- <th><label>Names:</label></th>
- <td><input type="text" name="admin_names" size="40"></td>
- </tr><tr>
- <th><label>Roles:</label></th>
- <td><input type="text" name="admin_roles" size="40"></td>
- </tr>
- </tbody></table>
-
- <h3>Readers</h3>
- <p class="help">Database readers can access the database. If no readers are defined, the database is public.</p>
- <table summary=""><tbody><tr>
- <th><label>Names:</label></th>
- <td><input type="text" name="reader_names" size="40"></td>
- </tr><tr>
- <th><label>Roles:</label></th>
- <td><input type="text" name="reader_roles" size="40"></td>
- </tr>
- </tbody></table>
-
- </fieldset>
- <div class="buttons">
- <button type="submit">Update</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_delete_database.html b/share/www/dialog/_delete_database.html
deleted file mode 100644
index 039ba39b..00000000
--- a/share/www/dialog/_delete_database.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Delete Database</h2>
- <fieldset>
- <p class="help">
- Are you sure you want to delete this database? Note that this is an
- <strong>irreversible operation</strong>!
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Delete</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_delete_document.html b/share/www/dialog/_delete_document.html
deleted file mode 100644
index 8ae89710..00000000
--- a/share/www/dialog/_delete_document.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Delete Document</h2>
- <fieldset>
- <p class="help">
- Are you sure you want to delete this document?
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Delete</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_login.html b/share/www/dialog/_login.html
deleted file mode 100644
index f05a5fdc..00000000
--- a/share/www/dialog/_login.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Login</h2>
- <fieldset>
- <p class="help">
- Login to CouchDB with your name and password.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Username:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr><tr>
- <th><label>Password:</label></th>
- <td><input type="password" name="password" size="24"></td>
- </tr>
- </tbody></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Login</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_save_view_as.html b/share/www/dialog/_save_view_as.html
deleted file mode 100644
index d59122bf..00000000
--- a/share/www/dialog/_save_view_as.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post" id="view-save-as" onload="initForm(this)">
- <h2>Save View As&hellip;</h2>
- <fieldset>
- <p class="help">
- 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!
- </p>
- <table summary=""><tbody><tr>
- <th><label for="input_docid">Design Document:</label></th>
- <td><tt>_design/</tt><input type="text" id="input_docid" name="docid" size="20"></td>
- </tr><tr>
- <th><label for="input_name">View Name:<label></th>
- <td><input type="text" id="input_name" name="name" size="30"></td>
- </tr></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Save</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_share_test_reports.html b/share/www/dialog/_share_test_reports.html
deleted file mode 100644
index 82b49a74..00000000
--- a/share/www/dialog/_share_test_reports.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Share Test Reports</h2>
- <fieldset>
- <p class="help">
- After each test run, a results summary document is stored in
- <a href="/_utils/database.html?test_suite_reports">your local
- <tt>test_suite_reports</tt> database.</a> The data has no personally
- identifying information, just details about the test run and your CouchDB
- and browser versions. (Click the red link above to see what's stored.)
- The data remains private until you click the "share" button below.
- </p>
- <p class="help">
- Test reports are very valuable to the CouchDB community, and are easy to share.
- Clicking the "share" button below triggers replication from
- your local <tt>test_suite_reports</tt> database, to a database hosted by the
- project.
- </p>
- <p class="help">
- <a href="http://couchdb.couchdb.org/_utils/database.html?test_suite_reports">
- Browse test reports shared by other users.</a>
- Thank you for sharing!
- </p>
- </fieldset>
- <div class="buttons">
- <button type="submit">Share</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_signup.html b/share/www/dialog/_signup.html
deleted file mode 100644
index 7ba3448a..00000000
--- a/share/www/dialog/_signup.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post">
- <h2>Create User Account</h2>
- <fieldset>
- <p class="help">
- Create a user document on this CouchDB. You will be logged in as this
- user after the document is created.
- </p>
- <table summary=""><tbody><tr>
- <th><label>Username:</label></th>
- <td><input type="text" name="name" size="24"></td>
- </tr><tr>
- <th><label>Password:</label></th>
- <td><input type="password" name="password" size="24"></td>
- </tr>
- </tbody></table>
- </fieldset>
- <div class="buttons">
- <button type="submit">Create</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>
diff --git a/share/www/dialog/_upload_attachment.html b/share/www/dialog/_upload_attachment.html
deleted file mode 100644
index 50b7e1fa..00000000
--- a/share/www/dialog/_upload_attachment.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License. You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software distributed
-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-CONDITIONS OF ANY KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
-
--->
-<form action="" method="post" id="upload-form">
- <h2>Upload Attachment</h2>
- <fieldset>
- <p class="help">
- 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.
- </p>
- <table summary=""><tbody><tr>
- <th><label>File:</label></th>
- <td><input type="file" name="_attachments"></td>
- </tr><tr>
- <td id="progress" colspan="2">&nbsp;</td>
- </tr></table>
- </fieldset>
- <div class="buttons">
- <input type="hidden" name="_rev" value="">
- <button type="submit">Upload</button>
- <button type="button" class="cancel">Cancel</button>
- </div>
-</form>