mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-04 17:58:40 +00:00
prepare for advanced dropdown input tests
This commit is contained in:
parent
e3c47482cc
commit
cd30fbe9c2
|
|
@ -82,7 +82,7 @@ final class BackendController extends Controller
|
|||
$view->setTemplate('/Modules/Tasks/Theme/Backend/dashboard-task');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1001101001, $request, $response));
|
||||
|
||||
$taskListView = new \Modules\Tasks\Theme\Backend\Components\Tasks\BaseView($this->app, $request, $response);
|
||||
$taskListView = new \Modules\Tasks\Theme\Backend\Components\Tasks\ListView($this->app, $request, $response);
|
||||
$taskListView->setTemplate('/Modules/Tasks/Theme/Backend/Components/Tasks/list');
|
||||
$view->addData('tasklist', $taskListView);
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ use phpOMS\Views\View;
|
|||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class BaseView extends View
|
||||
class ListView extends View
|
||||
{
|
||||
protected $tasks = [];
|
||||
|
||||
0
Theme/Backend/Components/Tasks/PriorityView.php
Normal file
0
Theme/Backend/Components/Tasks/PriorityView.php
Normal file
0
Theme/Backend/Components/Tasks/StatusView.php
Normal file
0
Theme/Backend/Components/Tasks/StatusView.php
Normal file
0
Theme/Backend/Components/Tasks/priority.tpl.php
Normal file
0
Theme/Backend/Components/Tasks/priority.tpl.php
Normal file
15
Theme/Backend/Components/Tasks/status.tpl.php
Normal file
15
Theme/Backend/Components/Tasks/status.tpl.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<div class="ipt-wrap">
|
||||
<div class="ipt-first">
|
||||
<span class="input">
|
||||
<div class="advancedSelect" id="<?= $this->printHtml($this->getId()); ?>"
|
||||
data-search="true"
|
||||
data-multiple="false"
|
||||
data-src="api/admin/find/accgrp?search={#i<?= $this->printHtml($this->getId()); ?>}">
|
||||
<template><!-- Template for the selected element --></template>
|
||||
</div>
|
||||
<div id="<?= $this->printHtml($this->getId()); ?>-dropdown" class="dropdown" data-active="true">
|
||||
<template class="rowTemplate"><!-- Template for remote data or data manually to be added --></template>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user