From 25eae92b0e85d00b5279752d656f316916c401ea Mon Sep 17 00:00:00 2001 From: cp6 Date: Fri, 22 Jan 2021 11:37:47 +1100 Subject: [PATCH] Added close view more modal & view YABs button Added a close view more modal & view YABs button --- class.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/class.php b/class.php index ad70b9d..19b94f2 100644 --- a/class.php +++ b/class.php @@ -2128,9 +2128,16 @@ class idlers extends helperFunctions $this->tagClose('ul'); $this->tagClose('div', 3); if (file_exists("yabs/{$data['server_id']}.txt")) { - $this->rowColOpen('row', 'col-12 text-center'); + $this->rowColOpen('row text-center', 'col-12 col-md-6'); $this->outputString('View YABs'); - $this->tagClose('div', 2); + $this->tagClose('div'); + $this->colOpen('col-12 col-md-6'); + $this->outputString('Close'); + $this->tagClose('div',2); + } else { + $this->rowColOpen('row text-center', 'col-12'); + $this->outputString('Close'); + $this->tagClose('div',2); } } @@ -2724,6 +2731,9 @@ class idlers extends helperFunctions $this->outputString(file_get_contents("yabs/$item_id.txt")); $this->tagClose('textarea'); $this->tagClose('form'); + $this->rowColOpen('row text-center', 'col-12'); + $this->outputString('Close YABs'); + $this->tagClose('div',2); } }