? hosting/hosting_html_changes_1.patch
Index: hosting/hosting.css
===================================================================
RCS file: /cvs/drupal/contributions/modules/hosting/hosting.css,v
retrieving revision 1.9
diff -u -p -r1.9 hosting.css
--- hosting/hosting.css	21 Oct 2008 19:32:47 -0000	1.9
+++ hosting/hosting.css	22 Oct 2008 08:53:26 -0000
@@ -2,26 +2,36 @@
  *  Overview 
  */
 
-#hosting-platform-info, #hosting-site-info {
+#hosting-platform-info, #hosting-site-info, #hosting-task-info {
   float:left;
   width:35%;
   padding: 2% 5%;
-  margin:30px 0;
+  margin:25px 0;
   background:#F1F1F1;
   border:solid 3px #CCC;
 }
 
-#hosting-platform-info label, #hosting-site-info label {
+#hosting-task-info {
+  float:none;
+  width:auto;
+}
+
+#hosting-task-info .form-item {
+  float:left;
+  margin:0 3em  0 0;
+}
+
+#hosting-platform-info label, #hosting-site-info label, #hosting-task-info label {
   float:left;
   margin:0 5px 0 0;
 }
 
-#hosting-recent-tasks, #hosting-task-list {
+#hosting-task-list {
   width:49%;
   float:right;
 }
 
-#hosting-recent-tasks label, #hosting-site-list label, #hosting-task-list label {
+#hosting-site-list label {
   font-size:1.4em;
   margin:0.5em 0 0;
   font-weight:normal;
@@ -31,12 +41,12 @@
   clear:both;
 }
 
-#hosting-site-list table, #hosting-recent-tasks table, #hosting-task-list table {
+table.hosting-table {
   border:solid 1px #F1F1F1;
   border-bottom:solid 1px #F1F1F1;
 }
 
-#hosting-site-list table th, #hosting-recent-tasks table th, #hosting-task-list table th {
+table.hosting-table th {
   border:solid 1px #808080;
   border-bottom-width: 2px;
   border-bottom-color: #333333;
@@ -47,15 +57,15 @@
   color:#FFF;
 }
 
-#hosting-site-list table th a, #hosting-recent-tasks table th a, #hosting-task-list table th a {
+table.hosting-table th a {
   color:#FFF;
 }
 
-#hosting-site-list table tr, #hosting-recent-tasks table tr, #hosting-task-list table tr {
+table.hosting-table tr {
   border-color:#CCC !important;
 }
 
-#hosting-site-list table td, #hosting-recent-tasks table td, #hosting-task-list table td {
+table.hosting-table td {
   padding:5px 5px 5px 10px;
   margin:3px 2px;
   border-left:solid 1px #F1F1F1;
Index: hosting/platform/hosting_platform.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/hosting/platform/hosting_platform.module,v
retrieving revision 1.19
diff -u -p -r1.19 hosting_platform.module
--- hosting/platform/hosting_platform.module	21 Oct 2008 20:54:07 -0000	1.19
+++ hosting/platform/hosting_platform.module	22 Oct 2008 08:53:26 -0000
@@ -208,9 +208,8 @@ function hosting_platform_view($node, $t
   if ($node->nid) {
     $node->content['tasks_view'] = array(
       '#type' => 'item',
-      '#title' => t("Recent tasks"),
       '#value' => hosting_task_list("rid", $node->nid),
-      '#prefix' => '<div id="hosting-recent-tasks">',
+      '#prefix' => '<div id="hosting-task-list">',
       '#suffix' => '</div>',
       '#weight' => -6
     );
Index: hosting/site/hosting_site.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/hosting/site/hosting_site.module,v
retrieving revision 1.30
diff -u -p -r1.30 hosting_site.module
--- hosting/site/hosting_site.module	21 Oct 2008 19:32:47 -0000	1.30
+++ hosting/site/hosting_site.module	22 Oct 2008 08:53:26 -0000
@@ -366,7 +366,6 @@ function hosting_site_view(&$node, $teas
   if ($node->nid) { 
     $node->content['tasks_view'] = array(
       '#type' => 'item',
-      '#title' => t("Tasks"),
       '#value' => hosting_task_list('rid', $node->nid),
       '#prefix' => '<div id="hosting-task-list">',
       '#suffix' => '</div>', 
@@ -512,7 +511,7 @@ function hosting_site_list($filter_by = 
     $rows[] = array('data' => $row, 'class' => _hosting_site_list_class($node->status));
   }
   
-  return theme('table',  $header, $rows) . theme('pager', null, 25, 1);
+  return theme('table',  $header, $rows, array('class' => 'hosting-table')) . theme('pager', null, 25, 1);
 }
 
 function _hosting_site_list_class($status) {
Index: hosting/task/hosting_task.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/hosting/task/hosting_task.module,v
retrieving revision 1.23
diff -u -p -r1.23 hosting_task.module
--- hosting/task/hosting_task.module	21 Oct 2008 13:52:05 -0000	1.23
+++ hosting/task/hosting_task.module	22 Oct 2008 08:53:26 -0000
@@ -329,8 +329,7 @@ function hosting_task_view($node, $tease
     l(t('Home'), NULL), 
     l($ref->title, 'node/' . $ref->nid)
   ));
-  $node->content['#prefix'] = '<div class="hosting-task-fields">';
-  $node->content['#suffix'] = '</div>';
+  $node->content['#prefix'] = '<div id="hosting-task-info" class="clear-block">';
   $node->content['reference'] = array(
     '#type' => 'item',
     '#title' => drupal_ucfirst($ref->type),
@@ -378,7 +377,7 @@ function hosting_task_view($node, $tease
       $node->content['hosting_log'] = array(
         '#weight' => 1,
         '#type' => 'item',
-        '#title' => t('Log'),
+        '#prefix' => '</div>',
         '#value' => $table
       );
     }
@@ -392,7 +391,7 @@ function hosting_task_view($node, $tease
 function _hosting_task_log_table($vid) {
   $result = db_query("SELECT * FROM {hosting_task_log} WHERE vid=%d", $vid);
   if (db_num_rows($result)) {
-    $header = array("");
+    $header = array('data' => 'Log message');
     while ($entry = db_fetch_object($result)) {
       if (strlen($entry->message) > 300) {
         $summary = "<span class='hosting-task-summary'>" . filter_xss(substr($entry->message, 0, 75), array()) . "... <a href='javascript:void(0)' class='hosting-summary-expand'>(" . t('Expand') . ')</a></span>';
@@ -405,7 +404,7 @@ function _hosting_task_log_table($vid) {
       $rows[] = array('data' => $row, 'class' => _hosting_task_log_class($entry->type));
     }
 
-    return theme("table", $header, (array) $rows, array('id' => 'hosting-task-log'));
+    return theme("table", $header, (array) $rows, array('id' => 'hosting-task-log', 'class' => 'hosting-table'));
   }
 
   return false; 
@@ -505,7 +504,7 @@ function hosting_task_list($filter_by = 
     $rows[] = array('data' => $row, 'class' => _hosting_task_list_class($node->task_status));
   }
   
-  return theme('table', array(t('Task'), t('Created')), $rows) . theme('pager', NULL, 5, 0);
+  return theme('table', array(t('Task'), t('Created')), $rows, array('class' => 'hosting-table')) . theme('pager', NULL, 5, 0);
 
 }
 
