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