Commit Graph
17 Commits
Author SHA1 Message Date
Jaap Marcus fd4204be6a Admin users are unable to create ticket due to missing "Client ID" (#1548) 2023-08-17 07:46:16 -07:00
Belle Aerni 5d862a7f18 Make tables sortable in the admin panel (#1406) 2023-07-04 14:35:44 +02:00
Belle Aerni 62f6feaef7 Minor improvements to the ticket view (#1251)
* Minor improvements to the ticket view

* Also make those only one table body

Makes the stripes more consistent and imo looks better this way
2023-05-20 14:20:50 +01:00
Belle Aerni 50fc50163f Clean up deprecated CSS (#1063)
* Clean up deprecated CSS

* Fix a few old button classes

* Port Servicelicense pages to tabler

* Remove a bunch of old icons

* Run Huraga and Installer CSS through autoprefixer
2023-04-06 15:05:28 -07:00
Shamshid 185466f374 Major and minor design improvements to modules (#999) 2023-03-28 07:46:59 +01:00
Adam Daley 9fb19e02d7 Improve date/datetime format handling and customisability (#948)
* Replace custom Twig bb_date/bb_datetime filters

Replace bb_date and bb_datetime Twig filters with format_date / format_datetime to better support i18n and customisability.

* Update templates to use format_date/format_datetime

Update all templates to use format_date/format_datetime (where appropriate and where not already used).

* Update locale configuration options

Update configuration options to include new locale settings, and ensure new options are used throughout.

* Add reset button to admin theme date picker

Add a reset button to the admin_default theme date picker to allow dates to be cleared, and fix an issue with Order module not allow blank dates. Resolves #938.
2023-03-24 23:16:07 +00:00
Belle Aerni 740f9e1371 Cleanup some more admin_default inconsistencies (#972) 2023-03-19 00:10:48 +00:00
Yağızhan 386c16c90c Making the event listener work for every instance of the similar element (#945) 2023-03-13 04:46:39 -07:00
Shamshid e4d7996530 Upgrade jquery to v3 and cleanup related deprecations (#904)
* fix deprecations by using `.on()` method

* replace keyCode event with key

* use jquery v3 from npm

* fix support ticket canned response by replacing select2 lib

* fix `ajaxStart()` method requirement to be document

* remove jquery uniform()

* remove jquery.scrollTo

* finally, remove jquery v1

* remove unused CSS

* move canned_ticket_response style

* fix deprecated `:eq()` selector

* fix jquery.alert by adding package to bring in removed $.browser feat from v1

* fix escape key

* add comment for clarity on the added package

* remove unused css

* remove duplicate jquery-ui css
2023-03-08 08:57:35 +00:00
Yağızhan bbbd6828e0 Introduced the new Modals toolkit (#903)
* The first editions of the new modals toolkit

* Make the modals centered and implement it to the batch delete partial

* Made CodeFactor happier

* Combining 'danger' and 'success' into one

* New 'small' modal type.

* Added 'small-confirm' type and refactored the massmailer template a bit.

* Minor refactoring for the form builder module

* Make apiLink use modals to confirm

* Minor updates

* Made the "notes" icon visible again and got rid of some jQuery

* Cleared some leftover jQuery code here and there
2023-03-07 21:38:40 -08:00
Shamshid 19197a5997 Replace admin_default datepicker and remove jquery-ui (#899)
* add litepicker

* init and set litepicker

* remove jquery-ui
2023-03-06 03:23:19 -08:00
Shamshid 5757909618 Replace admin_default js autocomplete (#878)
* move locale selector to tomselect.js

* improve tomselect css

* add autocomplete tomselect selector

* replace jquery-ui autocomplete with tomselect selector

* minor design improvement

* update placeholder text
2023-03-02 10:22:19 +01:00
Belle Aerni 64d8e2fef6 Replace usage of the bbmd filter
It's just an alias of the `markdown` one, so let's use that one directly and mark this one as deprecated
2023-01-29 15:25:41 -08:00
Belle Aerni 695d2df3c2 Hotfix for issues caused by the CSRF token system 2022-12-07 14:12:05 -08:00
Belle Aerni 8821d50cff Created a CSRF token system (#526)
* Implement a basic CSRF token system

* Update forms for all modules

* Added to the theme forms

* Create a config option for CSRF prevention

* Slightly rework the filter

* Let's actually use a global var

* Added the token to API hrefs

* Fixup

* Remove old reference

* Added the token to the installer twig globals

* The token isn't actually needed in the installer

* Fix client searching

* Whoops - those need quotes
2022-12-06 18:47:14 +01:00
evrifaessa 8cd8f57003 Typos and wording 2022-12-03 19:28:03 +03:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00