nathan
2208ba1b99
Et2ButtonIcon: Keep set image property so we can check it
2024-08-19 13:14:24 -06:00
ralf
861bb8e846
use bootstrap icons as icon-font for whole EGroupware, not just in smallPART/ViDoTeach
2024-08-15 09:25:18 +02:00
ralf
1ee4d91ea2
allow to use and automatic find bootstrap icons via egw.image('<bootstrap-name>') or Image::find() on server-side
2024-08-07 18:28:42 +02:00
nathan
64b6723e3b
Fix wrong classname
2024-08-01 13:47:38 -06:00
nathan
844f64fffa
More style cleanup
2024-07-15 09:40:28 -06:00
nathan
4b3e09092c
Revert accidentally committed files
2024-07-15 09:38:58 -06:00
nathan
0d91361c47
Fix Et2LinkAdd still tried to use Lion slots
2024-07-11 16:39:28 -06:00
nathan
0cb09698a1
Long task dialog improvements
...
- Add 'Skip all' button to skip any further failed tasks
- Add button to copy the log
2024-07-10 11:08:56 -06:00
ralf
e9d366aa98
WIP accessibility of widgets:
...
- fixed fallback-order for aria-attributes (done now in connected callback and not updated, which was not reliable in the order called)
- aria-label set by (in order of priority): ariaLabel, label, placeholder, statustext
- aria-description set by (----- " -----): ariaDescription, helpText, statustext (if not already used for -label)
- following widget work now (incl. focus by click on label): et2-textbox, et2-date*, et2-url*, et2-select*
2024-04-26 12:04:37 +02:00
nathan
7ed9eef29d
Resolve some Et2ButtonIcon issues from Shoelace upgrade
...
- Avoid some 404s with egroupware icons trying to load from shoelace
- Fix Shoelace icon not shown when button has an ID
2024-03-13 10:48:23 -06:00
nathan
eef8eb8432
Fix Et2ButtonIcon buttons using sl-icons did not show the icon
2024-03-01 09:08:55 -07:00
nathan
342f2cf5a5
Update shoelace to 2.12.0
...
Current (2.14.0) has a bug preventing selectboxes from closing when you click out. Will be fixed in the next version.
2024-02-29 11:25:37 -07:00
nathan
7052803700
Et2ButtonTimestamper: Fix error where some users could not be found
...
In instances with > 100 users, it's possible the current user was not on the client side. Now checking user() first, it should always be there.
2023-12-07 10:31:59 -07:00
ralf
8236b03d45
using single link.svg from api and use it by default for all link* buttons
2023-11-24 07:26:49 +02:00
nathan
da92471920
Add default keyboard shortcuts for save & cancel buttons
2023-11-08 14:37:30 -07:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade ( #135 )
...
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
hadi
b34789e676
Fix properties do not get set for inherited widgets from Et2Button
2023-08-28 12:19:18 +02:00
nathan
89483d80d3
Api: Fix missing spinner icons
2023-05-17 10:08:34 -06:00
nathan
eddcc97163
Et2ButtonIcon: Fix missing icons
...
There was a conflict between Et2InputWidget setting the widget name & image
2023-05-16 10:02:34 -06:00
nathan
e034557f60
Api: Fix number could not handle comma as decimal separator if different from browser's region.
2023-03-22 10:59:05 -06:00
Hadi Nategh
b25346c1e4
ET2Button doesn't get resized properly after set/remove label therefore try to force an update
2023-02-16 15:17:13 +01:00
nathan
d87e0c7f38
Fix missing default button images
2023-01-16 16:15:57 -07:00
nathan
9a190321c1
Et2Button: Fix class mixup that broke buttons
2023-01-05 09:00:02 -07:00
nathan
acd44a1e0e
Get tests for Button passing again
2023-01-04 15:03:43 -07:00
nathan
40278c8827
Get our WebComponent tests running again
...
Made a lot of "failed to construct htmlelement" errors go away, avoid a bunch of egwIsMobile is undefined errors
2023-01-04 12:01:09 -07:00
nathan
b0bedc8467
Accessability improvements
...
- Toolbar buttons get label, but it is visually hidden
- Add label to calendar Add button
2022-12-22 14:14:45 -07:00
nathan
e756962f86
Change egw.accounts() to always return a Promise
2022-12-15 10:22:19 -07:00
nathan
e875b9ddf4
Use same background color for primary buttons
2022-12-05 10:54:05 -07:00
nathan
3a1c415ce4
Styling for buttons on dialog
2022-12-02 11:23:09 -07:00
nathan
c81ff8b444
Fix disabled buttons had different styling than normal buttons
2022-12-01 13:03:39 -07:00
nathan
5c3d35aa05
Fix missing SVG icons for some images
...
They weren't missing, just 0x0px
2022-11-23 14:35:36 -07:00
Hadi Nategh
d1841f9985
Fix hideonreadonly sometimes not being applied (eg. hbox)
2022-10-21 13:29:16 +02:00
ralf
196024a454
stopping buttons in dialog from submitting it to server-side
2022-10-06 13:55:24 +02:00
nathan
91bd7d5a43
Et2Button: Fix disabled was still hiding the event even if hideonreadonly was false
2022-09-22 15:20:21 -06:00
nathan
79b6cef5fd
Switch egw.user(..., async=true) to always return a Promise for consistency
...
Switch Et2ButtonTimestamper to use egw.user(...,async=true)
2022-09-20 08:05:59 -06:00
Hadi Nategh
79cec31989
Fix label of button overlaps outside its container if it gets squeezed enough
2022-09-08 12:47:11 +02:00
Hadi Nategh
978d356eed
Set background color for buttons used in dialogs footer
2022-09-05 10:10:11 +02:00
Hadi Nategh
e1a87caf6c
WIP of better UI
2022-08-30 07:50:43 +02:00
nathan
81378fe3a5
Calendar: Fix recurring event prompt did not have labels or icons on buttons
2022-08-23 08:54:31 -06:00
Hadi Nategh
83dc0a95f8
Don't let button-icons grow/shrink
2022-08-23 12:42:10 +02:00
nathan
0775fd1a4e
Icon improvements:
...
- If Et2ButtonIcon image does not resolve to a egw image, treat it as a Shoelace icon name
- Add egw images as an icon library for Shoelace
eg: <sl-icon library="egw" name="5_day_view"/>
2022-08-22 14:06:23 -06:00
ralf
ffb8354728
move label stuff to Et2Button as Et2ButtonIcon does not need it
2022-08-22 22:00:18 +02:00
nathan
1d5467faab
Et2ButtonIcon: Fix icons didn't show
...
Must use SVGs here
2022-08-22 13:45:06 -06:00
ralf
263f2c867f
re-add lost label getter and setter to fix not shown labels in buttons
2022-08-22 20:24:40 +02:00
nathan
f0dcc1685d
Move our button code into a mixin and extend sl-button to our current et2-button and sl-icon-button to a new et2-button-icon.
2022-08-22 08:44:54 -06:00
ralf
458519800d
removing tiny left padding and big right margin from [+] button in calendar NM header
2022-08-11 11:15:22 +02:00
Hadi Nategh
301d38796f
Still set width for buttons with only icon and remove the extra left padding in this case as we want the button and icon be square
2022-08-08 11:57:02 +02:00
Hadi Nategh
2593acf303
Let the button with no label set and only icon be square
2022-08-05 16:25:47 +02:00
nathan
44c331f69d
Fix buttons with image but no label didn't always size correctly
2022-08-03 11:33:37 -06:00
nathan
0f729b7a1b
Center image in button when it has no label
2022-08-03 10:10:28 -06:00