From: Ben H. <bdv...@us...> - 2010-12-20 12:44:00
|
Update of /cvsroot/stack/stack-dev/lib/ui In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv27375/lib/ui Modified Files: report.php report.css Log Message: Made a simplified interface, it has minimal amounts of JS in it but provides almost the same amount of information as the interactive interface. Index: report.css =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/ui/report.css,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** report.css 30 Sep 2010 16:56:15 -0000 1.2 --- report.css 20 Dec 2010 12:43:50 -0000 1.3 *************** *** 76,82 **** } ! .listTable { height: 250px; ! } .dataTables_info { --- 76,82 ---- } ! /*.listTable { height: 250px; ! }*/ .dataTables_info { Index: report.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/ui/report.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** report.php 24 Nov 2010 16:44:25 -0000 1.13 --- report.php 20 Dec 2010 12:43:50 -0000 1.14 *************** *** 79,101 **** echo '<h1>Select a report type</h1>'; ! /*echo ' <div class="section"> <h3>Interactive report</h3> <p> <a href="report.php?type=interactive"><button >Load the interactive interface</button></a> </p> </div>'; */ - echo '<form action="report.php?type=question" method="post">' - . $report->questionFilterInterface($_REQUEST) - . '</form>'; ! echo '<form action="report.php?type=student" method="post">' ! . $report->studentFilterInterface($_REQUEST) ! . '</form>'; ! /* ! echo '<form action="report.php?type=simple" method="post">' ! . $report->simpleInterface($_REQUEST) ! . '<input type="submit" value"submit" />' ! . '</form>'; */ } ?> --- 79,105 ---- echo '<h1>Select a report type</h1>'; + + echo $report->simpleInterface(); ! /* ! // Interactive link hidden whilst under development ! ! echo ' <div class="section"> <h3>Interactive report</h3> <p> <a href="report.php?type=interactive"><button >Load the interactive interface</button></a> </p> </div>'; */ ! /* Old interfaces, very likely no longer working. ! ! echo '<form action="report.php?type=question" method="post">' ! . $report->questionFilterInterface($_REQUEST) ! . '</form>'; ! ! echo '<form action="report.php?type=student" method="post">' ! . $report->studentFilterInterface($_REQUEST) ! . '</form>'; */ + } ?> |