mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-02-15 11:48:40 +00:00
Fix #13
This commit is contained in:
parent
4101314b3f
commit
fce6c5d367
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Kanban",
|
"name": "Kanban",
|
||||||
"uri": "{/base}/{/lang}/backend/kanban/dashboard?{?}",
|
"uri": "/{/lang}/backend/kanban/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 45,
|
"order": 45,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Boards",
|
"name": "Boards",
|
||||||
"uri": "{/base}/{/lang}/backend/kanban/dashboard?{?}",
|
"uri": "/{/lang}/backend/kanban/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Archive",
|
"name": "Archive",
|
||||||
"uri": "{/base}/{/lang}/backend/kanban/archive?{?}",
|
"uri": "/{/lang}/backend/kanban/archive?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 2,
|
"order": 2,
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Create",
|
"name": "Create",
|
||||||
"uri": "{/base}/{/lang}/backend/kanban/create?{?}",
|
"uri": "/{/lang}/backend/kanban/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 3,
|
"order": 3,
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
{
|
{
|
||||||
/** @var Head $head */
|
/** @var Head $head */
|
||||||
$head = $response->get('Content')->getData('head');
|
$head = $response->get('Content')->getData('head');
|
||||||
$head->addAsset(AssetType::CSS, $request->getUri()->getBase() . 'Modules/Kanban/Theme/Backend/css/styles.css');
|
$head->addAsset(AssetType::CSS, '/Modules/Kanban/Theme/Backend/css/styles.css');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ $columns = $board->getColumns();
|
||||||
<div id="kanban-column-<?= $this->printHtml($i); ?>" class="col-xs-12 col-sm-3" draggable="true">
|
<div id="kanban-column-<?= $this->printHtml($i); ?>" class="col-xs-12 col-sm-3" draggable="true">
|
||||||
<header><?= $this->printHtml($column->getName()); ?></header>
|
<header><?= $this->printHtml($column->getName()); ?></header>
|
||||||
<?php $j = 0; foreach ($cards as $card) : $j++; $labels = $card->getLabels(); ?>
|
<?php $j = 0; foreach ($cards as $card) : $j++; $labels = $card->getLabels(); ?>
|
||||||
<a href="<?= $this->printHtml(\phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/kanban/card?{?}&id=' . $card->getId())); ?>">
|
<a href="<?= $this->printHtml(\phpOMS\Uri\UriFactory::build('/{/lang}/backend/kanban/card?{?}&id=' . $card->getId())); ?>">
|
||||||
<section id="kanban-card-<?= $this->printHtml($i . '-' . $j); ?>" class="box wf-100" draggable="true">
|
<section id="kanban-card-<?= $this->printHtml($i . '-' . $j); ?>" class="box wf-100" draggable="true">
|
||||||
<header><h1><?= $this->printHtml($card->getName()); ?></h1></header>
|
<header><h1><?= $this->printHtml($card->getName()); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php foreach ($boards as $board) : ?>
|
<?php foreach ($boards as $board) : ?>
|
||||||
<div class="col-xs-12 col-sm-6 col-lg-3">
|
<div class="col-xs-12 col-sm-6 col-lg-3">
|
||||||
<a href="<?= $this->printHtml(\phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/kanban/board?{?}&id=' . $board->getId())); ?>">
|
<a href="<?= $this->printHtml(\phpOMS\Uri\UriFactory::build('/{/lang}/backend/kanban/board?{?}&id=' . $board->getId())); ?>">
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->printHtml($board->getName()); ?></h1></header>
|
<header><h1><?= $this->printHtml($board->getName()); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user