<
From version < 1.4 >
edited by Ecaterina Moraru (Valica)
on 2016/03/15
To version < 2.1 >
edited by Ecaterina Moraru (Valica)
on 2016/05/04
>
Change comment: Improving download buttons

Summary

Details

Page properties
Content
... ... @@ -6,15 +6,15 @@
6 6  #set ($demoDistibutions = [
7 7   ['enterpriseInstallerGeneric', 'Graphical Installer for All Platforms', 'JAR',
8 8   "Should be used by first-time users on non-Windows systems. This installer requires administrator rights on the target OS and if you don't have those permissions use the ZIP packaging below.",
9 - "platform:AdminGuide.InstallationStandalone||query='packaging=JAR"],
9 + "platform:AdminGuide.InstallationStandalone||queryString='packaging=JAR"],
10 10  
11 11   ['enterpriseInstallerWindows', 'Graphical Installer for Windows', 'EXE',
12 12   "This installer requires administrator rights on the target OS and if you don't have those permissions use the ZIP packaging below.",
13 - "platform:AdminGuide.InstallationStandalone"],
13 + "platform:AdminGuide.InstallationStandalone||queryString='packaging=EXE"],
14 14  
15 15   ['enterpriseJettyHsqldb', 'ZIP Package', 'ZIP',
16 16   "This includes a Jetty Servlet Container and an HSQLDB database all set up, packaged as a ZIP file. Should be used by first-time users who do not need/want to use one of the installers above.",
17 - "platform:AdminGuide.InstallationStandalone"]
17 + "platform:AdminGuide.InstallationStandalone||queryString='packaging=ZIP"]
18 18  ])
19 19  #set ($productionDistibutions = [
20 20   ['enterpriseWeb', 'WAR file for Servlet Container', 'WAR',
... ... @@ -31,11 +31,11 @@
31 31  ## $downloadLinks = TypeID: File (0) - Extension (1)
32 32  ## ################################################################
33 33  #set ($downloadLinks = {
34 - 'enterpriseInstallerWindows': ['xwiki-enterprise-installer-windows-', '.exe'],
35 - 'enterpriseInstallerGeneric': ['xwiki-enterprise-installer-generic-', '-standard.jar'],
36 - 'enterpriseJettyHsqldb': ['xwiki-enterprise-jetty-hsqldb-', '.zip'],
37 - 'enterpriseWeb': ['xwiki-enterprise-web-', '.war'],
38 - 'enterpriseWiki': ['xwiki-enterprise-ui-mainwiki-all-', '.xar']
34 + 'enterpriseInstallerWindows': ['xwiki-enterprise-installer-windows-', '.exe', 'success'],
35 + 'enterpriseInstallerGeneric': ['xwiki-enterprise-installer-generic-', '-standard.jar', 'success'],
36 + 'enterpriseJettyHsqldb': ['xwiki-enterprise-jetty-hsqldb-', '.zip', 'success'],
37 + 'enterpriseWeb': ['xwiki-enterprise-web-', '.war', 'primary'],
38 + 'enterpriseWiki': ['xwiki-enterprise-ui-mainwiki-all-', '.xar', 'primary']
39 39  })
40 40  ## ################################################################
41 41  ## Generate URL to OW2 XWiki files that will be used by Main.Download.DownloadFeedback page
... ... @@ -50,7 +50,7 @@
50 50   #end
51 51   #set ($version = $escapetool.xml($version))
52 52   #set ($downloadLink = "${downloadLinkData.get(0)}${version}${downloadLinkData.get(1)}")
53 - [[Download>>Download.DownloadFeedback||queryString="downloadLink=http://download.forge.ow2.org/xwiki/${downloadLink}&projectVersion=${version}" class='btn btn-xs btn-default']]
53 + [[Download>>Download.DownloadFeedback||queryString="downloadLink=http://download.forge.ow2.org/xwiki/${downloadLink}&projectVersion=${version}" class="btn btn-xs btn-${downloadLinkData.get(2)}"]]
54 54   #end
55 55  #end
56 56  ## ################################################################
... ... @@ -72,7 +72,7 @@
72 72   <div class='list-group'>
73 73   #foreach($distibution in ${category.get(1)})
74 74   <div class='list-group-item'>
75 - <span class='badge fill-$category.get(2)'>$distibution.get(2)</span>
75 + <span class='badge fill-gray'>$distibution.get(2)</span>
76 76   <h4 class='list-group-item-heading'>$distibution.get(1)</h4>
77 77   <p class='list-group-item-text noitems'>$distibution.get(3)</p>
78 78   <div class='buttons'>

Get Connected