couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject [2/2] fauxton commit: updated refs/heads/secondary-indexes to 29a66d6
Date Fri, 08 Aug 2014 16:23:34 GMT
move pagination stuff to footer


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/29a66d60
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/29a66d60
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/29a66d60

Branch: refs/heads/secondary-indexes
Commit: 29a66d60e972da59e97f10e38aa6bd606bf5e45f
Parents: d33eaa4
Author: deathbearbrown <deathbearbrown@gmail.com>
Authored: Fri Aug 8 10:28:05 2014 -0400
Committer: deathbearbrown <deathbearbrown@gmail.com>
Committed: Fri Aug 8 10:31:55 2014 -0400

----------------------------------------------------------------------
 app/addons/documents/routes.js                    | 1 +
 app/addons/documents/templates/all_docs_list.html | 7 +++++--
 assets/less/pagination.less                       | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/29a66d60/app/addons/documents/routes.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/routes.js b/app/addons/documents/routes.js
index f5f9f07..895de40 100644
--- a/app/addons/documents/routes.js
+++ b/app/addons/documents/routes.js
@@ -382,6 +382,7 @@ function(app, FauxtonAPI, Components, Documents, Changes, DocEditor, Databases,
       // We need to restore the collection parameters to the defaults (1st page)
       // and update the page size
       this.perPage = perPage;
+      this.leftheader.forceRender();
       this.documentsView.forceRender();
       this.documentsView.collection.pageSizeReset(perPage, {fetch: false});
       this.setDocPerPageLimit(perPage);

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/29a66d60/app/addons/documents/templates/all_docs_list.html
----------------------------------------------------------------------
diff --git a/app/addons/documents/templates/all_docs_list.html b/app/addons/documents/templates/all_docs_list.html
index 2c81876..3eaca80 100644
--- a/app/addons/documents/templates/all_docs_list.html
+++ b/app/addons/documents/templates/all_docs_list.html
@@ -13,7 +13,7 @@ the License.
 -->
 
 <div class="view">
-  <div id="item-numbers"> </div>
+
   <div id="doc-list"></div>
 
   <% if (endOfResults) { %>
@@ -24,4 +24,7 @@ the License.
     </div>
   <% } %>
 </div>
-<div id="documents-pagination" class="window-resizeable"></div>
+<footer class="pagination-footer" class="window-resizeable">
+<div id="item-numbers"> </div>
+<div id="documents-pagination"></div>
+</footer>

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/29a66d60/assets/less/pagination.less
----------------------------------------------------------------------
diff --git a/assets/less/pagination.less b/assets/less/pagination.less
index 07e13b3..0137699 100644
--- a/assets/less/pagination.less
+++ b/assets/less/pagination.less
@@ -10,7 +10,7 @@
  *  License for the specific language governing permissions and limitations under
  *  the License.
  */
-#documents-pagination {
+footer.pagination-footer {
   position:fixed;
   background-color:#fff;
   bottom:0;


Mime
View raw message