| ... |
... |
@@ -7,9 +7,16 @@ |
| 7 |
7 |
#set($applications = $services.query.xwql($query).addFilter('hidden').execute()) |
| 8 |
8 |
|
| 9 |
9 |
<style> |
|
10 |
+.applications { |
|
11 |
+ display: grid; |
|
12 |
+ grid-template-columns: 1fr 1fr 1fr 1fr; |
|
13 |
+ grid-gap: 10px; |
|
14 |
+} |
|
15 |
+ |
| 10 |
10 |
.application { |
| 11 |
11 |
border: 1px solid var(--color-support-light); |
| 12 |
12 |
padding: 1rem; |
|
19 |
+ height: 100%; |
| 13 |
13 |
} |
| 14 |
14 |
|
| 15 |
15 |
.application img { |
| ... |
... |
@@ -41,13 +41,13 @@ |
| 41 |
41 |
</style> |
| 42 |
42 |
|
| 43 |
43 |
|
| 44 |
|
-<div class="row applications"> |
|
51 |
+<div class="applications"> |
| 45 |
45 |
#foreach($application in $applications) |
| 46 |
46 |
#set($app = $xwiki.getDocument($application)) |
| 47 |
47 |
#set($URL = $app.display('url')) |
| 48 |
48 |
#set($title = $app.display('title')) |
| 49 |
49 |
#set($category = $app.display('category')) |
| 50 |
|
- <div class="col-md-3"> |
|
57 |
+ <div> |
| 51 |
51 |
<div class="application"> |
| 52 |
52 |
#if($app.getAttachment('logo.png').isImage()) |
| 53 |
53 |
<img src="$app.getAttachmentURL('logo.png')" width="75" height="75" alt="$title.replace('"', '\"')"> |