chore: styling and ios friendly

This commit is contained in:
Per Stark
2025-02-10 16:04:29 +01:00
parent 8551927c29
commit e4e6860ec8
8 changed files with 1126 additions and 14 deletions

View File

@@ -22,7 +22,6 @@
@apply font-satoshi;
}
*,
::after,
::before,

File diff suppressed because one or more lines are too long

1117
prompt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
<head>
<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, maximum-scale=1, viewport-fit=cover">
<title>{% block title %}Minne{% endblock %}</title>
<!-- <meta http-equiv="refresh" content="4"> -->

View File

@@ -1,6 +1,6 @@
{% block active_jobs_section %}
<ul id="active_jobs_section" class="list ">
<li class="py-4 text-center text-xs opacity-60 tracking-wide">Active Jobs</li>
<li class="py-4 text-center font-bold tracking-wide">Active Jobs</li>
{% for item in active_jobs %}
<li class="list-row">
<div class="bg-secondary rounded-box size-10 flex justify-center items-center text-secondary-content">
@@ -13,7 +13,7 @@
{% endif %}
</div>
<div>
<div class="uppercase">
<div class="[&:before]:content-['Status:_'] [&:before]:opacity-60">
{% if item.status.InProgress %}
In Progress, attempt {{item.status.InProgress.attempts}}
{% else %}
@@ -23,7 +23,7 @@
<div class="text-xs font-semibold opacity-60">
{{item.created_at|datetimeformat(format="short", tz=user.timezone)}} </div>
</div>
<p class="list-col-wrap text-xs [&:before]:content-['Content:_'] [&:before]:uppercase [&:before]:opacity-60">
<p class="list-col-wrap text-xs [&:before]:content-['Content:_'] [&:before]:opacity-60">
{% if item.content.Url %}
{{item.content.Url.url}}
{% elif item.content.File %}

View File

@@ -1,6 +1,6 @@
{% block latest_content_section %}
<ul id="latest_content_section" class="list">
<li class="py-4 text-center text-xs opacity-60 tracking-wide">Recently added content</li>
<li class="py-4 text-center font-bold tracking-wide">Recently added content</li>
{% for item in latest_text_contents %}
<li class="list-row">
<div class="bg-accent rounded-box size-10 flex justify-center items-center text-accent-content">

View File

@@ -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 %}

View File

@@ -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>