| ... |
... |
@@ -7,9 +7,40 @@ |
| 7 |
7 |
#set($applications = $services.query.xwql($query).addFilter('hidden').execute()) |
| 8 |
8 |
|
| 9 |
9 |
<style> |
|
10 |
+.applications { |
|
11 |
+ display: grid; |
|
12 |
+ grid-gap: 10px; |
|
13 |
+} |
|
14 |
+ |
|
15 |
+@media screen and (min-width: 640px) { |
|
16 |
+ .applications { |
|
17 |
+ grid-template-columns: 1fr 1fr; |
|
18 |
+ } |
|
19 |
+} |
|
20 |
+/* |
|
21 |
+@media screen and (min-width: 900px) { |
|
22 |
+ .applications { |
|
23 |
+ grid-template-columns: 1fr 1fr 1fr; |
|
24 |
+ } |
|
25 |
+} |
|
26 |
+*/ |
|
27 |
+ |
|
28 |
+@media screen and (min-width: 1200px) { |
|
29 |
+ .applications { |
|
30 |
+ grid-template-columns: 1fr 1fr 1fr; |
|
31 |
+ } |
|
32 |
+} |
|
33 |
+ |
|
34 |
+@media screen and (min-width: 1800px) { |
|
35 |
+ .applications { |
|
36 |
+ grid-template-columns: 1fr 1fr 1fr 1fr; |
|
37 |
+ } |
|
38 |
+} |
|
39 |
+ |
| 10 |
10 |
.application { |
| 11 |
11 |
border: 1px solid var(--color-support-light); |
| 12 |
12 |
padding: 1rem; |
|
43 |
+ height: 100%; |
| 13 |
13 |
} |
| 14 |
14 |
|
| 15 |
15 |
.application img { |
| ... |
... |
@@ -59,12 +59,12 @@ |
| 59 |
59 |
##<a href="$URL">$URL</a> |
| 60 |
60 |
<p class="description">$!app.getValue('description')</p> |
| 61 |
61 |
##<input id="$application.concat('-visibility')" type="checkbox" #if($app.getValue('private') == 1)checked#end disabled /><label for="$application.concat('-visibility')">Private</label> |
| 62 |
|
- |
|
93 |
+ |
| 63 |
63 |
<div> |
| 64 |
64 |
##$app.getValue('maintainers') |
| 65 |
65 |
##$app.display('maintainers') |
| 66 |
66 |
</div> |
| 67 |
|
- |
|
98 |
+ |
| 68 |
68 |
</div> |
| 69 |
69 |
</div> |
| 70 |
70 |
#end |