<div class="buttons" <?php if ($buttonPosition === 'top') echo 'style="border-top: none"' ?>>
    <div class="pull-left">
        <button id="showQuery_SE" class="btn btn-large"             ng-click="<?php if ($buttonPosition === 'top') echo "scrollToResult();"; ?> showMeQuery()"><span ng-show="!showQuery">Show Query</span><span ng-show="showQuery">Hide query</span></button>
    </div>
    <div class="pull-right">
        <button id="saveQuery_SE" class="btn btn-large"             ng-click="modalWindow.open('saveSearchModal', this)"  ng-disabled="SQL.SQLSTRING ==''">Save</button>
        <button id="runQuery_SE"  class="btn btn-primary btn-large" ng-click="runQuery()"                                 ng-disabled="SQL.SQLSTRING ==''">Run</button>
    </div>
    <div class="clearfix"></div><br />
</div>