mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkgreq_results.php: Split out package results box
Do not include the wrapper div container in the template. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
ff8eb62a75
commit
05007d8b1a
2 changed files with 126 additions and 126 deletions
|
@ -77,7 +77,9 @@ if (isset($base_id)) {
|
|||
$SID = $_COOKIE['AURSID'];
|
||||
|
||||
html_header(__("Requests"));
|
||||
echo '<div id="pkglist-results" class="box">';
|
||||
include('pkgreq_results.php');
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
html_footer(AURWEB_VERSION);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<div id="pkglist-results" class="box">
|
||||
<div class="pkglist-stats">
|
||||
<div class="pkglist-stats">
|
||||
<p>
|
||||
<?= _n('%d package request found.', '%d package requests found.', $total) ?>
|
||||
<?= __('Page %d of %d.', $current, $pages) ?>
|
||||
|
@ -17,10 +16,10 @@
|
|||
<?php endforeach; ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class="results">
|
||||
<thead>
|
||||
<table class="results">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= __("Package") ?></th>
|
||||
<th><?= __("Type") ?></th>
|
||||
|
@ -29,8 +28,8 @@
|
|||
<th><?= __("Date") ?></th>
|
||||
<th><?= __("Status") ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php while (list($indx, $row) = each($results)): ?>
|
||||
<?php
|
||||
|
@ -104,10 +103,10 @@
|
|||
</tr>
|
||||
<?php endwhile; ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pkglist-stats">
|
||||
<div class="pkglist-stats">
|
||||
<p>
|
||||
<?= _n('%d package request found.', '%d package requests found.', $total) ?>
|
||||
<?= __('Page %d of %d.', $current, $pages) ?>
|
||||
|
@ -125,5 +124,4 @@
|
|||
<?php endforeach; ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue