22 Commits

Author SHA1 Message Date
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
ec4d246a3c Add minimal layout for the welcome page 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
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
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
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
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
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
b597c7c489 Adjust dashbaord conent layouts & don't redirect when sorting only dashlets 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
14bc749556 Dashboard: Provide mini welcome wizard for new users 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