mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-30 14:22:00 +02:00
chore: styling and ios friendly
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4" id="entity_list">
|
||||
{% for entity in entities %}
|
||||
<div class="card min-w-72 bg-base-100 shadow-sm">
|
||||
<div class="card min-w-72 bg-base-100 shadow">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">{{entity.name}}
|
||||
<span class="badge badge-xs badge-primary">{{entity.entity_type}}</span>
|
||||
</h2>
|
||||
<p>{{entity.description}}</p>
|
||||
<div class="flex justify-between items-center">
|
||||
<p>{{entity.updated_at | datetimeformat(format="short", tz=user.timezeone)}}</p>
|
||||
<div>
|
||||
@@ -18,6 +17,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{entity.description}}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<div class="overflow-x-auto shadow rounded-box border border-base-content/5 bg-base-100 ">
|
||||
<div class="overflow-x-auto shadow rounded-box border border-base-content/5 bg-base-100">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Origin</th>
|
||||
<th>Target</th>
|
||||
<th>Type</th>
|
||||
@@ -12,8 +11,6 @@
|
||||
<tbody>
|
||||
{% for relationship in relationships %}
|
||||
<tr>
|
||||
<td>{{ loop.index }}</td>
|
||||
|
||||
<!-- Origin column -->
|
||||
<td>
|
||||
{% for entity in entities if entity.id == relationship.in %}
|
||||
@@ -51,7 +48,6 @@
|
||||
{% endfor %}
|
||||
<!-- New linking row -->
|
||||
<tr id="new_relationship">
|
||||
<td></td>
|
||||
<td>
|
||||
<select name="origin_id" class="select select-bordered w-full new_relationship_input">
|
||||
<option disabled selected>Select Origin</option>
|
||||
|
||||
Reference in New Issue
Block a user