2018-11-11 12:41:48 +00:00
|
|
|
{% extends "overview/base.html" %}
|
|
|
|
|
2018-12-10 09:50:19 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
2018-12-14 14:18:02 +00:00
|
|
|
{% block head %}
|
|
|
|
{{ block.super }}
|
|
|
|
<style>
|
|
|
|
img.app-icon {
|
|
|
|
max-height: 72px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-11-11 12:41:48 +00:00
|
|
|
{% block content %}
|
2018-11-22 12:12:59 +00:00
|
|
|
<div class="container">
|
2018-11-11 12:41:48 +00:00
|
|
|
<div class="row row-cards-pf">
|
2018-12-10 09:50:19 +00:00
|
|
|
{% for app in applications %}
|
2018-11-11 12:41:48 +00:00
|
|
|
<!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-3">
|
|
|
|
<div class="card-pf card-pf-accented card-pf-aggregate-status">
|
|
|
|
<h2 class="card-pf-title">
|
2018-12-10 09:50:19 +00:00
|
|
|
<span class="fa fa-shield"></span> {{ app.name }}
|
2018-11-11 12:41:48 +00:00
|
|
|
</h2>
|
|
|
|
<div class="card-pf-body">
|
|
|
|
<p class="card-pf-aggregate-status-notifications">
|
2018-12-10 09:50:19 +00:00
|
|
|
<span class="card-pf-aggregate-status-notification">
|
|
|
|
<a href="{{ app.launch_url }}" class="add" data-toggle="tooltip" data-placement="top" title="{% trans 'Open App...' %}">
|
|
|
|
{% if not app.icon_url %}
|
|
|
|
<span class="pficon pficon-arrow"></span>
|
|
|
|
{% else %}
|
2018-12-14 14:18:02 +00:00
|
|
|
<img class="app-icon" src="{{ app.icon_url }}" alt="{% trans 'Application Icon' %}">
|
2018-12-10 09:50:19 +00:00
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</span>
|
2018-11-11 12:41:48 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-10 09:50:19 +00:00
|
|
|
{% endfor %}
|
2018-11-11 12:41:48 +00:00
|
|
|
</div><!-- /row -->
|
2018-11-22 12:12:59 +00:00
|
|
|
</div>
|
2018-12-10 09:50:19 +00:00
|
|
|
{% endblock %}
|