source of /sprout/views/dbtools/exception_log.php<?php use Sprout\Helpers\Enc; use Sprout\Helpers\Url; use Sprout\Helpers\Form; Form::setData($_GET); ?> <div class="mainbar-with-right-sidebar"> <form action="" method="get" class="white-box"> <h3 style="margin-top: 0">Search</h3> <div class="field-group-wrap -clearfix"> <div class="field-group-item col col--one-third"> <?php Form::nextFieldDetails('Class', false); echo Form::text('class', ['-wrapper-class' => 'white']); ?> </div> <div class="field-group-item col col--one-third"> <?php Form::nextFieldDetails('Message', false); echo Form::text('message', ['-wrapper-class' => 'white']); ?> </div> <div class="field-group-item col col--one-third"> <?php Form::nextFieldDetails('Show', false); echo Form::checkboxBoolList('include_404', ['-wrapper-class' => 'white'], [ 'show_404' => '404 exceptions', 'show_row_missing' => 'Row missing exceptions' ]); ?> </div> </div> <div style="text-align: right"> <button type="submit" class="button icon-after icon-search">Search</button> </div> </form> <?php echo $itemlist; ?> <div> <?php $get = $_GET; $get['page'] = max(@$get['page'], 1) + 1; // - 2 to negate the above addition $get['page'] = $get['page'] - 2; ?> <?php if ($page > 1): ?> <a href="<?= Enc::html($cur_url . '?' . $prev_query); ?>" class="button icon-before icon-keyboard_arrow_left">Previous page</a> <?php endif; ?> <?php if ($row_count == $page_size): ?> <a href="<?= Enc::html($cur_url . '?' . $next_query); ?>" class="button right icon-after icon-keyboard_arrow_right">Next page</a> <?php endif; ?> </div> </div> <div class="right-sidebar"> <div class="right-sidebar-anchor"></div> <div class="right-sidebar-inner"> <div class="white-box"> <h3 style="margin-top: 0">Lookup</h3> <form action="dbtools/exceptionDetail" method="get" class="-clearfix"> <div class="field-group-item col col--two-third"> <?php echo Form::text('id', ['placeholder' => 'SE2400']); ?> </div> <div class="field-group-item col col--one-third"> <button type="submit" class="button button-block icon-after icon-keyboard_arrow_right">Lookup</button> </div> </form> </div> </div> </div>
|