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,13 +9,38 @@ 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; 43 + height: 100%; 19 19 } 20 20 21 21 .application img { ... ... @@ -51,7 +51,7 @@ 51 51 #foreach($application in $applications) 52 52 #set($app = $xwiki.getDocument($application)) 53 53 #set($URL = $app.display('url')) 54 - #set($title = $app. display('title'))79 + #set($title = $app.getDocumentTitle()) 55 55 #set($category = $app.display('category')) 56 56 <div> 57 57 <div class="application"> ... ... @@ -65,12 +65,12 @@ 65 65 ##<a href="$URL">$URL</a> 66 66 <p class="description">$!app.getValue('description')</p> 67 67 ##<input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> 68 - 93 + 69 69 <div> 70 70 ##$app.getValue('maintainers') 71 71 ##$app.display('maintainers') 72 72 </div> 73 - 98 + 74 74 </div> 75 75 </div> 76 76 #end