Fix title

This commit is contained in:
sergio_gimenez 2024-10-22 09:18:46 +02:00
parent a295896b33
commit 1ec7a69c06
1 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ title }} - {{ object.type }}</title> <title>{{ object.type }}</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" />
<style> <style>
@ -88,7 +88,7 @@
</head> </head>
<body> <body>
<div class="container custom-container"> <div class="container custom-container">
<h1 class="text-center mb-4" style="color: #545f71;">{{ title }} - {{ object.type }}</h1> <h1 class="text-center mb-4" style="color: #545f71;">{{ object.manufacturer }} {{ object.type }} {{ object.model }}</h1>
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
@ -105,10 +105,10 @@
</div> </div>
{% if object.is_websnapshot %} {% if object.is_websnapshot %}
{% for k, v in object.last_user_evidence %} {% for snapshot_key, snapshot_value in object.last_user_evidence %}
<div class="info-row row"> <div class="info-row row">
<div class="col-md-4 info-label">{{ k }}</div> <div class="col-md-4 info-label">{{ snapshot_key }}</div>
<div class="col-md-8 info-value">{{ v|default:'' }}</div> <div class="col-md-8 info-value">{{ snapshot_value|default:'' }}</div>
</div> </div>
{% endfor %} {% endfor %}
{% else %} {% else %}