Improve life calendar and add it to header
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
<h1 class="title">
|
||||
<a href="/stats">🗠</a>
|
||||
<a title="Life Calendar" href="/weeks">🕱</a>
|
||||
-
|
||||
<a title="Session Stats" href="/stats">🗠</a>
|
||||
-
|
||||
<a href="/">stl</a>
|
||||
-
|
||||
<a href="/history">🕮</a>
|
||||
<a title="Session List" href="/history">🕮</a>
|
||||
-
|
||||
<a title="Source Code" href="https://git.nubo.sh/hulthe/stl">🖹</a>
|
||||
</h1>
|
||||
|
||||
@ -5,7 +5,11 @@
|
||||
{{> header}}
|
||||
|
||||
<div class="life_calendar">
|
||||
{{#each weeks}}<p style="color: {{this.border_color}}{{#if this.fill_color}}; background-color: {{this.fill_color}}{{/if}}"></p>{{/each}}
|
||||
{{#each periods}}
|
||||
<span style="color: {{this.style.border}}{{#if this.style.fill}}; background-color: {{this.style.fill}}{{/if}}">
|
||||
{{#each weeks}}<p></p>{{/each}}
|
||||
</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="life_calendar_ticker">
|
||||
<h2>circa</h2>
|
||||
|
||||
Reference in New Issue
Block a user