mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
Fix absolute path to relative paths
This commit is contained in:
parent
99d795a7df
commit
105bcf51a6
|
|
@ -5,7 +5,7 @@
|
|||
"type": 1,
|
||||
"subtype": 1,
|
||||
"name": "Tasks",
|
||||
"uri": "/{/lang}/backend/task/dashboard?{?}",
|
||||
"uri": "{/lang}/backend/task/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": "fa fa-bolt",
|
||||
"order": 15,
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "List",
|
||||
"uri": "/{/lang}/backend/task/dashboard?{?}",
|
||||
"uri": "{/lang}/backend/task/dashboard?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"type": 0,
|
||||
"subtype": 1,
|
||||
"name": "Tasks",
|
||||
"uri": "/{/lang}/backend/task/single?{?}",
|
||||
"uri": "{/lang}/backend/task/single?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "/{/lang}/backend/task/create?{?}",
|
||||
"uri": "{/lang}/backend/task/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 10,
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Analysis",
|
||||
"uri": "/{/lang}/backend/task/analysis?{?}",
|
||||
"uri": "{/lang}/backend/task/analysis?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 20,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<tfoot>
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($this->tasks as $key => $task) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/single?{?}&id=' . $task->getId());
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/task/single?{?}&id=' . $task->getId());
|
||||
$color = 'darkred';
|
||||
if ($task->getStatus() === \Modules\Tasks\Models\TaskStatus::DONE) { $color = 'green'; }
|
||||
elseif ($task->getStatus() === \Modules\Tasks\Models\TaskStatus::OPEN) { $color = 'darkblue'; }
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<header><h1><?= $this->getHtml('Task') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form id="fTask" method="PUT" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task?{?}&csrf={$CSRF}'); ?>">
|
||||
<form id="fTask" method="PUT" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/task?{?}&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100" style="table-layout: fixed">
|
||||
<tbody>
|
||||
<tr><td><label for="iReceiver"><?= $this->getHtml('To') ?></label>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tfoot>
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($tasks as $key => $task) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/single?{?}&id=' . $task->getId());
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/task/single?{?}&id=' . $task->getId());
|
||||
$color = 'darkred';
|
||||
if ($task->getStatus() === TaskStatus::DONE) { $color = 'green'; }
|
||||
elseif ($task->getStatus() === TaskStatus::OPEN) { $color = 'darkblue'; }
|
||||
|
|
@ -65,7 +65,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Settings') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form id="iTaskInterval" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/dashboard?{?}') ?>" method="post">
|
||||
<form id="iTaskInterval" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/task/dashboard?{?}') ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tr><td><label for="iIntervarl"><?= $this->getHtml('Interval') ?></label>
|
||||
<tr><td><select id="iIntervarl" name="interval">
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<section class="box wf-100">
|
||||
<div class="inner">
|
||||
<form id="taskElementCreate" method="PUT" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
|
||||
<form id="taskElementCreate" method="PUT" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100" style="table-layout: fixed">
|
||||
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
||||
<tr><td><?= $this->getData('editor')->render('task-editor'); ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user