mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-21 16:31:23 +02:00
chore: styling and ios friendly
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
@apply font-satoshi;
|
@apply font-satoshi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
*,
|
*,
|
||||||
::after,
|
::after,
|
||||||
::before,
|
::before,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<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>
|
<title>{% block title %}Minne{% endblock %}</title>
|
||||||
|
|
||||||
<!-- <meta http-equiv="refresh" content="4"> -->
|
<!-- <meta http-equiv="refresh" content="4"> -->
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% block active_jobs_section %}
|
{% block active_jobs_section %}
|
||||||
<ul id="active_jobs_section" class="list ">
|
<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 %}
|
{% for item in active_jobs %}
|
||||||
<li class="list-row">
|
<li class="list-row">
|
||||||
<div class="bg-secondary rounded-box size-10 flex justify-center items-center text-secondary-content">
|
<div class="bg-secondary rounded-box size-10 flex justify-center items-center text-secondary-content">
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="uppercase">
|
<div class="[&:before]:content-['Status:_'] [&:before]:opacity-60">
|
||||||
{% if item.status.InProgress %}
|
{% if item.status.InProgress %}
|
||||||
In Progress, attempt {{item.status.InProgress.attempts}}
|
In Progress, attempt {{item.status.InProgress.attempts}}
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
<div class="text-xs font-semibold opacity-60">
|
<div class="text-xs font-semibold opacity-60">
|
||||||
{{item.created_at|datetimeformat(format="short", tz=user.timezone)}} </div>
|
{{item.created_at|datetimeformat(format="short", tz=user.timezone)}} </div>
|
||||||
</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 %}
|
{% if item.content.Url %}
|
||||||
{{item.content.Url.url}}
|
{{item.content.Url.url}}
|
||||||
{% elif item.content.File %}
|
{% elif item.content.File %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% block latest_content_section %}
|
{% block latest_content_section %}
|
||||||
<ul id="latest_content_section" class="list">
|
<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 %}
|
{% for item in latest_text_contents %}
|
||||||
<li class="list-row">
|
<li class="list-row">
|
||||||
<div class="bg-accent rounded-box size-10 flex justify-center items-center text-accent-content">
|
<div class="bg-accent rounded-box size-10 flex justify-center items-center text-accent-content">
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4" id="entity_list">
|
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4" id="entity_list">
|
||||||
{% for entity in entities %}
|
{% 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">
|
<div class="card-body">
|
||||||
<h2 class="card-title">{{entity.name}}
|
<h2 class="card-title">{{entity.name}}
|
||||||
<span class="badge badge-xs badge-primary">{{entity.entity_type}}</span>
|
<span class="badge badge-xs badge-primary">{{entity.entity_type}}</span>
|
||||||
</h2>
|
</h2>
|
||||||
<p>{{entity.description}}</p>
|
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex justify-between items-center">
|
||||||
<p>{{entity.updated_at | datetimeformat(format="short", tz=user.timezeone)}}</p>
|
<p>{{entity.updated_at | datetimeformat(format="short", tz=user.timezeone)}}</p>
|
||||||
<div>
|
<div>
|
||||||
@@ -18,6 +17,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p>{{entity.description}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% 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">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Origin</th>
|
<th>Origin</th>
|
||||||
<th>Target</th>
|
<th>Target</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
@@ -12,8 +11,6 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for relationship in relationships %}
|
{% for relationship in relationships %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ loop.index }}</td>
|
|
||||||
|
|
||||||
<!-- Origin column -->
|
<!-- Origin column -->
|
||||||
<td>
|
<td>
|
||||||
{% for entity in entities if entity.id == relationship.in %}
|
{% for entity in entities if entity.id == relationship.in %}
|
||||||
@@ -51,7 +48,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
<!-- New linking row -->
|
<!-- New linking row -->
|
||||||
<tr id="new_relationship">
|
<tr id="new_relationship">
|
||||||
<td></td>
|
|
||||||
<td>
|
<td>
|
||||||
<select name="origin_id" class="select select-bordered w-full new_relationship_input">
|
<select name="origin_id" class="select select-bordered w-full new_relationship_input">
|
||||||
<option disabled selected>Select Origin</option>
|
<option disabled selected>Select Origin</option>
|
||||||
|
|||||||
Reference in New Issue
Block a user