X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=examples%2Fhtdocs%2Ftester.html;h=bab039dd1ec6a06aa6a800e70a31394dcbdca76b;hb=d4bcde9b1af92ec7bb104c12225f9503f5781f04;hp=de99f301e9a8492089ea98750aff4c2593e4a652;hpb=441d74ccae79d119f94724031d84c5f17901688a;p=mkws-moved-to-github.git diff --git a/examples/htdocs/tester.html b/examples/htdocs/tester.html index de99f30..bab039d 100644 --- a/examples/htdocs/tester.html +++ b/examples/htdocs/tester.html @@ -63,14 +63,20 @@ body { header { font-size: 1.3em; } -#top-bar { - background-color: #002868; - color: white; +#top-bar, #current-bar { padding: .5em; display: flex; align-items: center; justify-content: space-between; } +#top-bar { + background-color: #002868; + color: white; +} +#current-bar { + background-color: #54d8a8; + color: #002868; +} header button { margin-left: 1em; border-radius: 4px; @@ -114,27 +120,25 @@ header button:hover, header button:active, header button:focus { background-color: #C9302C; border-color: #AC2925; } -#current-bar { - background-color: #54d8a8; - color: #002868; - padding: .5em; -} #query { font-weight: bold; font-size: 110%; } -#settings { +#settings, #judiciary { flex: 1; display: flex; align-items: center; } -#results { +#results, #query-info { flex: 1; display: flex; text-align: right; align-items: center; justify-content: flex-end; } +#count { + font-size: 120%; +} #test-area { flex: 1; padding: 1em; @@ -163,10 +167,15 @@ header button:hover, header button:active, header button:focus {
- Relevant to query ? - - - + + Relevant to query ? + + + + + + +
@@ -203,6 +212,7 @@ var showNext = function () { $('#test-subject').html(this.widgetMarkup.replace("{{query}}", this.queries[next])); $('#query').html('"' + this.queries[next] + '"'); next++; + $('#count').html(next + " / " + this.queries.length); mkws.init('#test-subject'); } }