From 679ab64e465f610ae70aff8a1b491191863f7033 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Fri, 1 Apr 2016 00:56:34 -0400 Subject: Update setting modal, user tab to display user head image Also restructured the web form a little and added the form-group to select a new image to upload --- app/view/common/setting.modal.view.php | 47 ++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 11 deletions(-) (limited to 'app/view') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 11adc69..2415e18 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -27,21 +27,46 @@

 

- getCurrentUser()->admin == 1) { ?> -

getCurrentUser()->getDisplayName()?> is a Scrott Administrator

- -
-
- - + +
+
+ getCurrentUser()->admin == 1) { ?> +

getCurrentUser()->getDisplayName()?> is a Scrott Administrator

+ + +
+ + +
+ +
+ +
+
+ +
+ <?=$mod->getCurrentUser()->getDisplayName()?> +
+
+ +
+ +
-
- +
+
+ + +
-- cgit v1.2.3 From 0ad5c4d29ca5d4109a7fe33cdfc9b8e6b01ace6b Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 4 Apr 2016 23:35:23 -0400 Subject: Add view markup for showing user head images to the all users collapse panes --- app/view/common/setting.modal.view.php | 38 +++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'app/view') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 2415e18..19bcf5c 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -223,15 +223,39 @@ -
- - +
+
+
+ + +
+ +
+ +
+
+ +
+ <?=$user->getDisplayName()?> +
+
+ +
+ +
-
- +
+
+ + +
-- cgit v1.2.3 From 423fa09e3f524c8139d18c3e8652f542bcf2cd44 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 27 Apr 2016 23:38:49 -0400 Subject: Update form handler for common/setting-modal, user tab Now supports file upload to replace the user's head image --- app/view/common/setting.modal.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 19bcf5c..1d7951a 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -27,7 +27,7 @@

 

- +
@@ -65,7 +65,7 @@
- +
-- cgit v1.2.3 From be1a82affdaa1e87015a0a49979e9230cdc61b4d Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 30 Apr 2016 16:18:24 -0400 Subject: Update form handler for common/setting-modal, all users tab Now supports file upload to replace the user's head image --- app/view/common/setting.modal.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 1d7951a..369a789 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -219,7 +219,7 @@
- + @@ -254,7 +254,7 @@
- +
-- cgit v1.2.3 From 519035a6eb28dd36ce898a80d652c08138b110c5 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 30 Apr 2016 20:18:10 -0400 Subject: Add global javascript file scrott.js Included initial function assertConfirm(), function to present user an "Are you sure?" prompt before submitting a web form. --- app/view/master/foot.view.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/view') diff --git a/app/view/master/foot.view.php b/app/view/master/foot.view.php index 6220f89..c749ad0 100644 --- a/app/view/master/foot.view.php +++ b/app/view/master/foot.view.php @@ -1,5 +1,6 @@ + isError() || $mod->isWarning() || $mod->isNotice()) { ?>