2011-10-11 13:02:57 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2013-07-13 02:26:21 +00:00
|
|
|
* @package PatchTester
|
|
|
|
*
|
|
|
|
* @copyright Copyright (C) 2011 - 2012 Ian MacLennan, Copyright (C) 2013 Open Source Matters, Inc. All rights reserved.
|
|
|
|
* @license GNU General Public License version 2 or later
|
2011-10-11 13:02:57 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
|
|
|
|
JHtml::_('behavior.tooltip');
|
2011-10-13 02:13:19 +00:00
|
|
|
JHtml::_('behavior.modal');
|
2011-10-11 13:02:57 +00:00
|
|
|
|
2012-06-12 18:42:03 +00:00
|
|
|
$listOrder = $this->escape($this->state->get('list.ordering'));
|
2013-07-13 02:26:21 +00:00
|
|
|
$listDirn = $this->escape($this->state->get('list.direction'));
|
2011-10-13 17:58:22 +00:00
|
|
|
|
2011-10-11 13:02:57 +00:00
|
|
|
?>
|
|
|
|
<script type="text/javascript">
|
2012-06-12 18:42:03 +00:00
|
|
|
var submitpatch = function (task, id) {
|
2011-10-11 13:02:57 +00:00
|
|
|
document.id('pull_id').set('value', id);
|
|
|
|
return Joomla.submitbutton(task);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2013-07-13 02:26:21 +00:00
|
|
|
<form action="<?php echo JRoute::_('index.php?option=com_patchtester&view=pulls'); ?>" method="post" name="adminForm" id="adminForm">
|
2012-09-09 01:53:44 +00:00
|
|
|
|
2013-07-13 02:26:21 +00:00
|
|
|
<div>
|
|
|
|
<button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
|
|
|
<button type="button" class="btn"
|
|
|
|
onclick="document.id('filter_search').value='';document.id('filter_searchid').value='';this.form.submit();">
|
|
|
|
<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?>
|
|
|
|
</button>
|
|
|
|
</div>
|
2012-09-09 01:53:44 +00:00
|
|
|
|
2013-07-13 02:26:21 +00:00
|
|
|
<table class="table table-striped table-hover table-condensed">
|
2011-10-27 20:23:10 +00:00
|
|
|
<thead>
|
2012-06-12 18:42:03 +00:00
|
|
|
<tr>
|
2012-09-09 01:53:44 +00:00
|
|
|
<th width="8%">
|
2013-07-13 02:26:21 +00:00
|
|
|
<?php echo JHtml::_('grid.sort', 'COM_PATCHTESTER_PULL_ID', 'number', $listDirn, $listOrder); ?>
|
|
|
|
<br />
|
|
|
|
<input type="text" name="filter_searchid" id="filter_searchid" class="span10" value="<?php echo $this->escape($this->state->get('filter.searchid')); ?>" />
|
|
|
|
</th>
|
2012-06-12 18:42:03 +00:00
|
|
|
<th class="title">
|
2013-07-13 02:26:21 +00:00
|
|
|
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'title', $listDirn, $listOrder); ?>
|
|
|
|
<br />
|
|
|
|
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" />
|
|
|
|
</th>
|
2012-06-12 18:42:03 +00:00
|
|
|
<th>I</th>
|
|
|
|
<th class="title">
|
|
|
|
<?php echo JText::_('COM_PATCHTESTER_JOOMLACODE_ISSUE'); ?>
|
|
|
|
</th>
|
|
|
|
<th width="20%">
|
|
|
|
<?php echo JText::_('JSTATUS'); ?>
|
|
|
|
</th>
|
|
|
|
<th width="20%">
|
|
|
|
<?php echo JText::_('COM_PATCHTESTER_TEST_THIS_PATCH'); ?>
|
|
|
|
</th>
|
|
|
|
</tr>
|
2011-10-11 13:02:57 +00:00
|
|
|
</thead>
|
|
|
|
<tfoot>
|
2013-07-13 02:26:21 +00:00
|
|
|
<tr>
|
|
|
|
<td colspan="6">
|
|
|
|
</td>
|
|
|
|
</tr>
|
2011-10-11 13:02:57 +00:00
|
|
|
</tfoot>
|
|
|
|
<tbody>
|
2012-06-12 18:42:03 +00:00
|
|
|
<?php echo $this->loadTemplate('items'); ?>
|
2011-10-11 13:02:57 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-07-13 02:26:21 +00:00
|
|
|
<div class="well">
|
2011-10-11 13:02:57 +00:00
|
|
|
|
2013-07-13 02:26:21 +00:00
|
|
|
<?php echo $this->pagination->getListFooter(); ?>
|
2011-10-11 13:02:57 +00:00
|
|
|
</div>
|
2013-07-13 02:26:21 +00:00
|
|
|
|
|
|
|
<input type="hidden" name="task" value=""/>
|
|
|
|
<input type="hidden" name="boxchecked" value="0"/>
|
|
|
|
<input type="hidden" name="pull_id" id="pull_id" value=""/>
|
|
|
|
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>"/>
|
|
|
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>"/>
|
|
|
|
<?php echo JHtml::_('form.token'); ?>
|
2011-10-11 13:02:57 +00:00
|
|
|
</form>
|