| ... |
... |
@@ -9,24 +9,32 @@ |
| 9 |
9 |
<style> |
| 10 |
10 |
.applications { |
| 11 |
11 |
display: grid; |
| 12 |
|
- |
| 13 |
13 |
grid-gap: 10px; |
| 14 |
14 |
} |
| 15 |
15 |
|
| 16 |
16 |
@media screen and (min-width: 640px) { |
| 17 |
|
- grid-template-columns: 1fr 1fr; |
|
16 |
+ .applications { |
|
17 |
+ grid-template-columns: 1fr 1fr; |
|
18 |
+ } |
| 18 |
18 |
} |
| 19 |
|
- |
|
20 |
+/* |
| 20 |
20 |
@media screen and (min-width: 900px) { |
| 21 |
|
- grid-template-columns: 1fr 1fr 1fr; |
|
22 |
+ .applications { |
|
23 |
+ grid-template-columns: 1fr 1fr 1fr; |
|
24 |
+ } |
| 22 |
22 |
} |
|
26 |
+*/ |
| 23 |
23 |
|
| 24 |
24 |
@media screen and (min-width: 1200px) { |
| 25 |
|
- grid-template-columns: 1fr 1fr 1fr 1fr; |
|
29 |
+ .applications { |
|
30 |
+ grid-template-columns: 1fr 1fr 1fr; |
|
31 |
+ } |
| 26 |
26 |
} |
| 27 |
27 |
|
| 28 |
28 |
@media screen and (min-width: 1800px) { |
| 29 |
|
- grid-template-columns: 1fr 1fr 1fr 1fr 1fr; |
|
35 |
+ .applications { |
|
36 |
+ grid-template-columns: 1fr 1fr 1fr 1fr; |
|
37 |
+ } |
| 30 |
30 |
} |
| 31 |
31 |
|
| 32 |
32 |
.application { |
| ... |
... |
@@ -68,7 +68,7 @@ |
| 68 |
68 |
#foreach($application in $applications) |
| 69 |
69 |
#set($app = $xwiki.getDocument($application)) |
| 70 |
70 |
#set($URL = $app.display('url')) |
| 71 |
|
- #set($title = $app.display('title')) |
|
79 |
+ #set($title = $app.getDisplayTitle()) |
| 72 |
72 |
#set($category = $app.display('category')) |
| 73 |
73 |
<div> |
| 74 |
74 |
<div class="application"> |
| ... |
... |
@@ -82,12 +82,12 @@ |
| 82 |
82 |
##<a href="$URL">$URL</a> |
| 83 |
83 |
<p class="description">$!app.getValue('description')</p> |
| 84 |
84 |
##<input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> |
| 85 |
|
- |
|
93 |
+ |
| 86 |
86 |
<div> |
| 87 |
87 |
##$app.getValue('maintainers') |
| 88 |
88 |
##$app.display('maintainers') |
| 89 |
89 |
</div> |
| 90 |
|
- |
|
98 |
+ |
| 91 |
91 |
</div> |
| 92 |
92 |
</div> |
| 93 |
93 |
#end |