Changes for page Download XWiki
Last modified by Marius Dumitru Florea on 2022/06/28
Change comment:
Rollback to version 51.1
Summary
-
Page properties (5 modified, 0 added, 0 removed)
-
Objects (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - MichaelZhang1 +Download XWiki - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -MichaelZhang - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2. 01 +XWiki 2.1 - Hidden
-
... ... @@ -1,1 +1,1 @@ 1 - true1 +false - Content
-
... ... @@ -1,1 +1,43 @@ 1 -MichaelZhang 1 +{{velocity}} 2 +## ########################################################################################################## 3 +## $versions = Version Number (0) - Release Date (1) - Type (2) {LTS, stable, development} - Release Notes Page (3) - Release Summary (4) 4 +#set ($versions = [ 5 + ['8.4.5', '24 April 2017', 'LTS', 'xwiki:ReleaseNotes.Data.XWiki.8\.4\.5.WebHome', ' 6 +* Bug fixes 7 +'], 8 + ['9.3.1', '26 April 2017', 'stable', 'xwiki:ReleaseNotes.Data.XWiki.9\.3\.1.WebHome', ' 9 +* Bug fixes 10 +'] 11 +]) 12 +## ########################################################################################################## 13 +## $versionDetails = TypeID: Name (0) - Button Style (1) - Notes (2) 14 +#set ($versionDetails = { 15 + 'LTS': ['Long Term Support', 'primary', 'Note: This version is the latest stable version from the last XWiki cycle. This is the most stable version and is what we recommend to use in production.'], 16 + 'stable': ['Stable', 'info', 'Note: This version is the latest stable version from the current XWiki cycle. This is the version recommended if you wish to try out the new features from the cycle.'], 17 + 'development': ['Development', 'success', 'Note: This version is the latest development version from the current XWiki cycle. This is the version to use if you want to test the really latest feature and provide feedback. Not for production.'] 18 +}) 19 +## ################################################################ 20 +## Generate the versions layout 21 +## ################################################################ 22 +#macro(downloadVersionsLayout $versions $versionDetails) 23 +(% class='download-options' %)((( 24 + #foreach($version in $versions) 25 + (% class='col-xs-12 download-container download-option version-option border-$version.get(2)' %) 26 + ((( 27 + (% class="download-version fill-$version.get(2)"%)$version.get(0)(% class='noitems pull-right'%)$version.get(1) 28 + === $versionDetails.get(${version.get(2)})[0] === 29 + $version.get(4) 30 + (% class='noitems' %)$versionDetails.get(${version.get(2)})[2] 31 + (% class='version-footer' %)((([[Download>>.DownloadVersion||class="btn btn-${versionDetails.get(${version.get(2)})[1]}" queryString="projectVersion=${version.get(0)}"]][[Release Notes>>$version.get(3)||class='btn btn-link']]))) 32 + #if ($version.size() >= 6) 33 + (% class="noitems version-warning" %) 34 + $version.get(5) 35 + #end 36 + ))) 37 + #end 38 +))) 39 +#end 40 +#downloadVersionsLayout($versions, $versionDetails){{/velocity}} 41 + 42 +(%class="noitems"%)Interested in testing the latest snapshots builds or older versions? See [[more versions>>Download.DownloadOther]]. You can also use a [[Hosted version of XWiki>>Hosted]] instead of installing it yourself. 43 +
- XWiki.StyleSheetExtension[0]
-
- Caching policy
-
... ... @@ -1,0 +1,1 @@ 1 +long - Code
-
... ... @@ -1,0 +1,41 @@ 1 [email protected] (min-width: 768px) { /* @screen-sm-min */ 2 + .download-options { 3 + display: flex; 4 + align-items: stretch; 5 + /*justify-content: space-between; 6 + padding: 0;*/ 7 + } 8 + 9 + .download-options.minimal-space { 10 + align-items: flex-start; 11 + } 12 +} 13 + 14 +.download-option { 15 + margin-right: 20px; 16 + flex: 1 100%; 17 +} 18 + 19 +.download-option:last-of-type { 20 + margin-right: 0; 21 +} 22 + 23 +.download-option p { 24 + clear: both; 25 +} 26 + 27 +.download-option.version-option { 28 + position: relative; 29 + padding-bottom: 5em; 30 +} 31 + 32 +.version-footer { 33 + bottom: 20px; 34 + position: absolute; 35 +} 36 + 37 +.version-warning { 38 + right: 19px; 39 + bottom: 30px; 40 + position: absolute; 41 +} - Content Type
-
... ... @@ -1,0 +1,1 @@ 1 +CSS - Name
-
... ... @@ -1,0 +1,1 @@ 1 +Hosted + Download Layout - Use this extension
-
... ... @@ -1,0 +1,1 @@ 1 +currentPage
- XWiki.StyleSheetExtension[1]
-
- Caching policy
-
... ... @@ -1,0 +1,1 @@ 1 +long - Code
-
... ... @@ -1,0 +1,74 @@ 1 +.download-container { 2 + min-height: 20px; 3 + padding: 19px; 4 + margin-bottom: 20px; 5 + background-color: #f5f5f5; 6 + border-radius: 4px;; 7 + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); 8 + border-style: solid; 9 + border-width: 5px 0 0 0; 10 + border-color: #e3e3e3; 11 +} 12 + 13 +.download-container h3 { 14 + margin-top: 0; 15 +} 16 + 17 +/* Colors */ 18 +.fill-blue, .fill-LTS { 19 + background: #3887be; 20 +} 21 +.border-blue, .border-LTS { 22 + border-color: #3887be; 23 +} 24 +.fill-green, .fill-development { 25 + background: #56b881; 26 +} 27 +.border-green, .border-development { 28 + border-color: #56b881; 29 +} 30 +.fill-cyan, .fill-stable { 31 + background: #3bb2d0; 32 +} 33 +.border-cyan, .border-stable { 34 + border-color: #3bb2d0; 35 +} 36 +.fill-gray { 37 + background-color: #f5f5f5; 38 + color: #4D5860; 39 + font-weight: 600; 40 +} 41 + 42 +.download-icon { 43 + border-radius: 50%; 44 + color: #fff; 45 + float: right; 46 + padding: 4px 8px; 47 + margin-bottom: 20px; 48 +} 49 + 50 +.download-version { 51 + color: #fff; 52 + padding: 5px 10px; 53 +} 54 + 55 +.version-option h3 { 56 + margin-top: 20px; 57 +} 58 + 59 +.cloudOffers .badge { 60 + background-color: #fff; 61 + font-weight: 400; 62 +} 63 + 64 +.download-installation h3 { 65 + margin-bottom: 1em; 66 +} 67 + 68 +.download-installation .list-group-item-heading { 69 + margin-bottom: 10px; 70 +} 71 + 72 +.download-installation .buttons { 73 + margin-top: 1em; 74 +} - Content Type
-
... ... @@ -1,0 +1,1 @@ 1 +CSS - Name
-
... ... @@ -1,0 +1,1 @@ 1 +Hosted + Download Styling - Use this extension
-
... ... @@ -1,0 +1,1 @@ 1 +currentPage