better layout on the dashboard
authorToby Elliott <telliott@mozilla.com>
Mon, 27 Jul 2009 10:32:42 -0700
changeset 1100 37f3e5384e1f788276dad67e9ec6eb4eef66f937
parent 1099 aa802b94dbebb9c5e64d2bdd387634bea0fd5a42
child 1101 23cc8f8e5b47a36332d510c53acc655e609d1ba7
push id716
push usertelliott@mozilla.com
push dateMon, 27 Jul 2009 17:32:45 +0000
better layout on the dashboard
server/admin/dashboard.php
--- a/server/admin/dashboard.php
+++ b/server/admin/dashboard.php
@@ -82,33 +82,31 @@
 <body class="admin">
     <div id="outer-wrapper">
         <div id="inner-wrapper">
 <?php include '../templates/nav.php'; ?>
 
 <div id="status">
     <h2>Personas Status</h2>
 
-    <div id="stats">
-        <p><strong>Total Active Personas:</strong> <?= $total ?></p>
-        <p><strong>New Pending Personas:</strong> <a href="pending.php" target="_blank"><?= $pending ?></a></p>
-        <p><strong>Personas Awaiting Edit Approval:</strong> <a href="editing.php" target="_blank"><?= $edits ?></a></p>
-    </div>
-    
-    <div id="log">
+    <div id="log" style="float:right">
         <h3>Recent admin activity</h3>
         <ul>
             <?php foreach($logs as $log): 
             	$log_url = substr($log['action'], 0, 8) == 'Rejected' ? ('/admin/pending.php?id=' .  $log['id']) :  ('/persona/' . $log['id']);
             ?>
                 <li>(<a href="dashboard.php?log_user=<?=$log['username']; ?>"><?= $log['username'] ?></a>) <a href="<?= $log_url ?>"><?= $log['name'] ?></a>: <?=$log['action'];?> </li>
             <?php endforeach; ?>
         </ul>
     </div>
-</div>
+    <div>
+        <p><strong>Total Active Personas:</strong> <?= $total ?></p>
+        <p><strong>New Pending Personas:</strong> <a href="pending.php" target="_blank"><?= $pending ?></a></p>
+        <p><strong>Personas Awaiting Edit Approval:</strong> <a href="editing.php" target="_blank"><?= $edits ?></a></p>
+    
 
 <p>
 
 <p><hr><p>
 <a href="/store/dynamic/gallery/All/" target="_blank">Edit/Pull Personas</a>
 <?php
 	if ($user->has_admin_privs())
 	{
@@ -236,12 +234,12 @@ Flush memcache value: <input type=text n
 			}
 			echo "</table>";
 		}
 		
 		
 
 	}
 ?>
-</div></div>
+</div></div></div></div>
 <?php include '../templates/footer.php'; ?>
 </body>
 </html>