blob: 4408df293646178ea812027c0274d5af4b3125fc (
plain) (
tree)
|
|
<?php
/*
* SCROTT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* For more information, please refer to UNLICENSE
*/
require_once "model/pad.php";
require_once "view/stdpage.php";
require_once "view/datalsts.php";
require_once "view/issue.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?=stdpage\head( getPageName() )?>
</head>
<body>
<?php foreach ($issues as $i) { ?>
<?=issue_v\issue($i)?>
<?php } ?>
<?=stdpage\top()?>
<?=stdpage\nav()?>
<div class="container">
<div class="well well-lg">
<div class="row">
<div class="col-md-12">
<h1>
<span class="glyphicon glyphicon-edit"></span>
<?=$pad->name?>
<div class="btn-group">
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#newIssueModal">
<span class="glyphicon glyphicon-plus"></span> Open Issue
</button>
<a href="<?=ap()?>/closed" class="btn btn-default">
View closed issues
</a>
</div>
</h1>
<h5>
<span class="glyphicon <?=$owner_glyph?>"></span>
<a href="<?=ar()?>/<?=$owner_url?>">
<?=$owner_name?>
</a>
</h5>
</div>
</div>
</div>
<?php foreach ($stages as $s) { ?>
<?=datalsts\stageListItem($s)?>
<?php } ?>
</div>
<?=stdpage\foot()?>
</body>
</html>
|