summaryrefslogtreecommitdiffstats
path: root/app/view/pad_closed.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/pad_closed.php')
-rw-r--r--app/view/pad_closed.php68
1 files changed, 68 insertions, 0 deletions
diff --git a/app/view/pad_closed.php b/app/view/pad_closed.php
new file mode 100644
index 0000000..e11ca84
--- /dev/null
+++ b/app/view/pad_closed.php
@@ -0,0 +1,68 @@
+<?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 ($closed_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?>
+
+ <a href="<?=ar()?>/<?=$pad->guid?>" class="btn btn-default">
+ View open issues
+ </a>
+ </h1>
+ </div>
+ </div>
+ </div>
+
+ <div class="panel panel-default">
+ <?php if (count($closed_issues) == 0) { ?>
+ <h4 class="text-info text-center">No closed issues</h4>
+ <?php } ?>
+
+ <table class="table table-hover">
+ <?php foreach ($closed_issues as $i) { ?>
+ <?=datalsts\issueListItem($i)?>
+ <?php } ?>
+ </table>
+ </div>
+ </div>
+
+ <?=stdpage\foot()?>
+ </body>
+</html>