keleo/custom-css-bundle

Edit custom CSS rules through an administration screen.

Installs: 103

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 7

Forks: 10

Open Issues: 0

Type:kimai-plugin

2.1.0 2023-10-19 09:36 UTC

This package is auto-updated.

Last update: 2024-03-31 18:19:14 UTC


README

A Kimai plugin, which allows editing custom CSS rules through an administration screen.

It ships with some pre-defined CSS rules, which can be added with a button click.

Installation

This plugin is compatible with the following Kimai releases:

Bundle version Minimum Kimai version
2.1.0 2.1.0
2.0 - 2.0.1 2.0.0
1.5 - 1.7 1.9
1.0 - 1.4 1.4

You find the most notable changes between the versions in the file CHANGELOG.md.

Download and extract the compatible release in var/plugins/ (see plugin docs).

The file structure needs to look like this afterwards:

var/plugins/
├── CustomCSSBundle
│   ├── CustomCSSBundle.php
|   └ ... more files and directories follow here ... 

Then rebuild the cache:

bin/console kimai:reload --env=prod

Permissions

This bundle comes with the following permissions:

  • edit_custom_css - show the administration screen to edit custom css rules
  • select_custom_css - select from the pre-defined rules

By default, it is assigned to each user with the role ROLE_SUPER_ADMIN.

Read how to assign these permissions to your user roles in the permission documentation.

Storage

This bundle stores the custom CSS rules in the file var/data/custom-css-bundle.css. Make sure its writable by your webserver and included in your backups.

Screenshot

Screenshots are available in the store page.