1 {% extends "base.html" %}
5 <div class="col-12 col-md-6 col-lg-4 col-xl-3 mb-3">
6 <div class="card h-100">
7 <div class="card-header">
8 <h3 class="mt-2">{{lab.name}}</h3>
10 <ul class="list-group list-group-flush h-100">
11 <li class="list-group-item">name: {{lab.name}}</li>
12 <li class="list-group-item">description: {{lab.description}}</li>
13 <li class="list-group-item">location: {{lab.location}}</li>
14 {% if lab.status == 0 %}
15 <li class="list-group-item">status: Up</li>
16 {% elif lab.status == 100 %}
17 <li class="list-group-item">status: Down for Maintenance</li>
18 {% elif lab.status == 200 %}
19 <li class="list-group-item">status: Down</li>
22 <div class="card-footer">
23 <a class="btn btn-primary w-100" href="/lab/{{lab.name}}/">Details</a>