diff options
author | Malf Furious <m@lfurio.us> | 2018-09-20 01:07:35 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-09-20 01:07:35 -0400 |
commit | 694f876bc8655bc00f3a4ae3d650e54d947ea42a (patch) | |
tree | 32da0bae970a3464bb3f0bfb37e65d140984da54 /app/view/datalsts.php | |
parent | d16ddc164b82c594680359841eeeaa1e26aceaa1 (diff) | |
download | scrott-694f876bc8655bc00f3a4ae3d650e54d947ea42a.tar.gz scrott-694f876bc8655bc00f3a4ae3d650e54d947ea42a.zip |
Add start of single-pad view
Diffstat (limited to 'app/view/datalsts.php')
-rw-r--r-- | app/view/datalsts.php | 37 |
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 } ?> |