summaryrefslogtreecommitdiffstats
path: root/app/view/datalsts.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/datalsts.php')
-rw-r--r--app/view/datalsts.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/view/datalsts.php b/app/view/datalsts.php
index 16df7d7..b0564b3 100644
--- a/app/view/datalsts.php
+++ b/app/view/datalsts.php
@@ -15,6 +15,8 @@
namespace datalsts;
require_once "class/obj.class.php";
+require_once "class/stage.class.php";
+require_once "class/issue.class.php";
?>
<?php function objHeadCircle(\obj $obj, int $height) : void { ?>
@@ -111,3 +113,38 @@ require_once "class/obj.class.php";
</a>
<?php } ?>
+<?php function stageListItem(\stage $s) : void { ?>
+
+ <div class="panel panel-default">
+ <h2 class="text-center"><?=$s->name?></h2>
+
+ <table class="table table-hover">
+ <?php foreach ($s->getIssues_ordByDueByNumb() as $i) { ?>
+ <?=issueListItem($i)?>
+ <?php } ?>
+ </table>
+ </div>
+
+<?php } ?>
+<?php function issueListItem(\issue $i) : void { ?>
+
+ <tr class="issueListItem" data-guid="<?=$i->guid?>">
+ <!-- TODO -->
+ <td class="col-md-2"><?=$i->guid?> (#<?=$i->numb?>)</td>
+ <td class="col-md-5"><?=$i->name?></td>
+ <td class="col-md-3"><?=objHeadCircle(\user::getCurrent(), 32)?>TODO HEADS</td>
+
+ <td class="col-md-2">
+ <div class="btn-group">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-circle-arrow-up"></span>
+ </button>
+
+ <button type="button" class="btn btn-success">
+ <span class="glyphicon glyphicon-ok"></span>
+ </button>
+ </div>
+ </td>
+ </tr>
+
+<?php } ?>