Merge pull request #408 from litvinovg/autocomplete_form_fix
Autocomplete object property form fixes
This commit is contained in:
commit
5ff98823ca
2 changed files with 25 additions and 1 deletions
|
@ -119,7 +119,7 @@ Also multiple types parameter set to true only if more than one type returned-->
|
||||||
acSelectOnly: 'true',
|
acSelectOnly: 'true',
|
||||||
sparqlForAcFilter: '${sparqlForAcFilter?js_string}',
|
sparqlForAcFilter: '${sparqlForAcFilter?js_string}',
|
||||||
sparqlQueryUrl: '${sparqlQueryUrl?js_string}',
|
sparqlQueryUrl: '${sparqlQueryUrl?js_string}',
|
||||||
acFilterForIndividuals: ${acFilterForIndividuals?js_string},
|
acFilterForIndividuals: ${acFilterForIndividuals},
|
||||||
defaultTypeName: '${propertyNameForDisplay?js_string}', // used in repair mode to generate button text
|
defaultTypeName: '${propertyNameForDisplay?js_string}', // used in repair mode to generate button text
|
||||||
baseHref: '${urls.base}/individual?uri='
|
baseHref: '${urls.base}/individual?uri='
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
/* $This file is distributed under the terms of the license in LICENSE$ */
|
||||||
|
|
||||||
|
/* Styles for autocomplete and autocomplete selections using jQuery UI. This is separated out so that forms
|
||||||
|
that don't load customFormWithAutocomplete.css still have access to these styles. */
|
||||||
|
|
||||||
|
.acSelection {
|
||||||
|
display: none;
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
.acSelectionInfo {
|
||||||
|
background-color: #d9d9d9;
|
||||||
|
padding: .2em .35em;
|
||||||
|
}
|
||||||
|
ul.ui-autocomplete {
|
||||||
|
font-size: .95em;
|
||||||
|
}
|
||||||
|
li.ui-menu-item a.ui-corner-all {
|
||||||
|
text-align: left;
|
||||||
|
padding-left: .25em;
|
||||||
|
}
|
||||||
|
.acSelectorWithHelpText{
|
||||||
|
font-style: italic;
|
||||||
|
color: #555;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue