Giter Club home page Giter Club logo

themerevision's Introduction

ThemeRevision for Kanboard

Release License Kanboard Support Good Kanboard Support OK

ThemeRevision is a task-first and high-quality theme for Kanboard. It's also aimed at better mobile experiences, common plugins' compatibilities, and customization friendly.

Screenshots


Features

Task-first

  • ThemeRivision has been trying to create a high-quality but minimalist UI that helps you focus on your tasks.
  • Provide support for syntax highlighting.
  • More Search boxes. Display a search box in a drop-down menu automatically if items are more than 25.

Better mobile experiences

Common plugins' compatibilities

  • Calendar / Gantt / Group_assign / MarkdownPlus / MetaMagic / Table View ...

Dark mode

  • An individually controlled panel for non-administrative users
  • Three modes provided: Light / Dark / Auto

Customization friendly

  • Customizable display content in the header of a column and the footer of a task card.
  • All colors are configurable in the settings panel. screenshot
  • Support Google fonts by just typing a font name.
  • Switchable icon packages, Google Material (default) and Font Awesome.
  • Structured CSS files, easy to locate elements.
  • Utilize "rem" as the global measuring unit.

Installation

  • Install from the Kanboard plugin manager directly.

    or
    git clone https://github.com/greyaz/ThemeRevision.git into your_kanboard_root/plugins.

  • Your own logo?
    ThemeRevision utilize the file favicon.png in your_kanboard_root/assets/img as the head logo, replace it if needed.

Upgrading

  • I have customized CSS files
    Back up those CSS files you've customized in the folder Asset/dev before upgrading.

    and (< 1.1.4)

    • I have customized configs in Kanboard's settings panel
      Export and then reset your configs in the settings panel before upgrading

    • I have the file config.php on my server
      Rename the file to config.php.bak before upgrading

Customization

Colors / Icons / Fonts

  • Just go to the settings panel: Settings -> ThemeRevision Settings

    or (< 1.0.9)
    Copy and move (do not delete) the file config-default.php to config.php in the plugin directory. Then edit the values according to the instructions in it.

More Styles

  1. Make sure the folder your_kanboard_root/plugins/ThemeRevision/Asset is writable and executable.
  2. Switch "Mode" to "Development" in the settings panel.

    or (< 1.0.9)
    Switch "Mode" in the config file according to the alternative method mentioned in the previous section.

  3. Edit raw CSS files in the folder Asset/dev.

Author

  • greyaz
  • License MIT

themerevision's People

Contributors

greyaz avatar jlkde avatar oleole39 avatar sashaoshurkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

themerevision's Issues

Show column task limit on board

Hi, @greyaz!

This theme is clean and beautiful. I like it.

I notice that column task limit doesn't showed on board neither a color background when limit is target.
Screenshot 2022-11-22 at 09-01-13 Projeto Teste

Native theme looks like:
Screenshot 2022-11-22 at 09-03-23 Projeto Teste

Do you intend to implement it? Maybe just values on column title would be concise with theme.

Btw
I don't know if it's possible to implement a way to select or not this info will showed on board. Would be interesting if other info on cards (dates, priorities, metadata, etc.) would be optional.

Thanks!

1.0.0 / 1.0.2 packaged without surrounding folder cannot be installed

Hey,

first I want to thank you for the theme, my team and I really enjoyed the 0.8.0 version so far and I am really curios about the dark theme.
When I tried to install version 1.0.0 or 1.0.2 from the plugin repository nothing seemed to happen, however I got critical errors from Kanboard afterwards as the surrounding folder (named ThemeRevision in the 0.8.0 archive) seems to be missing so that the packaged contents are unpacked directly into the plugin directory.
Manually creating the folder or cloning from git into the so named directory seems to work too, but I got another error afterwards.

Favicon doesn't show when kanboard is installed in subdir

Hi,

thanks for the nice theme, however there is a problem when kanboard is installed in a subdirectory. Since the favicon is an absolute path, the file cannot be found.

html = '<div class="page-header"></div><img class="logo" src="/assets/img/favicon.png">' + html;

document.querySelector("header .logo > a").innerHTML = '<img src="/assets/img/favicon.png" />';

Header Logo via Customizer Plugin not possible

Hey!
So I am using Customizer to insert custom pictures.
But as long as ThemeRevision is installed, I only see the standard KB Logo.
In the Login screen I see both (lol), first my custom Logo and beneath it the standard KB logo.

Where do I change it so I only see my custom logo, do I have to edit the css file?
Where do I find the css in my Portainer file tree?

Regards
Tobias

和Group assign一起使用时, 分配任务的人显示不全

image
如图, 显示分配任务的组和其他分配的人只能显示两个字符,比较不直观,是否可以在插件里面规定下,背景的长度和字符串长度一样(原版就是这样的)

另外这里提一个功能请求,有没有可能直接可以在kanboard里设置每个一个任务卡片的高度(宽度是自动根据页面分栏来计算的),然后其他元素自动根据比例调整位置
因为感觉现有的任务卡片,空的地方还比较多...一个页面上显示的任务卡片数量还可以更多(不用频繁的滚动)

Undefined variable $color_diffs

Dear @greyaz

Kanboard v1.2.27 (docker)
ThemeRevision 1.1.11

PHP warning shows in Theme Settings:

Warning: Undefined variable $color_diffs in /var/www/app/plugins/ThemeRevision/Template/settings/configs/color_update_notice.php on line 4

Warning: foreach() argument must be of type array|object, null given in /var/www/app/plugins/ThemeRevision/Template/settings/configs/color_update_notice.php on line 4

Screenshot from 2023-03-16 08-17-40

Error when installing 1.0.2 as documented

After cloning the repository and checking out 1.0.2 an error is thrown instead of showing anything from Kanboard anymore.
This does happen for every site and route:

Fatal error: Uncaught Error: Undefined constant "Kanboard\Plugin\ThemeRevision\Helper\colorModel" in /var/www/app/plugins/ThemeRevision/Helper/ColorSwitchHelper.php:23 Stack trace: #0 /var/www/app/plugins/ThemeRevision/Helper/ColorSwitchHelper.php(45): Kanboard\Plugin\ThemeRevision\Helper\ColorSwitchHelper->setColor2Light() #1 /var/www/app/plugins/ThemeRevision/Plugin.php(61): Kanboard\Plugin\ThemeRevision\Helper\ColorSwitchHelper->setUserColor() #2 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(264): Kanboard\Plugin\ThemeRevision\Plugin->onStartup() #3 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #4 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #5 /var/www/app/app/Middleware/BootstrapMiddleware.php(21): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #6 /var/www/app/app/Core/Controller/Runner.php(62): Kanboard\Middleware\BootstrapMiddleware->execute() #7 /var/www/app/app/Core/Controller/Runner.php(28): Kanboard\Core\Controller\Runner->executeMiddleware() #8 /var/www/app/index.php(9): Kanboard\Core\Controller\Runner->execute() #9 {main} thrown in /var/www/app/plugins/ThemeRevision/Helper/ColorSwitchHelper.php on line 23

Interestingly 1.0.0 throws a different but similar error:

Fatal error: Uncaught Error: Undefined constant "Kanboard\Plugin\ThemeRevision\Controller\colorModel" in /var/www/app/plugins/ThemeRevision/Controller/ColorSwitchController.php:26 Stack trace: #0 /var/www/app/plugins/ThemeRevision/Plugin.php(66): Kanboard\Plugin\ThemeRevision\Controller\ColorSwitchController->setColor2Light() #1 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(264): Kanboard\Plugin\ThemeRevision\Plugin->onStartup() #2 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #3 /var/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #4 /var/www/app/app/Middleware/BootstrapMiddleware.php(21): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #5 /var/www/app/app/Core/Controller/Runner.php(62): Kanboard\Middleware\BootstrapMiddleware->execute() #6 /var/www/app/app/Core/Controller/Runner.php(28): Kanboard\Core\Controller\Runner->executeMiddleware() #7 /var/www/app/index.php(9): Kanboard\Core\Controller\Runner->execute() #8 {main} thrown in /var/www/app/plugins/ThemeRevision/Controller/ColorSwitchController.php on line 26

As with 0.8.0 there is no ColorSwitchController.php so the error does not appear.

cli cronjob not working in docker environment after install ThemeRevision.

cli cronjob shows the error message below.
It looks like the working directory not set correctly.
How to fix this issue?

Warning: fopen(plugins/ThemeRevision/Asset/main.min.css): Failed to open stream: No such file or directory in /var/www/kbd/plugins/ThemeRevision/Helper/ModeSwitchHelper.php on line 32

Warning: file_get_contents(plugins/ThemeRevision/Asset/dev/css/basics.css): Failed to open stream: No such file or directory in /var/www/kbd/plugins/ThemeRevision/Helper/ModeSwitchHelper.php on line 53

Warning: file_get_contents(plugins/ThemeRevision/Asset/dev/css/form-components.css): Failed to open stream: No such file or directory in /var/www/kbd/plugins/ThemeRevision/Helper/ModeSwitchHelper.php on line 53

Warning: file_get_contents(plugins/ThemeRevision/Asset/dev/css/table.css): Failed to open stream: No such file or directory in /var/www/kbd/plugins/ThemeRevision/Helper/ModeSwitchHelper.php on line 53

Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /var/www/kbd/plugins/ThemeRevision/Helper/ModeSwitchHelper.php:33
Stack trace:
#0 /var/www/kbd/plugins/ThemeRevision/Helper/ModeSwitchHelper.php(33): fwrite(false, '')
#1 /var/www/kbd/plugins/ThemeRevision/Plugin.php(44): Kanboard\Plugin\ThemeRevision\Helper\ModeSwitchHelper->productionMode()

Currently I found a solution.
Pass the the working directory to docker when execute cli cronjob.
ex: docker exec -w /var/www/kbd/ docker_name /var/www/kbd/cli cronjob
But I don't know if there's any side effects...

Request

Great Theme!!

Feature Request

Adding options to the theme settings:

  • Custom fonts from google cdn.
  • Update to the latest Font Awesome.
  • Alternate between Font Awesome & Google Material Icons.

[非bug] 功能和使用方法咨询

很高兴又看到简中用户使用kanboard,有看到作者的kanboard已经是生产力阶段,并且和我们公司的业务流程有点像

不知道作者有没有使用自动动作,就是自动变颜色,自动移动栏位的,能否分享下... 我们这里自动动作一直设置不好(特别是跨部门的)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.