This commit is contained in:
j3d1 2023-10-31 20:57:09 +01:00
parent e685f50a88
commit 79c5645150

View file

@ -4,28 +4,28 @@
<div class="container-fluid p-0"> <div class="container-fluid p-0">
<h1 class="h3 mb-3">Admin</h1> <h1 class="h3 mb-3">Admin</h1>
<div class="row"> <div class="row">
<div class="col-12 col-xl-6"> <div class="col-6 col-xl-3">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<h5 class="card-title">Tags</h5> <h5 class="card-title">Tags</h5>
</div> </div>
<div class="card-body"> <div class="card-body">
<ul> <ul>
<li v-for="tag in tags" :key="tag.id"> <li v-for="tag in tags.sort()" :key="tag.id">
{{ tag }} {{ tag }}
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<div class="col-12 col-xl-6"> <div class="col-6 col-xl-3">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<h5 class="card-title">Properties</h5> <h5 class="card-title">Properties</h5>
</div> </div>
<div class="card-body"> <div class="card-body">
<ul> <ul>
<li v-for="property in properties" :key="property.id"> <li v-for="property in properties.sort()" :key="property.id">
{{ property.name }} ({{ property.unit_name }}, {{ property.unit_symbol }}) {{ property.name }} ({{ property.unit_name }}, {{ property.unit_symbol }})
</li> </li>
</ul> </ul>
@ -37,7 +37,7 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<ul> <ul>
<li v-for="category in categories" :key="category.id"> <li v-for="category in categories.sort()" :key="category.id">
{{ category }} {{ category }}
</li> </li>
</ul> </ul>
@ -49,7 +49,7 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<ul> <ul>
<li v-for="domain in domains" :key="domain.id"> <li v-for="domain in domains.sort()" :key="domain.id">
{{ domain }} {{ domain }}
</li> </li>
</ul> </ul>
@ -61,7 +61,7 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<ul> <ul>
<li v-for="policy in availability_policies" :key="policy.id"> <li v-for="policy in availability_policies.sort()" :key="policy.id">
{{ policy }} {{ policy }}
</li> </li>
</ul> </ul>