keleo / custom-css-bundle
A Kimai 2 plugin, which allows to edit custom CSS rules through an administration screen.
Installs: 87
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 3
Open Issues: 0
Type:kimai-plugin
Requires
README
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.