From b5de18337a148017f5d3bfa101ee4cc25f2dee98 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Tue, 5 Aug 2014 14:37:09 +0200 Subject: Add help button. Add a help button to the parameter field to get more information about the selected command and especially about the parameter needed for the command to be properly executed. The help appears in a modal dialog whose content is updated when a command is selected. --- index.php | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 78672a4..b78699d 100644 --- a/index.php +++ b/index.php @@ -71,8 +71,15 @@ final class LookingGlass { private function render_parameters() { print '
'; - print ''; + print ''; + print '
'; print ''; + print '
'; + print ''; + print '
'; + print '
'; print '
'; } @@ -181,6 +188,28 @@ final class LookingGlass { print ''; } + private function render_help_modal() { + print ''; + } + public function render() { print ''; print ''; @@ -199,8 +228,10 @@ final class LookingGlass { $this->render_header(); $this->render_content(); $this->render_footer(); + $this->render_help_modal(); print ''; print ''; + print ''; print ''; print ''; } -- cgit v1.2.3