table vs card for daily note
·
3 mins read
·
edit
There are two different way in butiran to archive information about daily activities. The first is using table and the second is using card, where for the later each activity has its own card, while for the former each activity is only as row in the table.
table
For the table the code is as follows.
{{< style class="table-0" >}}
id | activity | status | link | beg | and | doc
:-: | :- | :-: | :-: | :-: | :-: | :-:
01 | off wecker | 1 | - | 0600 | e0601 |
02 | hab breakfast with the cat | 1 | - | 0615 | e0630 |
03 | pre to work | 1 | - | 0640 | e0700 |
04 | hab trip to work | 1 | - | 0700 | e0800 |
05 | upd book energy | 1 | [26a46](/butiran/26a46/) | 0800 | e1200 | ✓
06 | hab lunch | 1 | - | 1200 | e1300 |
07 | con 002 zettel inc js hugo post | 1 | [26a93](/butiran/26a93/) | 1300 | e1400 | ✓
08 | fin 009 shortcode new loader | 1 | [26a95](/butiran/26a95/) | 1400 | e1530 | ✓
09 | pre to home | 1 | - | 1530 | e1600 |
10 | hab trip to home | 1 | - | 1600 | e1700 |
{{< /style >}}
And following is the result.
| id | activity | status | link | beg | and | doc |
|---|---|---|---|---|---|---|
| 01 | off wecker | 1 | - | 0600 | e0601 | |
| 02 | hab breakfast with the cat | 1 | - | 0615 | e0630 | |
| 03 | pre to work | 1 | - | 0640 | e0700 | |
| 04 | hab trip to work | 1 | - | 0700 | e0800 | |
| 05 | upd book energy | 1 | 26a46 | 0800 | e1200 | ✓ |
| 06 | hab lunch | 1 | - | 1200 | e1300 | |
| 07 | con 002 zettel inc js hugo post | 1 | 26a93 | 1300 | e1400 | ✓ |
| 08 | fin 009 shortcode new loader | 1 | 26a95 | 1400 | e1530 | ✓ |
| 09 | pre to home | 1 | - | 1530 | e1600 | |
| 10 | hab trip to home | 1 | - | 1600 | e1700 |
card
For the card the code is as follows.
{{< card/post
id="01"
title="off wecker"
beg="0600"
end="0601"
url=""
>}}
{{< card/post
id="02"
title="breakfast with the cat"
beg="0615"
end="0630"
url=""
>}}
{{< card/post
id="03"
title="preparation to work"
beg="0640"
end="0700"
url=""
>}}
{{< card/post
id="04"
title="trip to work"
beg="0700"
end="0800"
url=""
>}}
{{< card/post
id="05"
title="update book of energy"
beg="0800"
end="1200"
url="26a46"
>}}
{{< card/post
id="06"
title="having lunch"
beg="1200"
end="1300"
url=""
>}}
{{< card/post
id="07"
title="contine part 002 of zettel inc js hugo post"
beg="1300"
end="1400"
url="26a93"
>}}
{{< card/post
id="08"
title="finalize shortcode 009 new script loader"
beg="1400"
end="1530"
url="26a95"
>}}
{{< card/post
id="09"
title="preparation to home"
beg="1530"
end="1600"
url=""
>}}
{{< card/post
id="10"
title="trip to home"
beg="1600"
end="1700"
url=""
>}}
And following is the result.
01
off wecker
0600
0601
02
breakfast with the cat
0615
0630
03
preparation to work
0640
0700
04
trip to work
0700
0800
05
26a46
update book of energy
0800
1200
06
having lunch
1200
1300
07
26a93
contine part 002 of zettel inc js hugo post
1300
1400
08
26a95
finalize shortcode 009 new script loader
1400
1530
09
preparation to home
1530
1600
10
trip to home
1600
1700