diff options
author | James Moger <james.moger@gitblit.com> | 2013-05-03 19:27:25 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-05-03 19:27:25 -0400 |
commit | 8c92559a483cf0b01b33d926421ec17605b5ff75 (patch) | |
tree | 209fd220f26f2420c8b15363a23d8d78e3f3ff7a /src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html | |
parent | b58492239c4c3acc3b4434625d08827450fde078 (diff) | |
download | gitblit-8c92559a483cf0b01b33d926421ec17605b5ff75.tar.gz gitblit-8c92559a483cf0b01b33d926421ec17605b5ff75.zip |
Partially merged url panel with optional support for app clone urls
Diffstat (limited to 'src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html')
-rw-r--r-- | src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html b/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html index d7c76f13..c32d9d88 100644 --- a/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html +++ b/src/main/java/com/gitblit/wicket/panels/RepositoryUrlPanel.html @@ -5,26 +5,14 @@ lang="en">
<wicket:panel>
- <span wicket:id="repositoryUrl" style="color: blue;">[repository url]</span><span class="hidden-phone hidden-tablet" wicket:id="copyFunction"></span>
-
- <!-- Plain JavaScript manual copy & paste -->
- <wicket:fragment wicket:id="jsPanel">
- <span style="vertical-align:baseline;">
- <img wicket:id="copyIcon" wicket:message="title:gb.copyToClipboard"></img>
- </span>
- </wicket:fragment>
-
- <!-- flash-based button-press copy & paste -->
- <wicket:fragment wicket:id="clippyPanel">
- <object wicket:message="title:gb.copyToClipboard" style="vertical-align:middle;"
- wicket:id="clippy"
- width="14"
- height="14"
- bgcolor="#ffffff"
- quality="high"
- wmode="transparent"
- scale="noscale"
- allowScriptAccess="always"></object>
- </wicket:fragment>
+ <div wicket:id="repositoryPrimaryUrl">[repository primary url]</div>
+ <div style="padding-top: 2px;">
+ <span class="link" wicket:id="appCloneLink">
+ <span wicket:id="icon"></span>
+ <span wicket:id="link"></span>
+ <span wicket:id="separator" style="padding: 0px 5px 0px 5px;"></span>
+ </span>
+ </div>
+ <div wicket:id="repositoryGitDaemonUrl">[repository git daemon url]</div>
</wicket:panel>
</html>
\ No newline at end of file |