Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CustomCSSBundle

A Kimai 2 plugin, which allows to edit custom CSS rules through an administration screen.

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

Installation

First clone it to your Kimai installation plugins directory:

cd /kimai/var/plugins/
git clone https://github.com/Keleo/CustomCSSBundle.git

And then rebuild the cache:

cd /kimai/
bin/console kimai:reload --env=prod

You could also download it as zip and upload the directory via FTP:

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

Permissions

This bundle ships a new permission, which limit access to certain functionalities:

  • edit_custom_css - every use that owns this permission

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

Read how to assign these permission 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.