Edit layout change
authorChristian Thaeter <ct@pipapo.org>
Sun, 10 Feb 2008 03:52:09 +0000 (04:52 +0100)
committerChristian Thaeter <ct@pipapo.org>
Sun, 10 Feb 2008 03:52:09 +0000 (04:52 +0100)
src/edit.c

index 420ca4b..8462703 100644 (file)
@@ -103,7 +103,7 @@ webgit_edit_blob_content_action (struct webgit_repo_info* repo, unsigned char* s
                                        )
                                  ) : html ()
                            ),
-                           html (html_tag ("p"), "Please add a brief summary of the changes you have made:",
+                     html (html_tag ("p"), "Please add a brief summary of the changes you have made:",
                            html (html_tag ("input",
                                            html_attr ("name", "comment"),
                                            html_attr ("type", "text"),
@@ -113,26 +113,6 @@ webgit_edit_blob_content_action (struct webgit_repo_info* repo, unsigned char* s
                                            )
                                  )
                            ),
-                     html (html_tag ("p"),
-                           html (html_tag ("input",
-                                           html_attr ("name", "cancel"),
-                                           html_attr ("type", "submit"),
-                                           html_attr ("value", "Cancel")
-                                           )
-                                 ),
-                           html (html_tag ("input",
-                                           html_attr ("name", "stage"),
-                                           html_attr ("type", "submit"),
-                                           html_attr ("value", "Stage for commit")
-                                           )
-                                 ),
-                           html (html_tag ("input",
-                                           html_attr ("name", "commit"),
-                                           html_attr ("type", "submit"),
-                                           html_attr ("value", "Commit ...")
-                                           )
-                                 )
-                           ),
                      html (html_tag ("p"), "Or"),
                      html ( html_tag ("dl"),
                             html ( html_tag ("dt"), "Upload File:"),
@@ -152,7 +132,27 @@ webgit_edit_blob_content_action (struct webgit_repo_info* repo, unsigned char* s
                                                    )
                                          )
                                    )
-                            )
+                            ),
+                     html (html_tag ("p"),
+                           html (html_tag ("input",
+                                           html_attr ("name", "cancel"),
+                                           html_attr ("type", "submit"),
+                                           html_attr ("value", "Cancel")
+                                           )
+                                 ),
+                           html (html_tag ("input",
+                                           html_attr ("name", "stage"),
+                                           html_attr ("type", "submit"),
+                                           html_attr ("value", "Stage for commit")
+                                           )
+                                 ),
+                           html (html_tag ("input",
+                                           html_attr ("name", "commit"),
+                                           html_attr ("type", "submit"),
+                                           html_attr ("value", "Commit ...")
+                                           )
+                                 )
+                           )
                      )
                );
 }