forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist_webapps.php
More file actions
37 lines (34 loc) · 1.2 KB
/
list_webapps.php
File metadata and controls
37 lines (34 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!-- Begin toolbar -->
<div class="toolbar">
<div class="toolbar-inner">
<div class="toolbar-buttons">
<a class="button button-secondary button-back js-button-back" href="/edit/web/?domain=<?= htmlentities($v_domain) ?>">
<i class="fas fa-arrow-left icon-blue"></i><?= _("Back") ?>
</a>
</div>
</div>
</div>
<!-- End toolbar -->
<div class="container">
<div class="form-container form-container-wide">
<h1 class="u-mb20"><?= _("Quick Install App") ?></h1>
<?php show_alert_message($_SESSION); ?>
<div class="cards">
<!-- List available web apps -->
<?php foreach ($v_web_apps as $webapp): ?>
<div class="card <?= $webapp->isInstallable() ? "" : "disabled" ?>">
<div class="card-thumb">
<img src="/src/app/WebApp/Installers/<?= $webapp->name ?>/<?= $webapp->thumbnail ?>" alt="<?= $webapp->name ?>">
</div>
<div class="card-content">
<p class="card-title"><?= $webapp->name ?></p>
<p class="u-mb10"><?= _("Version") ?>: <?= $webapp->version ?></p>
<a class="button" href="/add/webapp/?app=<?= $webapp->name ?>&domain=<?= htmlentities($v_domain) ?>">
<?= _("Setup") ?>
</a>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</div>