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 /brep/options.cli | |
parent | 4993f11bf464c9aee0e3fd5965f4a8258cbe8b30 (diff) |
WEB pages re-styling
Diffstat (limited to 'brep/options.cli')
-rw-r--r-- | brep/options.cli | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/brep/options.cli b/brep/options.cli index 90063c1..86cb70c 100644 --- a/brep/options.cli +++ b/brep/options.cli @@ -28,14 +28,17 @@ namespace brep std::uint16_t pages-in-pager = 10; }; - class package_version_search: module, db + class package_details: module, db { std::uint16_t results-on-page = 10; std::uint16_t pages-in-pager = 10; + std::uint16_t description-length = 400; }; class package_version_details: module, db { + std::uint16_t description-length = 400; + std::uint16_t changes-length = 800; }; } @@ -43,7 +46,8 @@ namespace brep // namespace params { - // Use parameters long names in the C++ code, short aliases in HTTP URL. + // Use parameters long names in the C++ code, short aliases (if present) + // in HTTP URL. // class package_search { @@ -56,7 +60,7 @@ namespace brep std::string query | q = ""; }; - class package_version_search + class package_details { // Display package version search result list starting from this page. // @@ -65,10 +69,20 @@ namespace brep // Package version search criteria. // std::string query | q = ""; + + // Full page variant. + // + // @@ Shouldn't we use one letter alias for URL as well ? + // I like full. It is descriptive. q= is kind now a convention. + // + bool full = false; }; class package_version_details { + // Full page variant. + // + bool full = false; }; } } |