90: Add device model in the title
This commit is contained in:
parent
b8946dfbde
commit
99eccc82aa
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
<title>{{ title }} - {{ object.type }}</title>
|
||||
<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">
|
||||
<style>
|
||||
|
@ -23,7 +23,7 @@
|
|||
flex-grow: 1;
|
||||
}
|
||||
.section-title {
|
||||
color: #7a9f4f; /* Darker green for h2 */
|
||||
color: #7a9f4f;
|
||||
border-bottom: 2px solid #9cc666;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 20px;
|
||||
|
@ -88,7 +88,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="container custom-container">
|
||||
<h1 class="text-center mb-4" style="color: #545f71;">{{ title }}</h1>
|
||||
<h1 class="text-center mb-4" style="color: #545f71;">{{ title }} - {{ object.type }}</h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
|
|
|
@ -103,7 +103,7 @@ class DetailsView(DashboardView, TemplateView):
|
|||
|
||||
class DeviceWebView(DashboardView, TemplateView):
|
||||
template_name = "device_web.html"
|
||||
title = _("Device Web")
|
||||
title = _("Device Website")
|
||||
breadcrumb = "Device / Web"
|
||||
model = Annotation
|
||||
|
||||
|
|
Loading…
Reference in New Issue