Commits

Kirill Simonov committed 9bd7cab

Add ellipsis at the end of a grid with more data.

Comments (0)

Files changed (2)

src/htsql_tweak/shell/static/shell.css

 
 #grid .dummy {
   padding: 0;
+  text-align: center;
 }
 
 #grid .w640 td {
 #grid button {
   text-align: center;
   padding: 0.2em 1.2em;
-  margin: 1em 2em 3em;
+  margin: 2em 2em 3em;
   color: #1a1a1a;
   background: #abbbbe;
   border: 1px solid #999999;

src/htsql_tweak/shell/static/shell.js

             table += '<td class="dummy">&nbsp;</td>';
             table += '</tr>';
         }
+        var ch = output.more ? "&#x22EE;" : "&nbsp;"
         table += '<tr>';
-        table += '<th class="dummy">&nbsp;</th>';
+        table += '<th class="dummy">'+ch+'</th>';
         for (var i = 0; i < size; i ++) {
-            table += '<td class="dummy">&nbsp;</td>';
+            table += '<td class="dummy">'+ch+'</td>';
         }
         table += '<td class="dummy">&nbsp;</td>';
         table += '</tbody>';