Revision 737a6fd7
Von Moritz Bunkus vor mehr als 4 Jahren hinzugefügt
css/lx-office-erp/main.css | ||
---|---|---|
.cke_button {
|
||
padding: 0px; 6px !important;
|
||
}
|
||
|
||
/* selects with text filters */
|
||
div.filtered_select input, div.filtered_select select {
|
||
display: block;
|
||
}
|
||
|
||
div.filtered_select > input {
|
||
background-image: url(../../image/glass14x14.png);
|
||
background-repeat: no-repeat;
|
||
background-position: 2px 2px;
|
||
border-radius: 0px;
|
||
border: solid #a0a0a0 1px;
|
||
border-bottom: none;
|
||
padding: 0px;
|
||
padding-left: 20px;
|
||
margin: 0;
|
||
width: 500px;
|
||
}
|
||
|
||
div.filtered_select select {
|
||
width: 522px;
|
||
}
|
Auch abrufbar als: Unified diff
L/P.select_tag: Unterstützung für Text-Filter
Gedacht für Selects mit size="123"-Attribut, die also als Liste und
nicht als Combobox gerendert werden.
Es wird direkt oberhalb der Select eine Text-Eingabezeile angezeigt,
die als dynamischer Filter für die Optionen verwendet wird. Bei jeder
Änderung (keyup) werden nur noch diejenigen Einträge in der Select
angezeigt, in deren Text der Suchfilter-Begriff irgendwo
vorkommt (ohne Berücksichtigung von Groß-/Kleinschreibung).
• with_filter=1 schaltet den Filter an
• filter_placeholder=LxERP.t8("Placeholder text") gibt einen
Platzhalter-Text an