diff options
author | suelockwood <deathbear@apache.org> | 2014-01-08 15:17:55 -0500 |
---|---|---|
committer | suelockwood <deathbear@apache.org> | 2014-01-08 15:17:55 -0500 |
commit | e272cbe29e5ab10c0f29892dd5f8079dd992680d (patch) | |
tree | f0f976228c97d3bb898a6bb91f08b2153fcf9346 | |
parent | 6cc028ec64f9b4d9a7e6646094b1ba1f51ec63ca (diff) | |
download | couchdb-e272cbe29e5ab10c0f29892dd5f8079dd992680d.tar.gz |
Set the default dashboard to include_docs=false for reasons. Performance reasons.
-rw-r--r-- | src/fauxton/app/templates/databases/item.html | 2 | ||||
-rw-r--r-- | src/fauxton/app/templates/databases/sidebar.html | 31 | ||||
-rw-r--r-- | src/fauxton/app/templates/documents/sidebar.html | 2 |
3 files changed, 2 insertions, 33 deletions
diff --git a/src/fauxton/app/templates/databases/item.html b/src/fauxton/app/templates/databases/item.html index 313dd961b..a3712d41e 100644 --- a/src/fauxton/app/templates/databases/item.html +++ b/src/fauxton/app/templates/databases/item.html @@ -13,7 +13,7 @@ the License. --> <td> - <a href="#/database/<%=encoded%>/_all_docs?limit=<%=docLimit%>&include_docs=true"><%= database.get("name") %></a> + <a href="#/database/<%=encoded%>/_all_docs?limit=<%=docLimit%>&include_docs=false"><%= database.get("name") %></a> </td> <td><%= database.status.humanSize() %></td> <td><%= database.status.numDocs() %></td> diff --git a/src/fauxton/app/templates/databases/sidebar.html b/src/fauxton/app/templates/databases/sidebar.html deleted file mode 100644 index a8bbd89ff..000000000 --- a/src/fauxton/app/templates/databases/sidebar.html +++ /dev/null @@ -1,31 +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. ---> - -<div class="row-fluid"> - <a href="http://couchdb.org" target="_blank"><img src="img/couchdblogo.png"/></a> - <br/> -</div> -<hr> -<ul class="nav nav-list"> - <!-- <li class="nav-header">Database types</li> --> - <li class="active"><a class="toggle-view" id="owned">Your databases</a></li> - <li><a class="btn new" id="new"><i class="icon-plus"></i> New database</a></li> -</ul> -<hr> - -<div> - <a class="twitter-timeline" data-dnt="true" href="https://twitter.com/CouchDB" data-widget-id="314360971646869505">Tweets by @CouchDB</a> -<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> - -</div> diff --git a/src/fauxton/app/templates/documents/sidebar.html b/src/fauxton/app/templates/documents/sidebar.html index 362dd0cbc..edf3f1638 100644 --- a/src/fauxton/app/templates/documents/sidebar.html +++ b/src/fauxton/app/templates/documents/sidebar.html @@ -55,7 +55,7 @@ the License. <nav> <ul class="nav nav-list"> - <li class="active"><a id="all-docs" href="#<%= database.url('index') %>?limit=<%= docLimit %>&include_docs=true" class="toggle-view"> All documents</a></li> + <li class="active"><a id="all-docs" href="#<%= database.url('index') %>?limit=<%= docLimit %>&include_docs=false" class="toggle-view"> All documents</a></li> <li><a id="design-docs" href='#<%= database.url("index") %>?limit=<%= docLimit %>&startkey="_design"&endkey="_e"' class="toggle-view"> All design docs</a></li> </ul> <ul class="nav nav-list views"> |