|
From: <tob...@us...> - 2014-04-21 16:35:39
|
Revision: 8131
http://sourceforge.net/p/bigdata/code/8131
Author: tobycraig
Date: 2014-04-21 16:35:35 +0000 (Mon, 21 Apr 2014)
Log Message:
-----------
Added pagination to query results (forgotten files)
Modified Paths:
--------------
branches/RDR/bigdata-war/src/html/css/style.css
branches/RDR/bigdata-war/src/html/index.html
Modified: branches/RDR/bigdata-war/src/html/css/style.css
===================================================================
--- branches/RDR/bigdata-war/src/html/css/style.css 2014-04-21 14:33:56 UTC (rev 8130)
+++ branches/RDR/bigdata-war/src/html/css/style.css 2014-04-21 16:35:35 UTC (rev 8131)
@@ -207,19 +207,27 @@
border: none;
}
-#advanced-features, #query-response, #query-explanation, #query-tab .bottom *, #load-response, #load-clear, #explore-results, #namespace-properties {
+#advanced-features, #query-response, #query-pagination, #query-explanation, #query-tab .bottom *, #load-response, #load-clear, #explore-results, #namespace-properties {
display: none;
}
-td {
+th, td {
border: 1px solid;
padding: 5px;
}
+th {
+ font-weight: bold;
+}
+
pre {
font-family: monospace;
}
+#page-selector {
+ float: right;
+}
+
#running-queries li {
margin: 10px 0;
}
Modified: branches/RDR/bigdata-war/src/html/index.html
===================================================================
--- branches/RDR/bigdata-war/src/html/index.html 2014-04-21 14:33:56 UTC (rev 8130)
+++ branches/RDR/bigdata-war/src/html/index.html 2014-04-21 16:35:35 UTC (rev 8131)
@@ -103,6 +103,21 @@
<div id="query-response" class="box">
</div>
+ <div id="query-pagination" class="box">
+ <span id="current-results"></span>
+ <select id="results-per-page">
+ <option>10</option>
+ <option>25</option>
+ <option>50</option>
+ <option>100</option>
+ </select> per page
+ <div id="page-selector">
+ <button id="previous-page"><</button>
+ Page <input type="text" id="current-page"> of <span id="result-pages"></span>
+ <button id="next-page">></button>
+ </div>
+ </div>
+
<div id="query-explanation" class="box">
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|