Prepare favApps loop (#1689)
This commit is contained in:
parent
7a284338be
commit
ad00102662
|
@ -27,6 +27,12 @@
|
|||
<span trspan="yourApps">Your applications</span>
|
||||
</span></a></li>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF NAME="favApps">
|
||||
<li class="nav-item"><a class="nav-link" href="#favApps"><span>
|
||||
<img src="<TMPL_VAR NAME="STATIC_PREFIX">common/icons/application_cascade.png" width="16" height="16" alt="favapps" />
|
||||
<span trspan="yourFavApps">Your favorites applications</span>
|
||||
</span></a></li>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF NAME="ChangePassword">
|
||||
<li class="nav-item"><a class="nav-link" href="#password"><span>
|
||||
<img src="<TMPL_VAR NAME="STATIC_PREFIX">common/icons/vcard_edit.png" width="16" height="16" alt="password" />
|
||||
|
@ -161,6 +167,68 @@
|
|||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<TMPL_LOOP NAME=favapps>
|
||||
|
||||
<!-- Application -->
|
||||
<div class="col-md-4">
|
||||
<div class="application <TMPL_VAR NAME="appid"> card">
|
||||
<a href="<TMPL_VAR NAME="appuri">" title="<TMPL_VAR NAME="appname">" >
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<!-- Logo (optional) -->
|
||||
<TMPL_IF NAME="applogo">
|
||||
<div class="col-3">
|
||||
<img src="<TMPL_VAR NAME="STATIC_PREFIX">common/apps/<TMPL_VAR NAME="applogo">"
|
||||
class="applogo <TMPL_VAR NAME="appid"> img-fluid"
|
||||
alt="<TMPL_VAR NAME="appname">" />
|
||||
</div>
|
||||
<div class="col-9">
|
||||
<TMPL_ELSE>
|
||||
<div class="col-12">
|
||||
</TMPL_IF>
|
||||
|
||||
<!-- Name and link (mandatory) -->
|
||||
<h5 class="appname <TMPL_VAR NAME="appid"> card-title">
|
||||
<TMPL_VAR NAME="appname">
|
||||
</h5>
|
||||
|
||||
<!-- Description (optional) -->
|
||||
<TMPL_IF NAME="appdesc">
|
||||
<p class="appdesc <TMPL_VAR NAME="appid"> card-subtitle mb-2 text-muted">
|
||||
<TMPL_VAR NAME="appdesc">
|
||||
</p>
|
||||
</TMPL_IF>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- End of applications loop -->
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<TMPL_IF NAME="ChangePassword">
|
||||
<div id="password">
|
||||
<div class="card border-secondary">
|
||||
|
|
Loading…
Reference in New Issue