{% include 'header.html' %} {% import datetime %} {% import os %}
{% for machine in data %} {% if os.path.exists("/var/www/html/static/images/%s.png" % (machine['os'][0])) %} {% else %} {% end %} {% end %}
Auth Status OS Auth Info OS Details Model Ram Manufacturer Time Added Action
{% if machine['authorized'] == 'yes' %} {% elif machine['authorized'] != 'yes' %} {% end %}
{{ machine['os'][0] }}
{{ machine['os'][0] }}
ID: {{ machine['id'] }}
Key: {{ machine['api_key'] }}
OS: {{ machine['os'][0].capitalize() }}
Version: {{ machine['os'][1] }}
Code Name: {{ machine['os'][2].capitalize() }}
Client Version: {{ machine['client_version'] }}
{{ machine['Model'] }}
{{ machine['RAM'] }}
{{ machine['Manufacturer'] }}
Added: {{ datetime.datetime.fromtimestamp(machine['timestamp']).strftime('%Y-%m-%d %H:%M:%S') }}
Last: {{ machine['last'].strftime('%Y-%m-%d %H:%M:%S') }}