Revision 4c1fab97
Von Sven Schöling vor mehr als 2 Jahren hinzugefügt
SL/Template/Plugin/L.pm | ||
---|---|---|
228 | 228 |
|
229 | 229 |
return $self->textarea_tag($name, $value, %attributes, rows => $rows, cols => $cols) if $rows > 1; |
230 | 230 |
|
231 |
return '<span>' |
|
231 |
return '<span class="area-input">'
|
|
232 | 232 |
. $self->input_tag($name, $value, %attributes, size => $cols) |
233 |
. "<img src=\"image/edit-entry.png\" onclick=\"kivi.switch_areainput_to_textarea('${id}')\" style=\"margin-left: 2px;\">"
|
|
233 |
. "<span class=\"switch-to-textarea\" onclick=\"kivi.switch_areainput_to_textarea('${id}')\"></span>"
|
|
234 | 234 |
. '</span>'; |
235 | 235 |
} |
236 | 236 |
|
css/kivitendo/main.css | ||
---|---|---|
659 | 659 |
img.icon-map { |
660 | 660 |
content:url("../../image/map.png"); |
661 | 661 |
} |
662 |
|
|
663 |
|
|
664 |
|
|
665 |
/* styling for input to textarea switch */ |
|
666 |
span.area-input span.switch-to-textarea { |
|
667 |
content: url("../../image/edit-entry.png"); |
|
668 |
margin-left: 2px; |
|
669 |
} |
css/lx-office-erp/main.css | ||
---|---|---|
659 | 659 |
img.icon-map { |
660 | 660 |
content:url("../../image/map.png"); |
661 | 661 |
} |
662 |
|
|
663 |
|
|
664 |
|
|
665 |
/* styling for input to textarea switch */ |
|
666 |
span.area-input span.switch-to-textarea { |
|
667 |
content: url("../../image/edit-entry.png"); |
|
668 |
margin-left: 2px; |
|
669 |
} |
Auch abrufbar als: Unified diff
L: area-input switch-to-textarea button styling ins css verschoben