Yonas Habteab
17752eb8ac
Don't render safari
default details
marker
2023-07-14 20:05:35 +02:00
Yonas Habteab
af7263d216
CSS: Don't add padding top to the dashelt caption
...
When you add some text that exceeds the webkit line clamp, the dashlet caption
looks off to me. Since the caption doesn't have padding-bottom, we shouldn't
also add padding-top to it.
2023-07-14 20:05:34 +02:00
Yonas Habteab
628b270e51
Add custom form-controls
minimal layout
2023-07-14 20:05:34 +02:00
Yonas Habteab
8685a0d247
Let Sortable detect sort direction dynamically & don't use invertSwap
sortable option
2023-07-14 20:05:34 +02:00
Yonas Habteab
ec4d246a3c
Add minimal layout for the welcome page
2023-07-14 20:05:34 +02:00
Yonas Habteab
aa33940ded
forms.less: Add also button style on minimal layout & add mirgin-right to the btn-remove
2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
23de575782
Set dark border for btn_use_defaults
on hover and focus
2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
95c6b7cd7f
Add edit icon
2023-07-14 20:05:34 +02:00
Yonas Habteab
f9aba0c7ff
Disable drag&drop events for the default home
2023-07-14 20:05:34 +02:00
Yonas Habteab
4fc410c6e9
Don't ignore url params of the DM view when requesting Drag&Drop actions
2023-07-14 20:05:34 +02:00
Yonas Habteab
0c91a8a283
Adjust disabled input style sheets & remove unnecessary control structure within the WelcomeForm::onSuccess()
method
2023-07-14 20:05:34 +02:00
Yonas Habteab
da98bb2bf1
dashboards.less: Add styles for disabled input fields
2023-07-14 19:51:08 +02:00
Yonas Habteab
707de5c4da
dashboards.js: Remove some unnecessary codes
2023-07-14 19:51:08 +02:00
Yonas Habteab
d05b8d9e2f
main.less: Set cursor to pointer for the expand/collapse icons
2023-07-14 19:51:08 +02:00
Yonas Habteab
76c97bb1d2
dashboards.less: Add column spacing to the welcome form formcontrols
2023-07-14 19:51:08 +02:00
Johannes Meyer
3041d7d3c1
dashboards/settings: Cleanup HTML and CSS
...
Well what should I say..
* There should be nothing else inside a `ul` than `li` elements
* If that's not feasible, don't use a `ul` but a `div`
* If adjusting a stylesheet, don't add new stuff to it without
making sure that redundant/obsolete stuff is removed
* Restructure your stylesheet once you notice you're adding
one rule after another to counteract the one before it.
There was way too much code smell
* Only be as specific in CSS rules as you absolutely need to.
Classes are usually enough. Only add tags if you use the same
classes on different tags.
* Ensure that your CSS makes as less assumptions as possible
2023-07-14 19:51:08 +02:00
Johannes Meyer
8bd82ff97c
Cleanup dashboard welcome page
...
* The `h1` is the tab or page title, the welcome message is at most a `h2?`
* It's not necessary to mention that the welcome page is only shown as
long as there are no dashboards/dashlets, if the very next statement
explains this already
* The icinga form layout is not relevant here, so there's no need to
work-around/counteract it
* The text opacity just reduced the contrast needlessly
2023-07-14 19:51:08 +02:00
Johannes Meyer
fd31f2d960
css: Adjust .controls.separated
border-shadow to match Icinga DB Web's
2023-07-14 19:51:08 +02:00
Johannes Meyer
136f25cb66
layout.less: Fully remove letter-spacing from .dashboard
...
Since ipl-html is used now, there is no whitespace between
tags which gets rendered due to display:inline-block.
2023-07-14 19:51:08 +02:00
Johannes Meyer
799b935d96
dashboard.js: Only handle rendered
events we're interested in
2023-07-14 19:51:08 +02:00
Yonas Habteab
9b1f780c4b
dashboards.js: Don't use a variable for handle
2023-07-14 19:51:08 +02:00
Yonas Habteab
ff5ae27eb6
dashboards.js: Don't delay drag&drop events anymore
2023-07-14 19:51:08 +02:00
Yonas Habteab
8d8a234446
Make the bars icon a bit bigger
2023-07-14 19:51:08 +02:00
Yonas Habteab
28021b61d3
Use handle icon to initiate the drag&drop events
2023-07-14 19:51:08 +02:00
Yonas Habteab
f7f93ca25e
forms.less: Undo changed button styles
2023-07-14 19:51:08 +02:00
Yonas Habteab
dab6bdc7c6
Use own activate() method to activate dashboards
2023-07-14 19:51:08 +02:00
Yonas Habteab
50c19af224
Remove obsolete button styles & add a proper button class names
2023-07-14 19:51:08 +02:00
Yonas Habteab
5da7d62913
form.less: Adjust remove & cancel button style sheets
2023-07-14 19:51:08 +02:00
Yonas Habteab
443a963307
Adjust how module dashlets are handled
2023-07-14 19:51:08 +02:00
Yonas Habteab
49267d6fa3
Use sendMultipartUpdate() for drag&drop actions & adjust some css styles
2023-07-14 19:51:08 +02:00
Yonas Habteab
936079b7c5
dashboard.js: Fix moving a dashlet to another home/pane throws an error
2023-07-14 19:51:08 +02:00
Yonas Habteab
b597c7c489
Adjust dashbaord conent layouts & don't redirect when sorting only dashlets
2023-07-14 19:51:07 +02:00
Yonas Habteab
77a4643e25
events.js: Adjust dashlets loading to the new dashlet layout
2023-07-14 19:51:07 +02:00
Yonas Habteab
d3a74b09b0
Fix dnd
doesn't work for panes without a home being rendered
2023-07-14 19:51:07 +02:00
Yonas Habteab
74df1511fe
modal.js: Change modal cancel selector
2023-07-14 19:51:07 +02:00
Yonas Habteab
00561a54e9
dashboard.js: Use js class syntax
2023-07-14 19:51:07 +02:00
Yonas Habteab
3630bb7b54
JS: Replace jquery.find() with pure js
2023-07-14 19:51:07 +02:00
Yonas Habteab
a733c6f66d
Delay sorting events for 100ms
2023-07-14 19:51:07 +02:00
Yonas Habteab
cdd60f965b
Do some code refactoring
2023-07-14 19:51:07 +02:00
Yonas Habteab
c2b475585f
modal.js: Register onModalClose event also on .modal-cancel
selector
2023-07-14 19:51:07 +02:00
Yonas Habteab
14bc749556
Dashboard: Provide mini welcome wizard for new users
2023-07-14 19:51:07 +02:00
Yonas Habteab
9e7d0e089e
loader.js
: Allow to override the actual form action using formaction
attr
2023-07-14 19:51:07 +02:00
Yonas Habteab
ed94660839
CSS: Introduce some styling for the enhanced dashboards
2023-07-14 19:51:07 +02:00
Yonas Habteab
8d2caab3fe
JS: Introduce dashboards behavior
2023-07-14 19:51:07 +02:00
Johannes Meyer
10d3fb64f9
js: Automatically transform .time-until widgets into .time-ago ones
2023-06-22 15:02:37 +02:00
raviks789
f74041e00a
Javascript: Add copy-to-clipboard
behavior
...
Utilizes `CopyToClipboard.js` from ipl-web
2023-06-20 12:06:27 +02:00
Sukhwinder Dhillon
65b9024bc5
Winter.less: Don't set bg-color to transparent
2023-06-19 10:09:49 +02:00
Sukhwinder Dhillon
09b9d7401c
base.less: Make menu nav-level-2 hover better visible
2023-06-19 10:09:36 +02:00
Eric Lippmann
a3235555bb
js: Also preserve scroll-y upon auto-refresh
2023-05-19 15:29:44 +02:00
Johannes Meyer
cb6a0c120f
events.js: Trigger a real submit upon autosubmit
2023-05-19 14:53:31 +02:00