Skip to content

Commit 9602238

Browse files
authored
Merge pull request #223 from ipb-halle/216-ui-refactoring-advanced-search
216 UI refactoring advanced search
2 parents 15c4ee0 + 6ccec5f commit 9602238

7 files changed

Lines changed: 452 additions & 427 deletions

File tree

ui/src/main/java/de/ipb_halle/lbac/search/bean/SearchBean.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,5 +285,4 @@ public int getPollIntervall() {
285285
return POLLING_INTERVALL_INACTIVE;
286286
}
287287
}
288-
289288
}

ui/src/main/resources/de/ipb_halle/lbac/i18n/messages_de.properties

Lines changed: 79 additions & 137 deletions
Large diffs are not rendered by default.

ui/src/main/resources/de/ipb_halle/lbac/i18n/messages_en.properties

Lines changed: 131 additions & 129 deletions
Large diffs are not rendered by default.

ui/web/WEB-INF/templates/default.xhtml

Lines changed: 139 additions & 154 deletions
Large diffs are not rendered by default.

ui/web/index.xhtml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@
4444
<h:outputStylesheet name="css/collections.css"/>
4545
<h:outputStylesheet name="css/materialEdit.css"/>
4646
<h:outputStylesheet name="css/sequenceSearch.css"/>
47+
<h:outputStylesheet name="css/main-search-panel.css"/>
4748
<h:outputScript name="js/lbac_helper.js"/>
48-
<h:outputScript name="js/colorCloudTerms.js"/>
49+
<h:outputScript name="js/colorCloudTerms.js"/>
50+
51+
52+
4953
<h:outputStylesheet name="css/modal/fileUploadModal.css"/>
5054

5155
</h:head>

ui/web/resources/css/lbac.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -679,11 +679,7 @@ select.selCollection {
679679
margin-left: -5px;
680680
}
681681
.advancedSearchButton{
682-
margin-left: -0px;
683-
margin-top: 2px;
684-
padding-top:2px !important;
685-
width:10px;
686-
height:23px;
682+
687683
}
688684

689685
.advancedSearchButton i{
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
/*
2+
* Cloud Resource & Information Management System (CRIMSy)
3+
* Copyright 2020 Leibniz-Institut f. Pflanzenbiochemie
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*
17+
*/
18+
19+
/*
20+
customer styles
21+
22+
*/
23+
24+
.main-search-panel{
25+
width:100%;
26+
27+
}
28+
29+
.advanced-search-panel{
30+
width:20%;
31+
}
32+
33+
.search-result-panel{
34+
35+
}
36+
/** format info box test results in ldpap check **/
37+
38+
.search-panel-logo > div{
39+
display: flex;
40+
align-items: center;
41+
}
42+
.search-panel-logo > div > img{
43+
margin:auto;
44+
}
45+
.interaction-search-panel > table{
46+
width:100%;
47+
}
48+
.interaction-search-panel .interaction-search-panel-first-column {
49+
display: flex;
50+
}
51+
.interaction-search-panel-first-column input {
52+
width:100%;
53+
}
54+
.interaction-search-panel-first-column .ui-inputgroup {
55+
width:100%;
56+
}
57+
58+
.interaction-search-panel-row {
59+
height:80px;
60+
}
61+
62+
interaction-search-panel .interaction-search-panel-second-column {
63+
border-style: none;
64+
}
65+
.interaction-search-panel-second-column .searchButton{
66+
margin-left:5px;
67+
}
68+
.interaction-search-panel-second-column .uploadButton{
69+
margin-left:30px;
70+
}
71+
.interaction-search-panel-second-column .newDocumentsBadge{
72+
position:absolute;
73+
margin-left: -11px;
74+
margin-top: -10px;
75+
}
76+
body .main-search-panel .interaction-search-panel tr {
77+
border-style: none;
78+
}
79+
body .main-search-panel .interaction-search-panel td {
80+
border-style: none;
81+
}
82+
83+
body .main-search-panel tbody .search-panel-logo {
84+
border-style: none;
85+
}
86+
87+
body .main-search-panel tbody .interaction-search-panel {
88+
border-style: none;
89+
}
90+
91+
body .main-search-panel tbody .search-result-panel {
92+
border-style: none;
93+
vertical-align: top;
94+
}
95+
body .main-search-panel tbody .advanced-search-panel {
96+
border-style: none;
97+
}

0 commit comments

Comments
 (0)