From 1c817663269b52065b79eba37f29a5a4f67348d1 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 23 Oct 2012 17:48:48 -0400 Subject: [PATCH] Fix broken unit test on Windows --- src/com/gitblit/wicket/pages/EmptyRepositoryPage.html | 41 +++++++++++++++++++++++------------------ 1 files changed, 23 insertions(+), 18 deletions(-) diff --git a/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html b/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html index a424c6a..d46a5de 100644 --- a/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html +++ b/src/com/gitblit/wicket/pages/EmptyRepositoryPage.html @@ -4,29 +4,32 @@ xml:lang="en" lang="en"> -<wicket:head> - <link href="markdown.css" type="text/css" rel="stylesheet" /> -</wicket:head> - <body> <wicket:extend> - <!-- markdown message --> - <div class="markdown" style="margin-top:-15px;padding-bottom:10px;"> - <h2>Empty Repository</h2> - <p></p> - <span wicket:id="repository" style="font-weight: bold;">[repository]</span> is an empty repository and can not be viewed by Gitblit. - <p></p> - Please push some commits to <span wicket:id="pushurl"></span> - <p></p> + <h2>Empty Repository</h2> + <p></p> + <div class="row"> + <div class="span10"> + <div class="alert alert-success"> + <span wicket:id="repository" style="font-weight: bold;">[repository]</span> is an empty repository and can not be viewed by Gitblit. + <p></p> + Please push some commits to <span wicket:id="pushurl"></span> + <p></p> + <hr/> + After you have pushed commits you may <b>refresh</b> this page to view your repository. + </div> + </div> + </div> + <h3>Git Command-Line Syntax</h3> - <span style="padding-bottom:5px;">If you do not have a local Git repository, then you should clone this repository, commit some files, and then push your commits back to this repository.</span> + <span style="padding-bottom:5px;">If you do not have a local Git repository, then you should clone this repository, commit some files, and then push your commits back to Gitblit.</span> <p></p> - <pre style="padding-top:5px;" wicket:id="cloneSyntax"></pre> + <pre style="padding: 5px 30px;" wicket:id="cloneSyntax"></pre> <p></p> <span style="padding-bottom:5px;">If you already have a local Git repository with commits, then you may add this repository as a remote and push to it.</span> <p></p> - <pre wicket:id="remoteSyntax"></pre> + <pre wicket:id="remoteSyntax" style="padding: 5px 30px;"></pre> <p></p> <h3>Learn Git</h3> If you are unsure how to use this information, consider reviewing the <a href="http://book.git-scm.com">Git Community Book</a> or <a href="http://progit.org/book" target="_blank">Pro Git</a> for a better understanding on how to use Git. @@ -36,13 +39,15 @@ <li><a href="http://git-scm.com">Git</a> - the official, command-line Git</li> <li><a href="http://tortoisegit.googlecode.com">TortoiseGit</a> - Windows file explorer integration (requires official, command-line Git)</li> <li><a href="http://eclipse.org/egit">Eclipse/EGit</a> - Git for the Eclipse IDE (based on JGit, like Gitblit)</li> + <li><a href="https://code.google.com/p/gitextensions/">Git Extensions</a> - C# frontend for Git that features Windows Explorer and Visual Studio integration</li> + <li><a href="http://gitx.laullon.com/">GitX (L)</a> - a Mac OS X Git client</li> </ul> <p></p> - <h4>Commercial Git Clients</h4> + <h4>Commercial/Closed-Source Git Clients</h4> <ul> - <li><a href="http://www.syntevo.com/smartgit">SmartGit</a> - Java application (requires official, command-line Git)</li> + <li><a href="http://www.syntevo.com/smartgit">SmartGit</a> - A Java Git, Mercurial, and SVN client application (requires official, command-line Git)</li> + <li><a href="http://www.sourcetreeapp.com/">SourceTree</a> - A free Mac Client for Git, Mercurial, and SVN</li> </ul> - </div> </wicket:extend> </body> </html> \ No newline at end of file -- Gitblit v1.9.1