styling updates
This commit is contained in:
@@ -2,29 +2,37 @@
|
||||
<p>No tasks were suggested.</p>
|
||||
{% else %}
|
||||
<h2>Suggested tasks</h2>
|
||||
|
||||
<ul class="suggested-tasks">
|
||||
{% for task in tasks %}
|
||||
<article>
|
||||
<h3>{{ task.title }}</h3>
|
||||
<ul>
|
||||
{% if task.description %}
|
||||
<li><p>{{ task.description }}</p></li>
|
||||
{% endif %}
|
||||
|
||||
<li>
|
||||
<dt>Duration</dt>
|
||||
<dd>{{ task.estimatedDurationMinutes }} minutes</dd>
|
||||
|
||||
<dt>Priority</dt>
|
||||
<dd>{{ task.priority }}</dd>
|
||||
|
||||
<dt>Category</dt>
|
||||
<dd>{{ task.category }}</dd>
|
||||
|
||||
<dt>Recurring</dt>
|
||||
<dd>{{ task.isRecurring ? 'Yes' : 'No' }}</dd>
|
||||
{{ dump(task|json_encode) }}
|
||||
<button><span class="material-symbols-outlined">menu</span></button>
|
||||
<article>
|
||||
<div class="summary">
|
||||
<h3>{{ task.title }}</h3>
|
||||
{% if task.description %}
|
||||
<p>{{ task.description }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="info">
|
||||
<ul>
|
||||
<li>
|
||||
<span>Duration</span> <span>{{ task.estimatedDurationMinutes }} minutes</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>Priority</span><span>{{ task.priority }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>Category</span><span>{{ task.category }}</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>Recurring</span><span>{{ task.isRecurring ? 'Yes' : 'No' }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</article>
|
||||
</li>
|
||||
</article>
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user