summaryrefslogtreecommitdiffstats
path: root/app/view/pad.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-09-20 01:07:35 -0400
committerMalf Furious <m@lfurio.us>2018-09-20 01:07:35 -0400
commit694f876bc8655bc00f3a4ae3d650e54d947ea42a (patch)
tree32da0bae970a3464bb3f0bfb37e65d140984da54 /app/view/pad.php
parentd16ddc164b82c594680359841eeeaa1e26aceaa1 (diff)
downloadscrott-694f876bc8655bc00f3a4ae3d650e54d947ea42a.tar.gz
scrott-694f876bc8655bc00f3a4ae3d650e54d947ea42a.zip
Add start of single-pad view
Diffstat (limited to 'app/view/pad.php')
-rw-r--r--app/view/pad.php50
1 files changed, 50 insertions, 0 deletions
diff --git a/app/view/pad.php b/app/view/pad.php
new file mode 100644
index 0000000..82ee84f
--- /dev/null
+++ b/app/view/pad.php
@@ -0,0 +1,50 @@
+<?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";
+
+?>
+
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <?=stdpage\head( getPageName() )?>
+ </head>
+
+ <body>
+ <?=stdpage\top()?>
+ <?=stdpage\nav()?>
+
+ <div class="container">
+ <div class="well well-lg">
+ <div class="row">
+ <div class="col-md-12">
+ <h1>
+ <?=datalsts\objHeadCircle($pad, 100)?>
+ <?=$pad->name?>
+ </h1>
+ </div>
+ </div>
+ </div>
+
+ <?php foreach ($stages as $s) { ?>
+ <?=datalsts\stageListItem($s)?>
+ <?php } ?>
+ </div>
+
+ <?=stdpage\foot()?>
+ </body>
+</html>