From d8f7264898d59a261c0e65e525502143259415ad Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 8 Jun 2016 21:29:32 -0400 Subject: Create blank view for groups Finish initializing the Obj MVC by writing an empty view/action for groups. --- app/view/obj/group.view.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/view/obj/group.view.php (limited to 'app/view/obj') diff --git a/app/view/obj/group.view.php b/app/view/obj/group.view.php new file mode 100644 index 0000000..3c0a1cb --- /dev/null +++ b/app/view/obj/group.view.php @@ -0,0 +1,27 @@ + + + + + + + + Scrott - <?=$mod->group->name?> + + + + + + + -- cgit v1.2.3 From 6c9c352c91814775c6b56c43dd4837a8f3718e86 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 8 Jun 2016 23:50:42 -0400 Subject: Start design for group view --- app/view/obj/group.view.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'app/view/obj') diff --git a/app/view/obj/group.view.php b/app/view/obj/group.view.php index 3c0a1cb..734a826 100644 --- a/app/view/obj/group.view.php +++ b/app/view/obj/group.view.php @@ -22,6 +22,26 @@ + +
+
+
+
+

group->name?>

+ <?=$mod->owner->getDisplayName()?> + + members)) { ?> + + + + members as $member) { ?> + <?=$member->getDisplayName()?> + +
+
+
+
+ -- cgit v1.2.3 From 364d84a18de60459a9d2844cd0c13db140c9b3d1 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 9 Jun 2016 20:17:04 -0400 Subject: Remove bootstrap grid structure from group view --- app/view/obj/group.view.php | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'app/view/obj') diff --git a/app/view/obj/group.view.php b/app/view/obj/group.view.php index 734a826..dde4df1 100644 --- a/app/view/obj/group.view.php +++ b/app/view/obj/group.view.php @@ -25,20 +25,16 @@
-
-
-

group->name?>

- <?=$mod->owner->getDisplayName()?> +

group->name?>

+ <?=$mod->owner->getDisplayName()?> - members)) { ?> - - + members)) { ?> + + - members as $member) { ?> - <?=$member->getDisplayName()?> - -
-
+ members as $member) { ?> + <?=$member->getDisplayName()?> +
-- cgit v1.2.3 From 112a510bb7ba358fd4195b5b2f3c8203ab4fb91d Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 11 Jun 2016 00:51:46 -0400 Subject: Rename variable In the Obj MVC, rename group in the model to obj. This will help with referencing the active object from template views without knowing what type of object it is. --- app/view/obj/group.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view/obj') diff --git a/app/view/obj/group.view.php b/app/view/obj/group.view.php index dde4df1..c75995b 100644 --- a/app/view/obj/group.view.php +++ b/app/view/obj/group.view.php @@ -17,7 +17,7 @@ - Scrott - <?=$mod->group->name?> + Scrott - <?=$mod->obj->name?> @@ -25,7 +25,7 @@
-

group->name?>

+

obj->name?>

<?=$mod->owner->getDisplayName()?> members)) { ?> -- cgit v1.2.3 From de8dc835d7442a8bdc47d181ee9385fe7d16209d Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 12 Jun 2016 21:48:37 -0400 Subject: Revert "Rename variable" This reverts commit 112a510bb7ba358fd4195b5b2f3c8203ab4fb91d. Conflicts: app/model/obj.mod.php --- app/view/obj/group.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view/obj') diff --git a/app/view/obj/group.view.php b/app/view/obj/group.view.php index c75995b..dde4df1 100644 --- a/app/view/obj/group.view.php +++ b/app/view/obj/group.view.php @@ -17,7 +17,7 @@ - Scrott - <?=$mod->obj->name?> + Scrott - <?=$mod->group->name?> @@ -25,7 +25,7 @@
-

obj->name?>

+

group->name?>

<?=$mod->owner->getDisplayName()?> members)) { ?> -- cgit v1.2.3