Coder Social home page Coder Social logo

greyaz / themerevision Goto Github PK

View Code? Open in Web Editor NEW
47.0 4.0 6.0 13.55 MB

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

License: MIT License

CSS 48.47% JavaScript 3.11% PHP 48.42%
dark-theme theme kanboard mobile plugin kanboard-theme

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

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

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

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.

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.

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

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

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

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

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

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

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...

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!

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.