Files
ops-Gazelle/templates/index/private-footer.twig

71 lines
3.0 KiB
Twig

</div>
<div id="footer">
{% if viewer.permitted('site_debug') %}
<div id="site_debug">
{% include 'debug/performance.twig' with {'list': debug.perfInfo} only %}
{% include 'debug/flag.twig' with {'list': debug.markList} only %}
{% include 'debug/error.twig' with {'list': debug.errorList} only %}
{% if pg %}
{% include 'debug/pg.twig' with {'pg': pg} only %}
{% endif %}
{% include 'debug/mysql.twig' with {
'list': db.queryList,
'elapsed': db.elapsed
} only
%}
{% if sphinxql %}
{% include 'debug/sphinxql.twig' with {'list': sphinxql.list, 'time': sphinxql.time} only %}
{% endif %}
{% include 'debug/cache.twig' with {'cache': cache} only %}
{% include 'debug/ocelot.twig' with {'list': tracker.requestList} %}
</div>
{% endif %}
{% if disclaimer %}
<br />
<div id="disclaimer_container" class="thin" style="width: 95%; text-align: justify; margin: 0px auto 20px auto;">
None of the files shown here are hosted on this server. The links are provided
solely by this site's users. These BitTorrent files are meant for the
distribution of backup files. By downloading the BitTorrent file, you are
claiming that you own the original file. The administrator of
({{ constant('SITE_URL') }}) holds NO RESPONSIBILITY if these files are misused
in any way and cannot be held responsible for what its users post, or any other
actions of it.</div>
{% endif %}
{% if last_active %}
<p><a href="user.php?action=sessions">
<span class="tooltip" title="Manage sessions">Last activity: {{ last_active.LastUpdate|time_diff }}</span>
<span class="tooltip" title="Manage sessions"> from {{ last_active.IP }}</span>
</a></p>
{% endif %}
<p>
<span class="footer-stats"><strong>Time:</strong> <span>{{ time_ms|number_format(5) }} ms</span></span>
<span class="footer-stats"><strong>Used:</strong> <span>{{ memory|octet_size }}</span></span>
<span class="footer-stats"><strong>Load:</strong> <span>{{ load.0|number_format(2) }} {{ load.1|number_format(2) }} {{ load.2|number_format(2) }}</span></span>
<span class="footer-stats"><strong>Date:</strong> <span id="site_date">{{ 'now'|date('Y-m-d') }}</span> <span id="site_time">{{ 'now'|date('H:i') }}</span></span>
</p>
<p>Site and design &copy; {{ launch }} {{ constant('SITE_NAME') }} | <a href='https://github.com/OPSnet/Gazelle'>Project Gazelle</a></p>
</div>
</div>
<div id="lightbox" class="lightbox hidden"></div>
<div id="curtain" class="curtain hidden"></div>
{% for alert in notification -%}
<span class="noty-notification" style="display: none;" data-noty-type="{{ alert.type }}" data-noty-id="noty-{{
loop.index }}" data-noty-importance="{{ alert.className }}" data-noty-url="{{ alert.notificationUrl }}">{{ alert.title }}</span>
{% endfor %}
<!-- Extra divs, for stylesheet developers to add imagery -->
<div id="extra1"><span></span></div>
<div id="extra2"><span></span></div>
<div id="extra3"><span></span></div>
<div id="extra4"><span></span></div>
<div id="extra5"><span></span></div>
<div id="extra6"><span></span></div>
{{ dom.emit|raw }}
{{ textarea_js|raw }}
</body>
</html>