moving smaller things inside the main container
authorCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 18:46:35 +0000 (18:46 +0000)
committerCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 18:46:35 +0000 (18:46 +0000)
src/webgit.c

index 03b2d2d..758f7da 100644 (file)
@@ -222,29 +222,31 @@ main (int argc, char**argv)
                                              html (
                                                    html (
                                                          html_tag("div",
                                              html (
                                                    html (
                                                          html_tag("div",
-                                                               html_attr("id", "container")
-                                                                ),
-                                                         content
+                                                                                                                                 html_attr("id", "container")
+                                                                                                                                 ),
+                                                         content,
+                                                                                                                html_tag("div",
+                                                                                                                                 html_attr("id", "errors")
+                                                                                                                                 ),
+                                                                                                                error_log
+
                                                          ),
                                                          ),
-                                                   html(
-                                                        html_tag("div"),
-                                                        error_log
-                                                        )
+
                                                    ),
                                              html_attr("xmlns", "http://www.w3.org/1999/xhtml"),
                                              html_attr("xml:lang", "en"),
                                              html_attr("lang", "en")
                                                    ),
                                              html_attr("xmlns", "http://www.w3.org/1999/xhtml"),
                                              html_attr("xml:lang", "en"),
                                              html_attr("lang", "en")
-                                             ),
-                                                               timestat = clock() - timestat;
-                                                               html_list_append (error_log, html (
-                                                                                                                                  html_tag("div", html_attr ("id", "timestat")),
-                                                                                                                                  html_fmt ("processing took %g secs\n", timestat/(float)CLOCKS_PER_SEC)
-                                         
-                                                                                                                                  )
-                                                                                                 );
+                                             )
                                 )
                   );
 
                                 )
                   );
 
+      timestat = clock() - timestat;
+      html_list_append (error_log, html (
+                                         html_tag("div", html_attr ("id", "timestat")),
+                                                                                html_fmt ("processing took %g secs\n", timestat/(float)CLOCKS_PER_SEC)
+                                         
+                                         )
+                        );
 
 
     }
 
 
     }