1. Peter Sheats
  2. htsql

Commits

Kirill Simonov  committed 2b94942

tweak.shell: added Export to XML/TSV.

  • Participants
  • Parent commits 2f13dd7
  • Branches default

Comments (0)

Files changed (2)

File src/htsql/tweak/shell/static/index.html

View file
  • Ignore whitespace
           <ul>
             <li><button id="export-html">Export to HTML</button></li>
             <li><button id="export-json">Export to JSON</button></li>
+            <li><button id="export-xml">Export to XML</button></li>
             <li><button id="export-csv">Export to CSV</button></li>
+            <li><button id="export-tsv">Export to TSV</button></li>
             <li><button id="show-sql">Show SQL</button></li>
           </ul>
         </div>

File src/htsql/tweak/shell/static/shell.js

View file
  • Ignore whitespace
     $('#more').click(clickMore);
     $('#export-html').click(function() { return clickExport('html'); });
     $('#export-json').click(function() { return clickExport('json'); });
+    $('#export-xml').click(function() { return clickExport('xml'); });
     $('#export-csv').click(function() { return clickExport('csv'); });
+    $('#export-tsv').click(function() { return clickExport('tsv'); });
     $('#show-sql').click(clickShowSql);
     $('#close-error').click(clickClose);
     $('#close-failure').click(clickClose);