From 4718a059f842a791c89a1922996bb8f1dbea8f65 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 16 May 2017 23:27:53 +0300 Subject: Add filter form to builds page --- www/brep-common.css | 9 +++++++++ www/builds-body.css | 21 ++++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/brep-common.css b/www/brep-common.css index 81fc909..1a90dda 100644 --- a/www/brep-common.css +++ b/www/brep-common.css @@ -170,3 +170,12 @@ #pager #curr:after {content: "]"; font-weight: normal;} #pager #next:after {content: "\A0>";} + +/* Use page rather than system font settings. */ +select +{ + font-family: inherit; + font-weight: inherit; + font-size: inherit; + line-height: inherit; +} diff --git a/www/builds-body.css b/www/builds-body.css index a69bb5a..a4b72fc 100644 --- a/www/builds-body.css +++ b/www/builds-body.css @@ -1,4 +1,16 @@ /* + * Filter form (based on proplist and form-table) + */ +#filter input, #filter select, +#build-count, #build-count #count +{ + width: 100%; + margin:0; +} + +#filter-btn {padding-left: .4em;} + +/* * Build count. */ #count @@ -11,9 +23,9 @@ } /* - * Version table. + * Build table. */ -.build +.build, #filter { margin-top: .8em; margin-bottom: .8em; @@ -23,7 +35,10 @@ } .build:nth-child(even) {background-color: rgba(0, 0, 0, 0.07);} -.build th {width: 7.0em;} +.build th, #filter th +{ + width: 7.0em; +} .build tr.name td .value, .build tr.version td .value, -- cgit v1.1