From 1ce84922e3008cad6cf1b9056b705f2642bd3772 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Oct 2015 17:56:30 +0200 Subject: WEB pages re-styling --- etc/httpd.conf | 14 +++++++------- etc/package-details.conf | 15 +++++++++++++++ etc/package-search.conf | 2 ++ etc/package-version-details.conf | 7 +++++++ etc/package-version-search.conf | 12 ------------ 5 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 etc/package-details.conf delete mode 100644 etc/package-version-search.conf (limited to 'etc') diff --git a/etc/httpd.conf b/etc/httpd.conf index bf1d9e2..33658a8 100644 --- a/etc/httpd.conf +++ b/etc/httpd.conf @@ -5,7 +5,7 @@ ServerAdmin "${AP_ADMIN_EMAIL}" User apache Group apache -DocumentRoot "${AP_WWW_DIR}/htdocs" +DocumentRoot "${AP_WWW_DIR}" CoreDumpDirectory "${AP_WORKSPACE_DIR}" PidFile "${AP_WORKSPACE_DIR}/httpd.pid" @@ -48,12 +48,12 @@ LoadModule package_search_srv ${AP_MODULE_DIR}/libbrep-apache.so package-search-conf "${AP_CONFIG_DIR}/package-search.conf" -LoadModule package_version_search_srv ${AP_MODULE_DIR}/libbrep-apache.so +LoadModule package_details_srv ${AP_MODULE_DIR}/libbrep-apache.so - - package-version-search-db-host ${AP_DB_HOST} - package-version-search-db-port ${AP_DB_PORT} - package-version-search-conf "${AP_CONFIG_DIR}/package-version-search.conf" + + package-details-db-host ${AP_DB_HOST} + package-details-db-port ${AP_DB_PORT} + package-details-conf "${AP_CONFIG_DIR}/package-details.conf" LoadModule package_version_details_srv ${AP_MODULE_DIR}/libbrep-apache.so @@ -69,7 +69,7 @@ LoadModule package_version_details_srv ${AP_MODULE_DIR}/libbrep-apache.so - SetHandler package-version-search + SetHandler package-details diff --git a/etc/package-details.conf b/etc/package-details.conf new file mode 100644 index 0000000..49b3dce --- /dev/null +++ b/etc/package-details.conf @@ -0,0 +1,15 @@ +# file : etc/package-details.conf +# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file +# +# brep::module options +# +verb 1 + +# brep::package_details options +# +# @@ Set to 10 +results-on-page 2 +pages-in-pager 5 +# @@ Set to 500 (~ 80 chars x 6 lines) +description-length 100 diff --git a/etc/package-search.conf b/etc/package-search.conf index f7eb07c..80562b2 100644 --- a/etc/package-search.conf +++ b/etc/package-search.conf @@ -8,4 +8,6 @@ verb 1 # brep::package_search options # +# @@ Set to 10 results-on-page 2 +pages-in-pager 5 diff --git a/etc/package-version-details.conf b/etc/package-version-details.conf index 61a6fb9..84fd75d 100644 --- a/etc/package-version-details.conf +++ b/etc/package-version-details.conf @@ -5,3 +5,10 @@ # brep::module options # verb 1 + +# brep::package_version_details options +# +# @@ Set to 500 (~ 80 chars x 6 lines) +description-length 100 +# @@ Set to 5000 (~ 80 chars x 60 lines) +changes-length 100 diff --git a/etc/package-version-search.conf b/etc/package-version-search.conf deleted file mode 100644 index f7f0d37..0000000 --- a/etc/package-version-search.conf +++ /dev/null @@ -1,12 +0,0 @@ -# file : etc/package-version-search.conf -# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file -# -# brep::module options -# -verb 1 - -# brep::package_version_search options -# -results-on-page 2 -pages-in-pager 10 -- cgit v1.1