Commit Graph

174 Commits

Author SHA1 Message Date
Thomas Rupprecht 5da586bc2c add JsDoc for `formatFromNow` 2022-12-11 10:21:47 +01:00
Thomas Rupprecht f446f0da7d fix wrong param name in JSDoc 2022-12-11 10:21:47 +01:00
Thomas Rupprecht fef5d77443 add JSDoc for `ready` function 2022-12-11 10:21:47 +01:00
Thomas Rupprecht 5bd922d109 code improvements
unify lowercase variant of form method post
remove duplicate class selector
improve comments
2022-12-11 10:21:47 +01:00
Thomas Rupprecht ece4d261c4 add comment about css rules to hide the arrows in the input field 2022-12-10 17:25:04 +01:00
Thomas Rupprecht fbe52117ed improve spinner control
use input type `number` with `min` and `step`
use `.stepDown()` and `.stepUp()` to change value
hide browser controls
2022-12-10 17:25:04 +01:00
Thomas Rupprecht 2b5ffca1b0
Use template literals instead of string concatenation (#1003)
* use template literals instead of string concatenation
* extract function call out of template literals
* add contributing hint to don't put function calls in template-literals
2022-12-04 12:00:18 +01:00
Thomas Rupprecht d4a9861751
Add function-paren-newline ESLint rule; align config code style (#1000)
* unify indentation in config.default.php

* add eslint rule `function-paren-newline`

* fix `function-param-newline` lint rule
2022-12-04 11:33:25 +01:00
Michael Weimann 282f4b45ac
Replace jQuery with VanillaJS 2022-12-02 17:07:12 +01:00
Michael Weimann 7bbdb95885
Replace jQuery ready 2022-12-02 17:07:11 +01:00
Thomas Rupprecht 9c3c2cc2ac select2 width should be 100% to scale if the browser width changes 2022-12-02 14:25:57 +01:00
Michael Weimann 9d9211c054 Format JS code 2022-11-27 16:31:32 +01:00
Thomas Rupprecht 23d7e8632b javascript improvements
use `const` instead of `var`/`let`
use `$(function () { ... })` instead of `$(document).ready(function () { ... })`
unify codestyle
2022-11-25 13:44:39 +01:00
Michael Weimann 4f504e98f1 Update frontend deps 2022-11-25 12:32:06 +01:00
Igor Scheller 74be132f47 Improve `/design`: Add section links and disable in-text-links 2022-10-22 20:31:41 +02:00
Michael Weimann 00eb800f96
Replace moment date format with vanilla JS 2022-10-22 17:22:59 +02:00
Michael Weimann 7049a08bcd
Replace moment-countdown with countdown function 2022-10-22 17:22:53 +02:00
Michael Weimann da4ff8f7c1 remove jquery-ui 2022-08-14 00:06:10 +02:00
Michael Weimann af458d75c6 Fix mobile dropdown menu overflow 2022-07-23 21:27:12 +02:00
Michael Weimann dd8868a6f8 Make dropdown scrollable 2022-07-21 23:17:59 +02:00
Michael Weimann 1277f8f96f Replace chart-js with backend rendering
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-07-11 23:30:41 +02:00
Michael Weimann d6f1fda86f Improve striped table colours 2022-07-11 20:54:45 +02:00
frischler 71d183df01 Applied changes as suggested in https://github.com/engelsystem/engelsystem/pull/915 2022-06-06 16:12:47 +02:00
frischler 2c0d516578 Improved Messages UI and shrinking includes/user_messages.php 2022-06-06 16:12:47 +02:00
Xu 25e28535d0 theme 7 small fixes 2022-05-14 17:39:30 +02:00
Michael Weimann 6ea938460a Clean up styles 2022-04-29 15:16:23 +02:00
Michael Weimann c4b2fbda1a Remove date/time pickers 2022-04-19 23:33:44 +02:00
marudor 4c96e268b0
update devDeps, fix bootstrap icons 2022-01-28 14:14:06 +01:00
Igor Scheller 1c993522c6 Use same text color for table stripes, lightened select2 search background 2021-12-29 17:12:19 +01:00
Igor Scheller b23b89cc7a rC3-2021 Theme: Use darker background 2021-12-28 16:47:26 +01:00
msquare b338f9d719 theme improvements 2021-12-28 09:46:32 +01:00
msquare fc9fda9e33 theme improvements 2021-12-27 22:09:48 +01:00
msquare f286373b21 theme improvements 2021-12-27 21:49:07 +01:00
msquare fee3f88ace rc3 2021 theme 2021-12-27 20:20:45 +01:00
Igor Scheller 8256b9d6bd Hide oauth from profile and settings page if not configured / should be hidden 2021-12-12 12:34:43 +01:00
Igor Scheller 0367810258 Fixed linting 2021-09-11 22:03:18 +02:00
msquare 71ffb68845 datepicker left right icons 2021-09-11 16:12:08 +02:00
Michael Weimann 86606c8055
fix css and datepicker 2021-09-11 14:39:40 +02:00
Igor Scheller f201b2f1c8 Merge branch 'feature-bootstrap5'
# Conflicts:
#	package.json
#	tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php
#	webpack.config.js
#	yarn.lock
2021-08-17 14:26:28 +02:00
Igor Scheller e0eeee013e
Fix secondary color on dark themes and theme 7 secondary buttons, formatting 2021-08-16 18:02:06 +02:00
Michael Weimann 3c77ec62d0
improve navbar / cards colours 2021-08-16 18:02:05 +02:00
Michael Weimann 2da821a68d
introduce temporary bootstrap body bg fix 2021-08-16 18:02:03 +02:00
Igor Scheller 231f481537 Styling optimizations (esp. alerts) and other fixes 2021-08-09 23:32:24 +02:00
Michael Weimann a7a79d2204
remove unused files5 2021-08-08 19:11:14 +02:00
Michael Weimann aef60086ec
add default to all cyborg variables 2021-08-08 18:56:58 +02:00
Igor Scheller 6cfeedc57a Fixed more themes and styles/types 2021-08-05 01:00:12 +02:00
Michael Weimann c7b83975cb
init select 2 after document ready 2021-07-29 20:38:00 +02:00
Igor Scheller bd8acfcf51 Fixed some styles 2021-07-29 20:20:38 +02:00
Michael Weimann 82f640896e
migrate shift overview cards to panels
migrate shift overview cards to panels
2021-07-29 20:01:21 +02:00
Igor Scheller 91c7a19f11
Removed and replaced outdated classes and styling, use secondary buttons 2021-07-29 20:01:19 +02:00
Michael Weimann b68af58321
migrate datetime picker to bs5
fix bs5 time picker

fix datetime picker js error
2021-07-29 20:01:13 +02:00
Igor Scheller 63f0a08407
Fixed spacing and sizes 2021-07-29 20:01:12 +02:00
Igor Scheller 08188fa32a
Fixed shifts filter toggle and "hide on print" classes 2021-07-29 20:01:11 +02:00
Michael Weimann 4428266488
migrate panels to cards 2021-07-29 20:01:10 +02:00
Igor Scheller b41a9a02d1
Use bootstrap icons instead of glyphicons 2021-07-29 20:01:05 +02:00
Michael Weimann e4898dae61
update select2 2021-07-29 20:01:03 +02:00
Michael Weimann ed93bba56d
fix sass 2021-07-29 20:00:58 +02:00
Michael Weimann 5f7fcb9018
make all themes basically working with bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate buttons and badges

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

upgrade bootstrap, fix devtool

remove postcss-preset-env

remove npm-run-all

add theme info to design

add theme configs for 2-15

make all themes compile

fix node env in script

refactor theme config

make all themes basically working

fix sass 3rd party warnings

replace slash div by math.div
2021-07-29 20:00:54 +02:00
Michael Weimann 9acaa03a71
migrate basic elements to bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate body color to bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate the nav menu to bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate to bs5 badges

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate to bs5 nav pills

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate the login page to bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

fix the language dropdown in bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-07-29 19:41:09 +02:00
Igor Scheller 46dad55065 Fixed shift time shortcuts not updating date select 2021-06-04 00:07:30 +02:00
Michael Weimann 02fa603090
migrate to scss/bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-04-17 14:47:01 +02:00
Xu b5882fce87 some minor fixes 2021-04-12 18:43:39 +02:00
Xu 0549d81fc8 refactored themes to be less complicated: added cyborg_variables and cyborg_styles 2021-04-12 18:43:39 +02:00
Igor Scheller 30e1d41c0a EventConfig: Set time on dates 2021-04-12 17:13:48 +02:00
Michael Weimann 2cab0788e1 introduce PostCSS + Autoprefixer
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-04-05 11:29:19 +02:00
Xu c48664bc7d theme15: greener r2r theme 2021-04-02 12:09:07 +02:00
Benjamin Wand 5293bc7192
Theme for DiVOC R2R 2021-04-02 11:51:58 +02:00
Michael Weimann ddcc9aee7a improve mobile nav button layout
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-03-28 14:19:31 +02:00
Michael Weimann c1a5a8d50b fix mobile safari menu layout
Add extra bottom margin because mobile Safari displays a bottom bar hiding parts of the menu.

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-03-28 14:19:31 +02:00
Igor Scheller ea199f9485 FAQ: Added links 2020-12-27 17:56:36 +01:00
Xu b77c163aad themes: fixed some colors mainly for code tag 2020-12-09 20:38:21 +01:00
Xu ca5a952d19 theme 13, theme 14: edited colors for code tag 2020-12-09 20:38:21 +01:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
Igor Scheller c57bb9395e Theme: Fixed space and line endings in font license 2020-11-22 14:55:29 +01:00
msquare aabd98241c add teal rc3 theme 2020-11-14 18:29:15 +01:00
msquare c59bf69f0c add fonts to rc3 theme 2020-11-13 20:41:29 +01:00
msquare 8f62e5bf15 add rc3 theme (colors & background image), fix background of select2 2020-11-13 20:15:31 +01:00
Igor Scheller 00f812fb77 Enable select2 2020-10-21 21:44:24 +02:00
marudor dae856e87e
chore: update dependencies, remove imports-loader 2020-09-01 11:17:05 +02:00
Igor Scheller 3bce7a16d8 .editorconfig: Fixed max_line_length 2020-06-28 19:39:29 +02:00
Igor Scheller 390db395a6 File formatting fixes 2020-06-28 19:39:29 +02:00
Igor Scheller e947e788f9 Rebuild logs view 2020-05-01 21:41:06 +02:00
Igor Scheller 04fe35c822 Added /design path to show template elements 2020-04-25 17:04:57 +02:00
Igor Scheller 951755598a Removed ReplaceSmilies from news 2020-04-25 15:50:57 +02:00
Igor Scheller edf3220824 Themes: Added names, fixed warning- and disabled-forms background colors 2020-04-24 22:32:55 +02:00
digitaldonkey 2d9c722b3e Fix mobile navi 2020-01-02 03:34:55 +01:00
Igor Scheller ec47d124bb Shifts overview: only scroll shifts, not whole page 2019-12-26 16:46:06 +01:00
Michael Weimann 3f13549771 Improve readability 2019-12-19 19:04:55 +01:00
msquare fb13bdcb96 fix #694: no more black hover link texts in 36c3 themes 2019-12-14 15:04:16 +01:00
msquare 3a6d096fff add 36c3 theme 2019-11-23 18:39:09 +01:00
Igor Scheller eec1eff65b Shifts overview: Style cleanup 2019-10-20 15:38:09 +02:00
Jan Kapellen 941c08b2f6 removed dotted line 2019-10-20 15:04:57 +02:00
Igor Scheller c09c94f3ea style: formatting and nesting 2019-10-20 14:59:15 +02:00
Wonko T. Sane 1a5c10dd41 adding a dashed line when expandable 2019-10-20 14:59:15 +02:00
Wonko T. Sane b14d352140 Fix for #526
Implementation idea stolen from http://jsfiddle.net/6K7t4/24/
2019-10-20 14:59:15 +02:00
Michael Weimann ddaba23c9a
Makes Monday first day of the week even if English language is selected 2019-10-11 21:16:24 +02:00
Igor Scheller 368604bd96 Shifts view: Persist hidden filters 2019-09-18 13:25:35 +02:00
msquare e4c2bd104b fix shift view buttons 2019-08-09 15:06:43 +02:00
msquare 51b5889666 fixes #631: alert/link coloring 2019-08-04 18:03:53 +02:00
marudor a07e62ca67
Use core-js as polyfill to really support older browsers. 2019-07-26 12:40:21 +02:00