[guadec-web] Add a scrollbar to the very large table
- From: Pascal Terjan <pterjan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Add a scrollbar to the very large table
- Date: Thu, 17 Jul 2014 21:21:31 +0000 (UTC)
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]