Skip to content

Kanban project management software on CSS framework Bootstrap 4 for yii2

License

Notifications You must be signed in to change notification settings

vgtechs/yii2-kanban-board

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

KanbanBoard v1.2.2 -- KanbanBoard is project management software that focuses on the Kanban methodology. Based on Bootstrap v4.3.1 CSS framework. It can be used with Yii2 v2.0.16

Installation

There are multiple ways to install KanbanBoard.

####Using The Command Line:

Github

git clone https://github.com/igor162/yii2-kanban-board.git

Composer

composer require "igor162/yii2-kanban-board" "dev-master"

Php code example

<?php
use igor162\KanbanBoard\widgets\KanbanWidget;
use igor162\adminlte\widgets\Box;
use app\widgets\actions\Helper;
use app\modules\task\models\TaskStatus;
use app\modules\task\models\Task;
/* @var $data app\modules\task\models\Task */
/* @var $this yii\web\View */
?>
<?php Box::begin([
    'type' => false,
    'title' => false,
    'footer' => false
]); ?>

<?= KanbanWidget::widget([
    'data' => $data,
    'showAddTask' => KanbanWidget::SHOW_ONE, // KanbanWidget::SHOW_ALL
    'editorURLTaskStatus' => ['task-status/update', 'form' => TaskStatus::FORM_TYPE_AJAX, 'returnUrl' => Helper::getReturnUrl()],
    'addURLTask' => ['task/update', 'form' => TaskStatus::FORM_TYPE_AJAX, 'returnUrl' => Helper::getReturnUrl()],
    'editorURLTask' => ['task/update', 'form' => Task::FORM_TYPE_AJAX, 'returnUrl' => Helper::getReturnUrl()],
    'changeURLTaskAction' => ['menuChangeTaskPosition'],
    'archiveURLTaskAction' => ['task/archive'],
    'editorHeaderStatus' => true,
    'cardFooterMenuItems' => [
        'show_history' => [
            'typeButton' => true,
            'label' => false,
            'icon' => 'oi oi-comment-square mr-1',
            'small' => true,
            'options' => [
                'class' => 'card-footer-item card-footer-item-bordered text-muted',
                'data-toggle' => 'modal',
                'data-target' => '#modalViewTask',
                'draggable' => 'false',
                'title' => 'Operations history',
            ],
        ],
        'set_reminder' => [
            'label' => false,
            'icon' => 'fa fa-history text-teal_kn',
            'small' => false,
            'options' => [
                'class' => 'card-footer-item card-footer-item-bordered text-muted',
                'draggable' => 'false',
                'title' => 'Set Reminder',
            ],
        ],
        'archive' => [
            'label' => false,
            'icon' => 'fa fa-history text-teal_kn',
            'small' => false,
            'options' => [
                'class' => 'card-footer-item card-footer-item-bordered text-muted',
                'draggable' => 'false',
                'title' => 'Archive',
            ],
        ],
    ]
]);
?>

<?php Box::end(); ?>

Plugin example

example.gif

About

Kanban project management software on CSS framework Bootstrap 4 for yii2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 71.2%
  • PHP 28.8%