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
-
... ... @@ -13,8 +13,15 @@ 13 13 } 14 14 15 15 .application img { 16 + display: block; 16 16 margin: 0 auto; 17 17 } 19 + 20 +.application .title { 21 + text-align: center; 22 + height: 3em; 23 + margin-top: 2rem; 24 +} 18 18 </style> 19 19 20 20 ... ... @@ -23,6 +23,7 @@ 23 23 #set($app = $xwiki.getDocument($application)) 24 24 #set($URL = $app.display('url')) 25 25 #set($title = $app.display('title')) 33 + #set($category = $app.display('category')) 26 26 <div class="col-md-3"> 27 27 <div class="application"> 28 28 #if($app.getAttachment('logo.png').isImage()) ... ... @@ -30,13 +30,14 @@ 30 30 #else 31 31 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN89x8AAuEB74Y0o2cAAAAASUVORK5CYII=" width="75" height="75" alt=""> 32 32 #end 33 - <h3>$title</h3> 41 + <h4 class="category">$category</h4> 42 + <h3 class="title">$title</h3> 34 34 <a href="$URL">$URL</a> 35 35 <p>$!app.getValue('description')</p> 36 - <input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> 45 + ##<input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> 37 37 38 38 <div> 39 - $app.getValue('maintainers') 48 + ##$app.getValue('maintainers') 40 40 ##$app.display('maintainers') 41 41 </div> 42 42