From f66e89662c091e082bd1d2feb6ac91513ccff273 Mon Sep 17 00:00:00 2001 From: Rafael Cavazin <rafaelcavazin@gmail.com> Date: Sun, 21 Jul 2013 09:59:00 -0400 Subject: [PATCH] Merge branch 'master' of https://github.com/gitblit/gitblit --- src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html | 77 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 77 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html b/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html new file mode 100644 index 0000000..02d67e3 --- /dev/null +++ b/src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html @@ -0,0 +1,77 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd" + xml:lang="en" + lang="en"> + +<wicket:panel> + <wicket:fragment wicket:id="repositoryAdminLinks"> + <span class="link"> + <a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a> + | <a wicket:id="log"><wicket:message key="gb.log"></wicket:message></a> + | <a wicket:id="editRepository"><wicket:message key="gb.edit">[edit]</wicket:message></a> + | <a wicket:id="deleteRepository"><wicket:message key="gb.delete">[delete]</wicket:message></a> + </span> + </wicket:fragment> + + <wicket:fragment wicket:id="repositoryOwnerLinks"> + <span class="link"> + <a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a> + | <a wicket:id="log"><wicket:message key="gb.log"></wicket:message></a> + | <a wicket:id="editRepository"><wicket:message key="gb.edit">[edit]</wicket:message></a> + </span> + </wicket:fragment> + + <wicket:fragment wicket:id="repositoryUserLinks"> + <span class="link"> + <a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a> + | <a wicket:id="log"><wicket:message key="gb.log"></wicket:message></a> + </span> + </wicket:fragment> + + <wicket:fragment wicket:id="originFragment"> + <p class="originRepository" style="margin-left:20px;" ><wicket:message key="gb.forkedFrom">[forked from]</wicket:message> <span wicket:id="originRepository">[origin repository]</span></p> + </wicket:fragment> + + <div> + <div style="padding-top:15px;padding-bottom:15px;margin-right:15px;"> + <div class="pull-right" style="text-align:right;padding-right:15px;"> + <span wicket:id="repositoryLinks"></span> + <div> + <img class="inlineIcon" wicket:id="sparkleshareIcon" /> + <img class="inlineIcon" wicket:id="frozenIcon" /> + <img class="inlineIcon" wicket:id="federatedIcon" /> + + <a style="text-decoration: none;" wicket:id="tickets" wicket:message="title:gb.tickets"> + <img style="border:0px;vertical-align:middle;" src="bug_16x16.png"></img> + </a> + <a style="text-decoration: none;" wicket:id="docs" wicket:message="title:gb.docs"> + <img style="border:0px;vertical-align:middle;" src="book_16x16.png"></img> + </a> + <a style="text-decoration: none;" wicket:id="syndication" wicket:message="title:gb.feed"> + <img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img> + </a> + </div> + <span style="color: #999;font-style:italic;font-size:0.8em;" wicket:id="repositoryOwner">[owner]</span> + </div> + + <div class="pageTitle" style="border:0px;"> + <div> + <span class="repositorySwatch" wicket:id="repositorySwatch"></span> + <span class="repository" style="padding-left:3px;color:black;" wicket:id="repositoryName">[repository name]</span> + </div> + <span wicket:id="originRepository">[origin repository]</span> + </div> + + <div style="padding-left:20px;"> + <div style="padding-bottom:10px" wicket:id="repositoryDescription">[repository description]</div> + + <div style="color: #999;"> + <wicket:message key="gb.lastChange">[last change]</wicket:message> <span wicket:id="repositoryLastChange">[last change]</span>, + <span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span> + </div> + </div> + </div> + </div> +</wicket:panel> +</html> \ No newline at end of file -- Gitblit v1.9.1