minor changes on public link report
This commit is contained in:
parent
b99a332cd8
commit
38bd39dd9a
|
@ -10,16 +10,31 @@
|
|||
crossorigin="anonymous">
|
||||
<script src="https://use.fontawesome.com/7553aecc27.js"></script>
|
||||
<title>Devicehub | {{ device.__format__('t') }}</title>
|
||||
<style>
|
||||
/*Sticky footer*/
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-bottom: 60px; /* Margin bottom by footer height */
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 6em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-default" style="background-color: gainsboro; margin: 0 !important">
|
||||
<div class="container-fluid">
|
||||
<a href="https://www.usody.com/" target="_blank">
|
||||
<img alt="Brand"
|
||||
class="center-block"
|
||||
style="height: 4em; padding-bottom: 0.1em"
|
||||
src="{{ url_for('Device.static', filename='usody-logo-v4.svg') }}">
|
||||
<h1 align="center">Usody Public Link</h1>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -56,7 +71,7 @@
|
|||
CPU – {{ device.processor_model }}
|
||||
</td>
|
||||
<td>
|
||||
{% if device.rate %}
|
||||
Processor Rate = {% if device.rate %}
|
||||
{{ device.rate.processor_range }}
|
||||
({{ device.rate.processor }})
|
||||
{% endif %}
|
||||
|
@ -70,7 +85,7 @@
|
|||
{{ macros.component_type(device.components, 'RamModule') }}
|
||||
</td>
|
||||
<td>
|
||||
{% if device.rate %}
|
||||
RAM Rate = {% if device.rate %}
|
||||
{{ device.rate.ram_range }}
|
||||
({{ device.rate.ram }})
|
||||
{% endif %}
|
||||
|
@ -85,7 +100,7 @@
|
|||
{{ macros.component_type(device.components, 'HardDrive') }}
|
||||
</td>
|
||||
<td>
|
||||
{% if device.rate %}
|
||||
Data Storage Rate = {% if device.rate %}
|
||||
{{ device.rate.data_storage_range }}
|
||||
({{ device.rate.data_storage }})
|
||||
{% endif %}
|
||||
|
@ -190,5 +205,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="container-fluid footer">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
Page generated by:<br>
|
||||
<img style="height: 9em"
|
||||
src="{{ url_for('Device.static', filename='usody-logo-v4.svg') }}">
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Reference in New Issue