Changes for page ExternalApps
Last modified by bougault on 2019/09/12 12:46
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,10 +9,34 @@ 9 9 <style> 10 10 .applications { 11 11 display: grid; 12 - grid-template-columns: 1fr 1fr 1fr 1fr; 13 13 grid-gap: 10px; 14 14 } 15 15 15 +@media screen and (min-width: 640px) { 16 + .applications { 17 + grid-template-columns: 1fr 1fr; 18 + } 19 +} 20 +/* 21 +@media screen and (min-width: 900px) { 22 + .applications { 23 + grid-template-columns: 1fr 1fr 1fr; 24 + } 25 +} 26 +*/ 27 + 28 +@media screen and (min-width: 1200px) { 29 + .applications { 30 + grid-template-columns: 1fr 1fr 1fr; 31 + } 32 +} 33 + 34 +@media screen and (min-width: 1800px) { 35 + .applications { 36 + grid-template-columns: 1fr 1fr 1fr 1fr; 37 + } 38 +} 39 + 16 16 .application { 17 17 border: 1px solid var(--color-support-light); 18 18 padding: 1rem; ... ... @@ -51,8 +51,8 @@ 51 51 <div class="applications"> 52 52 #foreach($application in $applications) 53 53 #set($app = $xwiki.getDocument($application)) 54 - #set($URL = $app. display('url'))55 - #set($title = $app. display('title'))78 + #set($URL = $app.getValue('url')) 79 + #set($title = $app.getDisplayTitle()) 56 56 #set($category = $app.display('category')) 57 57 <div> 58 58 <div class="application"> ... ... @@ -63,15 +63,15 @@ 63 63 #end 64 64 <div class="tags"><span>$category</span></div> 65 65 <h3 class="title">$title</h3> 66 - ##<a href="$URL">$URL</a>90 + <a href="$URL">$URL</a> 67 67 <p class="description">$!app.getValue('description')</p> 68 68 ##<input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> 69 - 93 + 70 70 <div> 71 71 ##$app.getValue('maintainers') 72 72 ##$app.display('maintainers') 73 73 </div> 74 - 98 +Application document: $app.getURL() 75 75 </div> 76 76 </div> 77 77 #end