Skip to content

Commit 2fb24cc

Browse files
(De)list apps from homepage via application.yml
1 parent 81cc8f5 commit 2fb24cc

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

shinyproxy/application.yml.default

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,20 @@ proxy:
2828
container-volumes: [ "/srv/apps/psichomics/data:/root/Downloads" ]
2929
template-properties:
3030
startup-time: 20s
31+
listed: true
3132
- id: voyAGEr
3233
description: Analysis of age-related gene expression changes in human
3334
container-image: arthurschneider/voyager
3435
container-network: "${proxy.docker.container-network}"
3536
container-volumes: [ "/srv/apps/voyager/data:/home/app/data" ]
37+
template-properties:
38+
listed: true
3639
- id: scStudio_LiMM
3740
container-image: genomeptimm/scstudio:1.3
3841
container-network: "${proxy.docker.container-network}"
3942
container-volumes: [ "/srv/apps/scStudio_LiMM/datasets:/home/app/datasets" ]
43+
template-properties:
44+
listed: true
4045
- id: cTRAP
4146
description: Identifying candidate causal perturbations from differential gene expression data
4247
container-image: nunoagostinho/ctrap:1.12.0
@@ -45,6 +50,7 @@ proxy:
4550
container-volumes: [ "/srv/apps/cTRAP/sessions:/data" ]
4651
template-properties:
4752
startup-time: 15s
53+
listed: true
4854

4955
logging:
5056
file:

shinyproxy/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div class="row">
2828
<!--<div class="col-lg-3 col-md-4 col-sm-6" th:each="app: ${apps}" th:if="${ #lists.contains({'splicingSenescenceDashboard', 'betAS'}, app.id) }" style="min-height: 140px;">-->
2929
<!-- Temporary size -->
30-
<div class="col-lg-4 col-md-4 col-sm-4" th:each="app: ${apps}" th:if="${ !#lists.contains({'splicingSenescenceDashboard', 'betAS'}, app.id) }" style="min-height: 140px;">
30+
<div class="col-lg-4 col-md-4 col-sm-4" th:each="app: ${apps}" th:if="${@thymeleaf.getTemplateProperty(app.id, 'listed', 'false') == 'true'}" style="min-height: 140px;">
3131
<h1><a th:href="@{/app/}+${app.id}" th:text="${app.displayName == null} ? ${app.id} : ${app.displayName}"></a></h1>
3232
<p th:text="${app.description}" ></p>
3333
</div>

0 commit comments

Comments
 (0)