[guadec-web] Add a scrollbar to the very large table



commit ce2f1a5ec774e002cd4cbb2b682fe728de26d0b4
Author: Pascal Terjan <pterjan gmail com>
Date:   Thu Jul 17 21:21:23 2014 +0000

    Add a scrollbar to the very large table

 guadec/access-register.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/guadec/access-register.php b/guadec/access-register.php
index cde9a94..1d83a35 100644
--- a/guadec/access-register.php
+++ b/guadec/access-register.php
@@ -7,6 +7,7 @@ Template Name: Access Registration
 // Restricted Admin Access. View Registration details.
 global $wpdb;
 function display_result($result){
+       echo "<div style='overflow: auto'>";
        echo "<table class='regtable'><tr><th>ID</th><th>Name</th>
                                <th>Irc</th><th>Email</th><th>Gender</th>
                                <th>Arrival</th><th>Departure</th>
@@ -34,7 +35,7 @@ function display_result($result){
                echo "<td>"; echo $results['payment']; echo "</td>";
                echo "</tr>";
        }
-       echo "</table>";
+       echo "</table></div>";
 }
 function display_totals($result){
        $lunches = Array('lunch_saturday' => 0, 'lunch_sunday' => 0, 'lunch_monday' => 0, 'lunch_tuesday' => 
0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]