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