-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtodos.html
41 lines (41 loc) · 1.17 KB
/
todos.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
layout: default
---
<html>
<center>
<div class="txtArea">
<b>Tasks To-Do based on priority</b>
</div><br>
{% assign sortedPriority = site.tasks | sort: "priority" %}
{% for task in sortedPriority %}
{% if task.iscompleted == false %}
<button type="button" class="collapsible">{{ task.name }}</button>
<div class="content">
<div class="innerTxt">
{% if task.assign %}
{% assign assignment = task.assign | split: "," | join: ", " %}
<b>By: </b>{{ assignment }}
<hr/>
{% endif %}
{% if task.description %}
<b>Description:</b><br/>
{{ task.description }}
<hr/>
{% endif %}
{% if task.resources %}
<b>Resources: </b>
{% assign reso = task.resources | split: "," %}
<ul>
{% for res in reso %}
<li><a href = "{{ res }}" target="_blank">{{ res }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
<br/>
{% endif %}
{% endfor %}
</center>
</html>
<script src = "./assets/js/script.js">