1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 12:04:15 +00:00
webvirtcloud/logs/templates/showlogs.html

55 lines
2.5 KiB
HTML
Raw Normal View History

2015-03-03 09:34:09 +00:00
{% extends "base.html" %}
{% load i18n %}
{% block title %}{% trans "Logs" %}{% endblock %}
{% block content %}
2015-03-05 09:55:15 +00:00
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">{% trans "Logs" %}</h1>
</div>
</div>
<!-- /.row -->
2015-03-03 09:34:09 +00:00
{% include 'errors_block.html' %}
2015-03-05 09:55:15 +00:00
<div class="row">
2015-03-16 14:51:51 +00:00
<div class="col-lg-12">
{% if not logs %}
<div class="col-lg-12">
<div class="alert alert-warning alert-dismissable">
2018-08-01 14:18:51 +00:00
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
2015-03-16 14:51:51 +00:00
<i class="fa fa-exclamation-triangle"></i> <strong>{% trans "Warning:" %}</strong> {% trans "You don't have any Logs" %}
</div>
</div>
{% else %}
{% include "paging.html" %}
2015-03-16 14:51:51 +00:00
<div class="table-responsive">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>#</th>
<th>{% trans "Date" %}</th>
2015-03-16 14:51:51 +00:00
<th>{% trans "User" %}</th>
<th>{% trans "Instance" %}</th>
<th>{% trans "Message" %}</th>
</tr>
</thead>
<tbody>
{% for log in logs %}
<tr>
<td>{{ log.id }}</td>
<td style="width:130px;">{{ log.date|date:"M d H:i:s" }}</td>
2015-05-18 19:00:30 +00:00
<td>{{ log.user }}</a></td>
<td>{{ log.instance }}</a></td>
2015-03-16 14:51:51 +00:00
<td>{{ log.message }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% include "paging.html" %}
2015-03-16 14:51:51 +00:00
{% endif %}
</div>
2015-03-05 09:55:15 +00:00
</div>
{% endblock %}