| ... |
... |
@@ -22,6 +22,18 @@ |
| 22 |
22 |
height: 3em; |
| 23 |
23 |
margin-top: 2rem; |
| 24 |
24 |
} |
|
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 |
+} |
| 25 |
25 |
</style> |
| 26 |
26 |
|
| 27 |
27 |
|
| ... |
... |
@@ -30,6 +30,7 @@ |
| 30 |
30 |
#set($app = $xwiki.getDocument($application)) |
| 31 |
31 |
#set($URL = $app.display('url')) |
| 32 |
32 |
#set($title = $app.display('title')) |
|
45 |
+ #set($category = $app.display('category')) |
| 33 |
33 |
<div class="col-md-3"> |
| 34 |
34 |
<div class="application"> |
| 35 |
35 |
#if($app.getAttachment('logo.png').isImage()) |
| ... |
... |
@@ -37,13 +37,14 @@ |
| 37 |
37 |
#else |
| 38 |
38 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN89x8AAuEB74Y0o2cAAAAASUVORK5CYII=" width="75" height="75" alt=""> |
| 39 |
39 |
#end |
|
53 |
+ <span class="category">$category</span> |
| 40 |
40 |
<h3 class="title">$title</h3> |
| 41 |
41 |
<a href="$URL">$URL</a> |
| 42 |
42 |
<p>$!app.getValue('description')</p> |
| 43 |
|
- <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> |
| 44 |
44 |
|
| 45 |
45 |
<div> |
| 46 |
|
- $app.getValue('maintainers') |
|
60 |
+ ##$app.getValue('maintainers') |
| 47 |
47 |
##$app.display('maintainers') |
| 48 |
48 |
</div> |
| 49 |
49 |
|