Commit Graph

45 Commits

Author SHA1 Message Date
9f02f15221 remove unnecessary import breaking loading of EGroupware itself 2024-09-10 08:37:17 +02:00
c43681b57b Import bootstrap CSS for docs 2024-09-09 10:20:46 -06:00
a99a595258 fix double statustext/tooltip 2024-09-06 13:05:37 +02:00
f35945eac9 Try to fix some image size issues 2024-08-28 17:20:58 -06:00
c49618be51 just using width: 100%, unless a height is eplizitly specified 2024-08-27 13:43:00 +02:00
3f80021c8e fix wired icon-sized in tree (by defaulting img in et2-image to width: 16px and not max-width: 100%) 2024-08-27 12:25:36 +02:00
3e0cce403e using now Birgit's substitution list for images before looking at the usual places 2024-08-25 11:48:19 +02:00
127fa28f6d more work on et2-image to get it fill the whole container and getting Et2VfsMime (et2-vfs-mime) working again after et2-image changes
missing changes due to merge :(
2024-08-16 10:19:13 +02:00
cd5aba7b89 more work on et2-image to get it fill the whole container and getting Et2VfsMime (et2-vfs-mime) working again after et2-image changes 2024-08-16 10:10:33 +02:00
969164e7d3 Et2Image: Fix widget style property overrode actual DOM style property 2024-08-15 14:25:20 -06:00
80b19980bc Et2Image fixes:
- fix EgwMenuShoelace to show bootstrap icons by using bootstap-icons.ts CSS in it's styles()
- Et2Image size internal img tag, if no bootstrap icon, to size of et2-image
- Et2Image width or height are set on itself
2024-08-15 20:23:53 +02:00
0cad204a23 fix JS TypeError caused by style property by allowing CSS functions like calc() in width and height property of et2-image
maybe we want that for all widgets ..
2024-08-15 10:32:48 +02:00
861bb8e846 use bootstrap icons as icon-font for whole EGroupware, not just in smallPART/ViDoTeach 2024-08-15 09:25:18 +02:00
58ed15b849 forward width, height and style to img tag and use decorators 2024-08-14 18:44:24 +02:00
cf96aa5d98 found some more to remove "as any" from customElements.define() as it excludes widget from the documentation
not sure why it was added there in the first place for some widgets
2024-06-17 10:22:00 +02:00
ba744d3292 Remove Lion 2024-05-07 14:46:44 -06:00
65bf573f88 All etemplate widgets in component list 2023-10-11 14:48:58 -06:00
e323cd1d79 Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
b83887d44a Api: All images lazy load
Try to stop when lots of images block the rest of the rendering
2023-06-15 09:28:38 -06:00
7d86d69b49 Add statustext to list of detached attributes 2023-04-25 13:53:16 -06:00
918c0324d1 remove redundant if clause 2022-09-29 15:07:10 +02:00
ba8c5101ac Et2Image: Fix data URLs did not work 2022-09-28 13:36:56 -06:00
cc132a8d72 Revert "getting label / tooltip of images to be translated", fixed another way.
This reverts commit 06ae750b32.
2022-09-06 09:16:25 -06:00
06ae750b32 getting label / tooltip of images to be translated
not sure why this is necessary, as Et2Widgets lists label and statustext as to translate ...
2022-09-06 10:41:08 +02:00
38d7604115 Prevent execution error 2022-08-31 12:24:49 +02:00
95f10b57f3 Et2Image: Check that src from content is valid to avoid overwriting existing src attribute
Happens in Kanban contact, src="email" but email has a value (an email address)
2022-08-15 13:25:08 -06:00
d9d14f1e2a implement appicon as web-component and remove/replace legacy et2_widget_image with stubs 2022-08-07 11:55:02 +02:00
e9f0a5216b Fix missing button images when image was not set before first update 2022-07-27 13:03:44 -06:00
b9d96ea3e9 change all attribute-names of new et2-* widgets to camelCase
only exception is select_options, never used in templates
2022-07-21 17:57:50 +02:00
2cd5c861aa Favorites: Add icons to dropdown, fix icon styling in sidebox menu 2022-06-28 14:09:29 -06:00
3efe81c293 Fix Et2Image was using et2_clickable class without href or onclick 2022-06-10 13:25:54 -06:00
57e1845c16 Avoid errors if src changes before first render & img is not there 2022-05-27 14:20:35 -06:00
0963f7d548 Fix src could not be changed after being set 2022-05-27 14:11:35 -06:00
8172f6e72d Et2DropdownButton WIP 2022-05-12 15:22:49 -06:00
7dc959c223 automatic convert <(image|description) expose_view="true" to <et2-*-expose 2022-05-05 19:07:44 +02:00
efcd5bbe51 Et2ImageExpose 2022-05-04 17:31:42 -06:00
10af4f7514 Historylog + webcomponents
- historylog widget now uses webcomponents for timestamp & user, and whenever possible for values
- History::get_rows() formats customfield date/date-time values as needed
- implement setDetachedAttributes(), if nextmatch & historylog are calling them on webcomponents, might as well use that to set what they pass
2022-05-03 11:01:42 -06:00
18f6d1ee0b Et2Image: Fix "TypeError: this._imageTemplate is not a function"
I'm not sure how that happened.  Autocorrect?
2022-04-14 08:50:34 -06:00
748e2ee70e Et2Image: Use slotted image so most CSS still works 2022-04-13 10:37:55 -06:00
0d6d18e3fa Et2Image: Show as clickable if image has href OR onclick 2022-04-13 08:34:24 -06:00
319bd51f80 Et2Image bugfixes
- No src or default_src gives nothing, not missing image
- Fix etemplate.php parser so buttons that get converted to images still submit
2022-04-12 10:00:43 -06:00
e3be42721e Fix Et2Image did not double-transform src for as legacy image did
eg:
if $content[0][type] = "group"
${row}[type] => "0[type]" (single transform)
0[type] => "group" (double transform)

Also, fix type from addressbook list to not need double-transform
2022-04-11 15:03:24 -06:00
6ed888a80e Fix missing Et2Image label 2022-04-11 13:38:24 -06:00
77a11cb5fe Fix image src not getting set 2022-04-08 14:03:29 -06:00
2ba299f876 Change buttons that used to be just an image to be just an image
- Remove Et2ButtonImage, it's not needed.  Buttons without labels look the same
- Add Et2Image to take its place
- Change etemplate modifier to use Et2Image for buttononly
- Some styling for mail account placeholder button
2022-04-08 13:03:20 -06:00