diff options
author | James Moger <james.moger@gitblit.com> | 2014-05-15 08:10:20 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-05-15 08:10:20 -0400 |
commit | 9e7b14b651cf3812718d33665529de919c05795d (patch) | |
tree | c612afd3e36507ad1d5ee60b7c8fbc49942873f5 /src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html | |
parent | edeab95cac16e5f17cfcd75a9969d8708bf360ab (diff) | |
download | gitblit-9e7b14b651cf3812718d33665529de919c05795d.tar.gz gitblit-9e7b14b651cf3812718d33665529de919c05795d.zip |
Redesign the EmptyRepositoryPage
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html | 87 |
1 files changed, 44 insertions, 43 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html b/src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html index c5f9bc95..ebd513ad 100644 --- a/src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html +++ b/src/main/java/com/gitblit/wicket/pages/EmptyRepositoryPage.html @@ -7,52 +7,53 @@ <body>
<wicket:extend>
<div class="container">
- <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>
+<div class="markdown">
+<div class="row">
+<div class="span10 offset1">
+ <h2><center>Empty Repository</center></h2>
+ <div class="alert alert-info">
+ <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>
+ <hr/>
+ After you have pushed commits you may <b>refresh</b> this page to view your repository.
+ </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 Gitblit.</span>
- <p></p>
- <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" style="padding: 5px 30px;"></pre>
- <p></p>
- <span style="padding-bottom:5px;">If your repository is meant to be kept in sync with an upstream repository, then you may add it.</span>
- <p></p>
- <pre wicket:id="upstreamSyntax" 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.
- <p></p>
+ <h3><center>Create a new repository on the command-line</center></h3>
+
+ <pre wicket:id="createSyntax"></pre>
+
+ <h3><center>Push an existing repository from the command-line</center></h3>
+
+ <pre wicket:id="existingSyntax"></pre>
+
+ <div class="span8 offset1">
+ <h2><center>Learn Git</center></h2>
+ <p>If you are unsure how to use this information, consider reviewing the <a href="http://book.git-scm.com">Git Community Book</a> for a better understanding on how to use Git.</p>
+
<h4>Open Source Git Clients</h4>
- <ul>
- <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://rowanj.github.io/gitx/">GitX-dev</a> - a Mac OS X Git client</li>
- </ul>
- <p></p>
+ <table>
+ <tbody>
+ <tr><td><a href="http://git-scm.com">Git</a></td><td>the official, command-line Git</td></tr>
+ <tr><td><a href="http://tortoisegit.googlecode.com">TortoiseGit</a></td><td>Windows file explorer integration (requires official, command-line Git)</td></tr>
+ <tr><td><a href="http://eclipse.org/egit">Eclipse/EGit</a></td><td>Git for the Eclipse IDE (based on JGit, like Gitblit)</td></tr>
+ <tr><td><a href="https://code.google.com/p/gitextensions/">Git Extensions</a></td><td>C# frontend for Git that features Windows Explorer and Visual Studio integration</td></tr>
+ <tr><td><a href="http://rowanj.github.io/gitx/">GitX-dev</a></td><td>a Mac OS X Git client</td></tr>
+ </tbody>
+ </table>
+
<h4>Commercial/Closed-Source Git Clients</h4>
- <ul>
- <li><a href="http://www.syntevo.com/smartgithg">SmartGit/Hg</a> - A Java Git and Mercurial client for Windows, Mac, and Linux</li>
- <li><a href="http://www.sourcetreeapp.com/">SourceTree</a> - A free Git and Mercurial client for Windows & Mac</li>
- <li><a href="http://www.git-tower.com/">Tower</a> - a Mac OS X Git client</li>
- </ul>
+ <table>
+ <tbody>
+ <tr><td><a href="http://www.syntevo.com/smartgithg">SmartGit/Hg</a></td><td>A Java Git and Mercurial client for Windows, Mac, and Linux</td></tr>
+ <tr><td><a href="http://www.sourcetreeapp.com/">SourceTree</a></td><td>A free Git and Mercurial client for Windows & Mac</td></tr>
+ <tr><td><a href="http://www.git-tower.com/">Tower</a></td><td>a Mac OS X Git client</td></tr>
+ </tbody>
+ </table>
+ </div>
+</div>
+</div>
+</div>
</div>
</wicket:extend>
</body>
|