From 05007d8b1a0a9c0b8371a7f5a0bcf5e8d240956a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 7 Feb 2017 08:29:53 +0100 Subject: pkgreq_results.php: Split out package results box Do not include the wrapper div container in the template. Signed-off-by: Lukas Fleischer --- web/template/pkgreq_results.php | 238 ++++++++++++++++++++-------------------- 1 file changed, 118 insertions(+), 120 deletions(-) (limited to 'web/template') diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php index 426c7f08..bd4fc6b9 100644 --- a/web/template/pkgreq_results.php +++ b/web/template/pkgreq_results.php @@ -1,129 +1,127 @@ -
-
-

- - -

- 1): ?> -

- $pagestart): ?> - - - - - - - - -

- -
+
+

+ + +

+ 1): ?> +

+ $pagestart): ?> + + + + + + + + +

+ +
- - - - - - - - - - - - +
+ + + + + + + + + + + - - $idle_time); - if (!$due) { - $time_left = $idle_time - (time() - intval($row['RequestTS'])); - if ($time_left > 48 * 3600) { - $time_left_fmt = _n("~%d day left", "~%d days left", round($time_left / (24 * 3600))); - } elseif ($time_left > 3600) { - $time_left_fmt = _n("~%d hour left", "~%d hours left", round($time_left / 3600)); - } else { - $time_left_fmt = __("<1 hour left"); - } + + $idle_time); + if (!$due) { + $time_left = $idle_time - (time() - intval($row['RequestTS'])); + if ($time_left > 48 * 3600) { + $time_left_fmt = _n("~%d day left", "~%d days left", round($time_left / (24 * 3600))); + } elseif ($time_left > 3600) { + $time_left_fmt = _n("~%d hour left", "~%d hours left", round($time_left / 3600)); + } else { + $time_left_fmt = __("<1 hour left"); } - ?> - - - - - - - - - - + } + ?> + + + + + + + + - - class="flagged"> - - - - - - - - - - - + + + + + + + class="flagged"> + + - + + + + + + + + + + + + + + + - -
"> - - - () - -
"> + + + () - - - - - - -
- - -
- -
- - - -
- - () -
- - - -
+ + + + + +
+ + +
+ +
+ + + +
+ + () +
-
+ + -
-

- - -

- 1): ?> -

- $pagestart): ?> - - - - - - - - -

- -
+
+

+ + +

+ 1): ?> +

+ $pagestart): ?> + + + + + + + + +

+
-- cgit v1.2.3-24-g4f1b