mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-01-11 15:48:41 +00:00
Case fix!
This commit is contained in:
parent
85d6824831
commit
e82b1d6953
18
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
18
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
'ProjectManagement' => 'Project Management',
|
||||
];
|
||||
17
Theme/Backend/Lang/api.en.lang.php
Normal file
17
Theme/Backend/Lang/api.en.lang.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG[1] = [
|
||||
];
|
||||
38
Theme/Backend/Lang/en.lang.php
Normal file
38
Theme/Backend/Lang/en.lang.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['ProjectManagement'] = [
|
||||
'Active' => 'Active',
|
||||
'Budget' => 'Budget',
|
||||
'Canceled' => 'Canceled',
|
||||
'Created' => 'Created',
|
||||
'Creator' => 'Creator',
|
||||
'Description' => 'Description',
|
||||
'Due' => 'Due',
|
||||
'Files' => 'Files',
|
||||
'Finished' => 'Finished',
|
||||
'Hold' => 'Hold',
|
||||
'Inactive' => 'Inactive',
|
||||
'Manager' => 'Manager',
|
||||
'Name' => 'Name',
|
||||
'Other' => 'Other',
|
||||
'Project' => 'Project',
|
||||
'Projects' => 'Projects',
|
||||
'Responsibility' => 'Responsibility',
|
||||
'Start' => 'Start',
|
||||
'Status' => 'Status',
|
||||
'Title' => 'Title',
|
||||
'UserGroup' => 'User/Group',
|
||||
];
|
||||
52
Theme/Backend/projectmanagement-create.tpl.php
Normal file
52
Theme/Backend/projectmanagement-create.tpl.php
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-50">
|
||||
<h1><?= $this->l11n->lang['ProjectManagement']['Project']; ?></h1>
|
||||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout wf-100">
|
||||
<tr><td colspan="3"><label for="iName"><?= $this->l11n->lang['ProjectManagement']['Name']; ?></label>
|
||||
<tr><td colspan="2"><input type="text" id="iName" name="name" placeholder="" required><td>
|
||||
<tr><td colspan="3"><label for="iDescription"><?= $this->l11n->lang['ProjectManagement']['Description']; ?></label>
|
||||
<tr><td colspan="2"><textarea id="iDescription" name="description"></textarea><td>
|
||||
<tr><td colspan="3"><label for="iStatus"><?= $this->l11n->lang['ProjectManagement']['Status']; ?></label>
|
||||
<tr><td colspan="2"><select id="iStatus" name="status">
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::ACTIVE ?>"><?= $this->l11n->lang['ProjectManagement']['Active']; ?>
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::INACTIVE ?>"><?= $this->l11n->lang['ProjectManagement']['Inactive']; ?>
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::FINISHED ?>"><?= $this->l11n->lang['ProjectManagement']['Finished']; ?>
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::CANCELED ?>"><?= $this->l11n->lang['ProjectManagement']['Canceled']; ?>
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectStatus::HOLD ?>"><?= $this->l11n->lang['ProjectManagement']['Hold']; ?>
|
||||
</select><td>
|
||||
<tr><td colspan="3"><label for="iFiles"><?= $this->l11n->lang['ProjectManagement']['Files']; ?></label>
|
||||
<tr><td colspan="2"><input type="file" id="iFiles" name="file" multiple><td>
|
||||
<tr><td colspan="3"><label for="iBudget"><?= $this->l11n->lang['ProjectManagement']['Budget']; ?></label>
|
||||
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder=""><td>
|
||||
<tr><td><label for="iDue"><?= $this->l11n->lang['ProjectManagement']['Start']; ?></label><td><label for="iDue"><?= $this->l11n->lang['ProjectManagement']['Due']; ?></label><td>
|
||||
<tr><td><input type="datetime-local" id="iDue" name="due"><td><input type="datetime-local" id="iDue" name="due"><td>
|
||||
<tr><td><label for="iResponsibility"><?= $this->l11n->lang['ProjectManagement']['Responsibility']; ?></label><td><label for="iUser"><?= $this->l11n->lang['ProjectManagement']['UserGroup']; ?></label><td>
|
||||
<tr><td><select id="iStatus" name="status">
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectResponsibility::MANAGER ?>"><?= $this->l11n->lang['ProjectManagement']['Manager']; ?>
|
||||
<option value="<?= \Modules\ProjectManagement\Models\ProjectResponsibility::OTHER ?>"><?= $this->l11n->lang['ProjectManagement']['Other']; ?>
|
||||
</select>
|
||||
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->l11n->lang[0]['Add']; ?></button>
|
||||
<tr><td colspan="3"><input type="submit" value="<?= $this->l11n->lang[0]['Create']; ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
43
Theme/Backend/projectmanagement-list.tpl.php
Normal file
43
Theme/Backend/projectmanagement-list.tpl.php
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
|
||||
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
|
||||
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||
$footerView->setPages(20);
|
||||
$footerView->setPage(1);
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->lang['ProjectManagement']['Projects'] ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->lang['ProjectManagement']['Status']; ?>
|
||||
<td class="wf-100"><?= $this->l11n->lang['ProjectManagement']['Title']; ?>
|
||||
<td><?= $this->l11n->lang['ProjectManagement']['Start']; ?>
|
||||
<td><?= $this->l11n->lang['ProjectManagement']['Due']; ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</section>
|
||||
16
Theme/Backend/projectmanagement-profile.tpl.php
Normal file
16
Theme/Backend/projectmanagement-profile.tpl.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
Loading…
Reference in New Issue
Block a user