1. Go to the PocketQuery Administration

  2. Go to "Templates" and click on "Add template"

  3. Name it "AUI" and copy & paste following code into "content"

    <div class="table-wrap">
        <table class="aui">
            <thead>
                <tr>
                #foreach ($column in $columns)
                    <th>$!column</th>
                #end
                </tr>
            </thead>
             
            <tbody>
                #foreach ($row in $result)
                    <tr>
                    #foreach ($column in $row)
                        <td>$!column</td>
                    #end
                    </tr>
                #end
            </tbody>
        </table>
    </div>
    CODE
  4. Go to a query and select "AUI" as template