summaryrefslogtreecommitdiff
path: root/share/www/dialog/_upload_attachment.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-08 10:19:20 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-08 10:19:20 +0000
commit539a418b1d7bfbffdcb377a7a9a43fd1a3753b6a (patch)
tree61e3563b03327c5157bf0b502a92cb96d992ad33 /share/www/dialog/_upload_attachment.html
parent2408beee6fbef4acbae40e7fa6de98a0c35a53ed (diff)
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
Diffstat (limited to 'share/www/dialog/_upload_attachment.html')
-rw-r--r--share/www/dialog/_upload_attachment.html36
1 files changed, 36 insertions, 0 deletions
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 @@
+<!--
+
+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>