Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Rename 'Custom query' in Futon to 'Temporary view', and add a warning…
… about the use of temp views.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cmlenz committed Jan 26, 2009
1 parent 0f7b612 commit f6f1cc747d66d8146eb0e5a47db3e2bc2bf87b71
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
@@ -118,7 +118,7 @@ <h1>
<label>Select view: <select autocomplete="false">
<option value="_all_docs">All documents</option>
<option value="_design_docs">Design documents</option>
<option value="_temp_view">Custom query</option>
<option value="_temp_view">Temporary view</option>
<ul id="toolbar">
@@ -151,6 +151,13 @@ <h1>
<label>Language: <select id="language"></select></label>
<p id="tempwarn">
<strong>Warning</strong>: Please note that temporary views are not
suitable for use in production, as they are really slow for any
database with more than a few dozen documents. You can use a temporary
view to experiment with view functions, but switch to a permanent view
before using them in an application.

<table id="documents" class="listing" cellspacing="0">
@@ -207,6 +207,9 @@
if (this.isTempView) {

// Populate the languages dropdown, and listen to selection changes
@@ -332,6 +332,8 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
#viewcode.collapsed .top span { background-position: 0 3px; }
#viewcode.collapsed table, #viewcode.collapsed .bottom { display: none; }

#tempwarn { display: none; font-size: 90%; margin: 0 2em 1.5em; }

/* Database table */

#databases thead th.size, #databases thead th.count, #databases thead th.seq,

0 comments on commit f6f1cc7

Please sign in to comment.