diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-28 17:56:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-11 17:46:11 +0200 |
commit | 1ce84922e3008cad6cf1b9056b705f2642bd3772 (patch) | |
tree | 0dde62654e56c8e94ebf0cef83181ea9ddc99faf /etc | |
parent | 4993f11bf464c9aee0e3fd5965f4a8258cbe8b30 (diff) |
WEB pages re-styling
Diffstat (limited to 'etc')
-rw-r--r-- | etc/httpd.conf | 14 | ||||
-rw-r--r-- | etc/package-details.conf | 15 | ||||
-rw-r--r-- | etc/package-search.conf | 2 | ||||
-rw-r--r-- | etc/package-version-details.conf | 7 | ||||
-rw-r--r-- | etc/package-version-search.conf | 12 |
5 files changed, 31 insertions, 19 deletions
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" </IfModule> -LoadModule package_version_search_srv ${AP_MODULE_DIR}/libbrep-apache.so +LoadModule package_details_srv ${AP_MODULE_DIR}/libbrep-apache.so -<IfModule package_version_search_srv> - 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" +<IfModule package_details_srv> + package-details-db-host ${AP_DB_HOST} + package-details-db-port ${AP_DB_PORT} + package-details-conf "${AP_CONFIG_DIR}/package-details.conf" </IfModule> 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 </LocationMatch> <LocationMatch ^/go/[^/]+$> - SetHandler package-version-search + SetHandler package-details </LocationMatch> <LocationMatch ^/go/[^/]+/[^/]+$> 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 |