James Moger
2013-05-02 fd9d28b6adc913dc332d321c0e519b9e0b4d46f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!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>
    <span wicket:id="urlPanel"></span>
    
    <!--  Repository url panel -->
    <wicket:fragment wicket:id="repositoryUrlPanel">
        <span class="repositoryUrlContainer">
            <span wicket:id="repositoryProtocol" class="repositoryUrlEndCap">[protocol]</span>
            <span class="repositoryUrl">
                <span wicket:id="repositoryUrl">[repository url]</span>
                <span class="hidden-phone hidden-tablet" wicket:id="copyFunction"></span>
            </span>
            <span class="hidden-phone hidden-tablet repositoryUrlEndCap" wicket:id="repositoryUrlPermission">[repository url permission]</span>
        </span>
    </wicket:fragment>
    
    <!-- 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>
</wicket:panel>
</html>