2018-10-03 12:51:22 +00:00
|
|
|
|
{% import 'devices/macros.html' as macros %}
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
|
<link href="https://stackpath.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css"
|
|
|
|
|
rel="stylesheet"
|
|
|
|
|
integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT"
|
|
|
|
|
crossorigin="anonymous">
|
|
|
|
|
<title>Devicehub | {{ device.__format__('t') }}</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body class="container">
|
|
|
|
|
|
|
|
|
|
<div class="page-header">
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<h1>{{ device.__format__('t') }}<br>
|
2018-10-03 12:51:22 +00:00
|
|
|
|
<small>{{ device.__format__('s') }}</small>
|
|
|
|
|
</h1>
|
|
|
|
|
</div>
|
|
|
|
|
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<h2 class='text-center'>
|
|
|
|
|
This is your {{ device.t }}.
|
|
|
|
|
</h2>
|
|
|
|
|
|
2018-10-03 12:51:22 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<article class="col-md-6">
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<h3>You can verify the originality of your device.</h3>
|
|
|
|
|
<p>
|
|
|
|
|
If your device comes with the following tag
|
|
|
|
|
</p>
|
|
|
|
|
<img class="img-responsive center-block" style="width: 12em;"
|
|
|
|
|
src="{{ url_for('Device.static', filename='photochromic-alone.svg') }}">
|
|
|
|
|
<p>
|
|
|
|
|
It means it has been refurbished by an eReuse.org
|
|
|
|
|
certificated organization.
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
The tag is special –illuminate it with the torch of
|
|
|
|
|
your phone for 6 seconds and it will react like in
|
|
|
|
|
the following image:
|
|
|
|
|
</p>
|
|
|
|
|
<img class="img-responsive center-block" style="width: 30em;"
|
|
|
|
|
src="{{ url_for('Device.static', filename='photochromic-tag-web.svg') }}">
|
2018-10-03 12:51:22 +00:00
|
|
|
|
</article>
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<article class="col-md-6">
|
|
|
|
|
<h3>These are the specifications</h3>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
{% if device.trading %}
|
|
|
|
|
{{ device.trading.name }}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.trading and device.physical %}
|
|
|
|
|
and
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.phyisical %}
|
|
|
|
|
{{ device.physical.name }}
|
|
|
|
|
{% endif %}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<div class="table-responsive">
|
2018-10-16 09:13:21 +00:00
|
|
|
|
<table class="table table-striped">
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th></th>
|
|
|
|
|
<th>Range</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% if device.processor_model %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
CPU – {{ device.processor_model }}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>{{ device.rate.processor_range if device.rate }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.ram_size %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
RAM – {{ device.ram_size // 1000 }} GB
|
|
|
|
|
{{ macros.component_type(device.components, 'RamModule') }}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>{{ device.rate.ram_range if device.rate }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.data_storage_size %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
Data Storage – {{ device.data_storage_size // 1000 }} GB
|
|
|
|
|
{{ macros.component_type(device.components, 'SolidStateDrive') }}
|
|
|
|
|
{{ macros.component_type(device.components, 'HardDrive') }}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td>{{ device.rate.data_storage_range if device.rate }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.graphic_card_model %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
Graphics – {{ device.graphic_card_model }}
|
|
|
|
|
{{ macros.component_type(device.components, 'GraphicCard') }}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.network_speeds %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
Network –
|
|
|
|
|
{% if device.network_speeds[0] %}
|
|
|
|
|
Ethernet
|
|
|
|
|
{% if device.network_speeds[0] != None %}
|
|
|
|
|
max. {{ device.network_speeds[0] }} Mbps
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.network_speeds[0] and device.network_speeds[1] %}
|
|
|
|
|
+
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.network_speeds[1] %}
|
|
|
|
|
WiFi
|
|
|
|
|
{% if device.network_speeds[1] != None %}
|
|
|
|
|
max. {{ device.network_speeds[1] }} Mbps
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{{ macros.component_type(device.components, 'NetworkAdapter') }}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.rate %}
|
|
|
|
|
<tr class="active">
|
|
|
|
|
<td class="text-right">
|
|
|
|
|
Total rate
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ device.rate.rating_range }}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.rate and device.rate.price %}
|
|
|
|
|
<tr class="active">
|
|
|
|
|
<td class="text-right">
|
|
|
|
|
Algorithm price
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ device.rate.price }}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if device.price %}
|
|
|
|
|
<tr class="active">
|
|
|
|
|
<td class="text-right">
|
|
|
|
|
Actual price
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ device.price }}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<h3>This is the traceability log of your device</h3>
|
|
|
|
|
<div class="text-right">
|
2018-10-16 09:13:21 +00:00
|
|
|
|
<small>Latest one.</small>
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</div>
|
|
|
|
|
<ol>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
{% for event in device.events|reverse %}
|
2018-10-16 06:46:55 +00:00
|
|
|
|
<li>
|
|
|
|
|
<strong>
|
|
|
|
|
{{ event.type }}
|
|
|
|
|
</strong>
|
|
|
|
|
—
|
|
|
|
|
{{ event }}
|
|
|
|
|
<br>
|
|
|
|
|
<div class="text-muted">
|
|
|
|
|
<small>
|
|
|
|
|
{{ event._date_str }}
|
|
|
|
|
</small>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ol>
|
|
|
|
|
<div class="text-right">
|
2018-10-16 09:13:21 +00:00
|
|
|
|
<small>Oldest one.</small>
|
2018-10-16 06:46:55 +00:00
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
2018-10-16 09:13:21 +00:00
|
|
|
|
<a href="https://www.ereuse.org/">
|
|
|
|
|
<img class="img-responsive center-block" style="max-width: 30em;"
|
|
|
|
|
src="{{ url_for('Device.static', filename='ereuse-logo.svg') }}">
|
|
|
|
|
</a>
|
2018-10-03 12:51:22 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|