From fa680c96236bf557f525f2cab580d64ac3f60714 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Sun, 13 Oct 2013 14:24:48 +0200 Subject: [PATCH] Embedded toolbar --- htdocs/.htaccess | 8 ++++ htdocs/crashes.php | 7 +++- htdocs/lib/Layout.php | 65 ++++++++++++++++++---------- htdocs/lib/SearchFilter.php | 84 ++++++++++++++++++++++++++++++++++++- 4 files changed, 138 insertions(+), 26 deletions(-) diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 8aa276d..8569bd9 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -1 +1,9 @@ php_flag display_errors on + + + ExpiresActive On + ExpiresByType image/png "access plus 1 year" + ExpiresByType image/gif "access plus 1 year" + ExpiresByType text/css "access plus 1 hour" + + diff --git a/htdocs/crashes.php b/htdocs/crashes.php index 90e7e14..2a3aa29 100644 --- a/htdocs/crashes.php +++ b/htdocs/crashes.php @@ -12,7 +12,7 @@ function lk($id, $txt) $filter = new SearchFilter(); $total = CrashReport::getTotal($filter); $reports = CrashReport::getReports($filter); -Layout::header(); +Layout::header($filter->renderPaginator($total)); $filter->render(); ?> @@ -110,9 +110,11 @@ $filter->render(); } }); }); + }); -

Reports

+ +
@@ -134,6 +136,7 @@ $filter->render();
+ - + Singularity Viewer - Automated Crash Report Processing System - - - + + +
@@ -164,10 +180,15 @@ $(function() { Automated Crash Report Processing
-